Home
last modified time | relevance | path

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

/fs/fscache/
Dinternal.h49 enum fscache_cache_state old_state, in fscache_set_cache_state_maybe() argument
52 return try_cmpxchg_release(&cache->state, &old_state, new_state); in fscache_set_cache_state_maybe()
/fs/hfsplus/
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/
Dinode.c764 unsigned long old_state; in ext4_update_bh_state() local
780 old_state = READ_ONCE(bh->b_state); in ext4_update_bh_state()
781 new_state = (old_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state()
783 cmpxchg(&bh->b_state, old_state, new_state) != old_state)); in ext4_update_bh_state()
/fs/smb/client/
Dsmb2ops.c4101 unsigned int old_state = cinode->oplock; in smb3_downgrade_oplock() local
4113 if ((old_state & CIFS_CACHE_READ_FLG) != 0 && in smb3_downgrade_oplock()
4116 else if (old_state == new_state && (epoch - old_epoch > 1)) in smb3_downgrade_oplock()