inode_state_read
if (inode_state_read(inode) & (I_FREEING | I_WILL_FREE | I_NEW) ||
while (inode_state_read(inode) & I_DIRTY) {
if (inode_state_read(inode) & (I_FREEING | I_WILL_FREE | I_NEW)) {
if (inode_state_read(inode) & I_DIRTY_ALL)
if (likely(!(inode_state_read(inode) & I_FREEING) && !hlist_empty(l))) {
WARN_ON(!(inode_state_read(inode) & I_NEW));
if ((inode_state_read(inode) & (I_FREEING | I_WILL_FREE | I_NEW)) ||
if ((!inode_unhashed(inode) && inode_state_read(inode) & I_SYNC)) {
WARN_ON_ONCE(inode_state_read(inode) & I_FREEING);
WARN_ON_ONCE(inode_state_read(inode) & I_FREEING);
if (inode_state_read(inode) & I_FREEING) {
if (!(inode_state_read(inode) & I_SYNC))
if (!(inode_state_read(inode) & I_SYNC))
sleep = !!(inode_state_read(inode) & I_SYNC);
if (inode_state_read(inode) & I_FREEING)
if ((inode_state_read(inode) & I_DIRTY) &&
if (inode_state_read(inode) & I_DIRTY_ALL)
} else if (inode_state_read(inode) & I_DIRTY) {
} else if (inode_state_read(inode) & I_DIRTY_TIME) {
if (!(inode_state_read(inode) & I_DIRTY_TIME)) {
dirty = inode_state_read(inode) & I_DIRTY;
else if (unlikely(inode_state_read(inode) & I_PINNING_NETFS_WB)) {
if (!(inode_state_read(inode) & I_DIRTY_PAGES)) {
WARN_ON(!(inode_state_read(inode) & (I_WILL_FREE | I_FREEING)));
WARN_ON(inode_state_read(inode) & I_WILL_FREE);
if (inode_state_read(inode) & I_SYNC) {
WARN_ON(inode_state_read(inode) & I_SYNC);
if (!(inode_state_read(inode) & I_DIRTY_ALL) &&
if (!(inode_state_read(inode) & I_FREEING)) {
if (!(inode_state_read(inode) & I_DIRTY_ALL))
else if (!(inode_state_read(inode) & I_SYNC_QUEUED)) {
if ((inode_state_read(inode) & I_DIRTY))
else if (inode_state_read(inode) & I_DIRTY_TIME) {
if (inode_state_read(inode) & (I_NEW | I_FREEING | I_WILL_FREE)) {
if ((inode_state_read(inode) & I_SYNC) && wbc.sync_mode != WB_SYNC_ALL) {
if (inode_state_read(inode) & I_SYNC) {
if (!(inode_state_read(inode) & I_DIRTY_ALL))
if (inode_state_read(inode) & I_DIRTY_TIME) {
if ((inode_state_read(inode) & flags) != flags) {
const int was_dirty = inode_state_read(inode) & I_DIRTY;
if (inode_state_read(inode) & I_SYNC_QUEUED)
if (inode_state_read(inode) & I_FREEING)
if (inode_state_read(inode) & I_DIRTY)
if (inode_state_read(inode) & (I_FREEING | I_WILL_FREE | I_NEW)) {
WARN_ON_ONCE(inode_state_read(inode) & I_FREEING);
if (unlikely(inode_state_read(inode) & (I_FREEING | I_WILL_FREE)))
if (inode_state_read(inode) & I_DIRTY_ALL) {
inode_state_read(inode) & (I_WB_SWITCH | I_FREEING | I_WILL_FREE) ||
if ((inode_state_read(inode) & (I_FREEING | I_WILL_FREE | I_NEW)) &&
WARN_ON(inode_state_read(inode) & I_NEW);
if (inode_state_read(inode) & (I_FREEING | I_WILL_FREE)) {
if (unlikely(inode_state_read(inode) & I_CREATING)) {
*isnew = !!(inode_state_read(inode) & I_NEW);
if (inode_state_read(inode) & (I_FREEING | I_WILL_FREE)) {
if (unlikely(inode_state_read(inode) & I_CREATING)) {
*isnew = !!(inode_state_read(inode) & I_NEW);
WARN_ON(!(inode_state_read(inode) & I_NEW));
WARN_ON(!(inode_state_read(inode) & I_NEW));
if (!(inode_state_read(inode) & (I_FREEING | I_WILL_FREE))) {
if (inode_state_read(old) & (I_FREEING | I_WILL_FREE)) {
if (unlikely(inode_state_read(old) & I_CREATING)) {
isnew = !!(inode_state_read(old) & I_NEW);
WARN_ON(inode_state_read(inode) & I_NEW);
!(inode_state_read(inode) & I_DONTCACHE) &&
WARN_ON(inode_state_read(inode) & I_NEW);
if (unlikely((inode_state_read(inode) & I_DIRTY_TIME) && inode->i_nlink)) {
if (!(inode_state_read(inode) & I_NEW)) {
if (!(inode_state_read(inode) & I_NEW))
WARN_ON(inode_state_read(inode) & I_NEW);
if (inode_state_read(inode) & (I_DIRTY_ALL | I_SYNC | I_FREEING | I_WILL_FREE))
WARN_ON(inode_state_read(inode) & (I_LRU_ISOLATING | I_FREEING | I_WILL_FREE));
WARN_ON(!(inode_state_read(inode) & I_LRU_ISOLATING));
if (!(inode_state_read(inode) & I_LRU_ISOLATING))
if (!(inode_state_read(inode) & I_LRU_ISOLATING))
WARN_ON(inode_state_read(inode) & I_LRU_ISOLATING);
if (inode_state_read(inode) & (I_NEW | I_FREEING | I_WILL_FREE)) {
(inode_state_read(inode) & ~I_REFERENCED) ||
if (inode_state_read(inode) & I_REFERENCED) {
if (!(inode_state_read(inode) & I_PINNING_NETFS_WB)) {
if (!(inode_state_read(inode) & I_PINNING_NETFS_WB)) {
if (inode_state_read(inode) & (I_FREEING | I_CLEAR))
!(inode_state_read(inode) & (I_FREEING | I_WILL_FREE)))) {
orangefs_inode->attr_valid || inode_state_read(inode) & I_DIRTY_PAGES) {
orangefs_inode->attr_valid || inode_state_read(inode) & I_DIRTY_PAGES) {
if (inode_state_read(inode) & I_DIRTY_PAGES) {
if (!(inode_state_read(inode) & I_OVL_INUSE)) {
WARN_ON(!(inode_state_read(inode) & I_OVL_INUSE));
inuse = (inode_state_read(inode) & I_OVL_INUSE);
if ((inode_state_read(inode) & (I_FREEING | I_WILL_FREE | I_NEW)) ||
if ((inode_state_read(inode) & I_NEW) ||
if (inode_state_read(inode) &