Searched refs:cache_validity (Results 1 – 19 of 19) sorted by relevance
169 unsigned long cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs_check_cache_invalid_delegated() local173 !(cache_validity & NFS_INO_REVAL_FORCED)) in nfs_check_cache_invalid_delegated()175 return (cache_validity & flags) != 0; in nfs_check_cache_invalid_delegated()180 unsigned long cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs_check_cache_invalid_not_delegated() local182 if ((cache_validity & flags) != 0) in nfs_check_cache_invalid_not_delegated()214 nfsi->cache_validity |= flags; in nfs_set_cache_invalid()273 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_ACL; in nfs_zap_acl_cache()349 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_LABEL; in nfs_clear_label_invalid()471 nfsi->cache_validity = 0; in nfs_fhget()560 if (nfsi->cache_validity != 0) in nfs_fhget()[all …]
137 __field(unsigned long, cache_validity)150 __entry->cache_validity = nfsi->cache_validity;165 __entry->cache_validity,166 nfs_show_cache_validity(__entry->cache_validity),223 __field(unsigned long, cache_validity)238 __entry->cache_validity = nfsi->cache_validity;256 __entry->cache_validity,257 nfs_show_cache_validity(__entry->cache_validity),
357 nfsi->cache_validity &= ~NFS_INO_INVALID_XATTR; in nfs4_xattr_cache_unlink()438 if (nfsi->cache_validity & NFS_INO_INVALID_XATTR) in nfs4_xattr_get_cache()456 if (nfsi->cache_validity & NFS_INO_INVALID_XATTR) { in nfs4_xattr_get_cache()849 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_XATTR; in cache_lru_isolate()
88 !(NFS_I(inode)->cache_validity & NFS_INO_REVAL_FORCED); in nfs_have_delegated_attributes()
290 unsigned long cache_validity; in nfs4_bitmap_copy_adjust() local296 cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs4_bitmap_copy_adjust()297 if (!(cache_validity & NFS_INO_REVAL_FORCED)) in nfs4_bitmap_copy_adjust()298 cache_validity &= ~(NFS_INO_INVALID_CHANGE in nfs4_bitmap_copy_adjust()301 if (!(cache_validity & NFS_INO_INVALID_SIZE)) in nfs4_bitmap_copy_adjust()304 if (!(cache_validity & NFS_INO_INVALID_CHANGE)) in nfs4_bitmap_copy_adjust()1174 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_OTHER; in nfs4_inc_nlink_locked()1181 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_OTHER; in nfs4_dec_nlink_locked()1188 unsigned long timestamp, unsigned long cache_validity) in nfs4_update_changeattr_locked() argument1192 nfsi->cache_validity |= NFS_INO_INVALID_CTIME in nfs4_update_changeattr_locked()[all …]
84 (nfsi->cache_validity & NFS_INO_DATA_INVAL_DEFER)) in alloc_nfs_open_dir_context()85 nfsi->cache_validity |= NFS_INO_INVALID_DATA | in alloc_nfs_open_dir_context()287 if (nfsi->cache_validity & (NFS_INO_INVALID_ATTR|NFS_INO_INVALID_DATA)) in nfs_readdir_inode_mapping_valid()1495 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_CHANGE in nfs_drop_nlink()1510 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_DATA; in nfs_dentry_iput()2274 NFS_I(old_inode)->cache_validity |= NFS_INO_INVALID_CHANGE in nfs_rename()2420 nfsi->cache_validity &= ~NFS_INO_INVALID_ACCESS; in __nfs_access_zap_cache()2470 if (nfsi->cache_validity & NFS_INO_INVALID_ACCESS) in nfs_access_get_cached_locked()2515 if (nfsi->cache_validity & NFS_INO_INVALID_ACCESS) in nfs_access_get_cached_rcu()
292 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_SIZE; in nfs_grow_file()306 NFS_I(inode)->cache_validity |= NFS_INO_REVAL_FORCED | in nfs_set_pageerror()1287 if (nfsi->cache_validity & NFS_INO_REVAL_PAGECACHE) in nfs_write_pageuptodate()1293 if (nfsi->cache_validity & NFS_INO_INVALID_DATA) in nfs_write_pageuptodate()1596 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_OTHER; in nfs_writeback_done()
503 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_CHANGE in nfs_sillyrename()
493 if (NFS_I(inode)->cache_validity & (NFS_INO_INVALID_ATTR|NFS_INO_INVALID_ATIME)) in nfs_inode_set_delegation()494 NFS_I(inode)->cache_validity |= NFS_INO_REVAL_FORCED; in nfs_inode_set_delegation()
330 unsigned long cache_validity);
339 nfsi->cache_validity |= NFS_INO_INVALID_LABEL; in nfs_zap_label_cache_locked()
360 NFS_I(dst_inode)->cache_validity |= (NFS_INO_REVAL_PAGECACHE | in _nfs42_proc_copy()365 NFS_I(src_inode)->cache_validity |= (NFS_INO_REVAL_PAGECACHE | in _nfs42_proc_copy()
149 if (NFS_I(inode)->cache_validity & NFS_INO_INVALID_ACL) in nfs3_proc_setattr()
76 if (v9inode->cache_validity & V9FS_INO_INVALID_ATTR) { in v9fs_lookup_revalidate()
71 v9inode->cache_validity |= V9FS_INO_INVALID_ATTR; in v9fs_invalidate_inode_attr()
116 unsigned int cache_validity; member
234 v9inode->cache_validity = 0; in v9fs_alloc_inode()1155 v9inode->cache_validity &= ~V9FS_INO_INVALID_ATTR; in v9fs_stat2inode()
669 v9inode->cache_validity &= ~V9FS_INO_INVALID_ATTR; in v9fs_stat2inode_dotl()
125 unsigned long cache_validity; /* bit mask */ member336 nfsi->cache_validity |= NFS_INO_REVAL_PAGECACHE in nfs_mark_for_revalidate()342 nfsi->cache_validity |= NFS_INO_INVALID_DATA; in nfs_mark_for_revalidate()