Home
last modified time | relevance | path

Searched refs:old_state (Results 1 – 4 of 4) sorted by relevance

/fs/netfs/
A Dinternal.h330 enum fscache_cache_state old_state, in fscache_set_cache_state_maybe() argument
333 return try_cmpxchg_release(&cache->state, &old_state, new_state); in fscache_set_cache_state_maybe()
/fs/hfsplus/
A Dxattr.c133 int old_state = HFSPLUS_EMPTY_ATTR_TREE; in hfsplus_create_attributes_file() local
140 if (old_state != atomic_cmpxchg(&sbi->attr_tree_state, in hfsplus_create_attributes_file()
141 old_state, in hfsplus_create_attributes_file()
/fs/ext4/
A Dinode.c857 unsigned long old_state; in ext4_update_bh_state() local
872 old_state = READ_ONCE(bh->b_state); in ext4_update_bh_state()
874 new_state = (old_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state()
875 } while (unlikely(!try_cmpxchg(&bh->b_state, &old_state, new_state))); in ext4_update_bh_state()
/fs/smb/client/
A Dsmb2ops.c3943 unsigned int old_state = cinode->oplock; in smb3_downgrade_oplock() local
3955 if ((old_state & CIFS_CACHE_READ_FLG) != 0 && in smb3_downgrade_oplock()
3958 else if (old_state == new_state && (epoch - old_epoch > 1)) in smb3_downgrade_oplock()

Completed in 26 milliseconds