Searched refs:old_state (Results 1 – 4 of 4) sorted by relevance
49 enum fscache_cache_state old_state, in fscache_set_cache_state_maybe() argument52 return try_cmpxchg_release(&cache->state, &old_state, new_state); in fscache_set_cache_state_maybe()
133 int old_state = HFSPLUS_EMPTY_ATTR_TREE; in hfsplus_create_attributes_file() local140 if (old_state != atomic_cmpxchg(&sbi->attr_tree_state, in hfsplus_create_attributes_file()141 old_state, in hfsplus_create_attributes_file()
764 unsigned long old_state; in ext4_update_bh_state() local780 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()
4101 unsigned int old_state = cinode->oplock; in smb3_downgrade_oplock() local4113 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()