Home
last modified time | relevance | path

Searched refs:cache_validity (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.10/fs/nfs/
Dinode.c169 unsigned long cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs_check_cache_invalid_delegated() local
173 !(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() local
182 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 …]
Dnfstrace.h137 __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),
Dnfs42xattr.c357 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()
Ddelegation.h88 !(NFS_I(inode)->cache_validity & NFS_INO_REVAL_FORCED); in nfs_have_delegated_attributes()
Dnfs4proc.c290 unsigned long cache_validity; in nfs4_bitmap_copy_adjust() local
296 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() argument
1192 nfsi->cache_validity |= NFS_INO_INVALID_CTIME in nfs4_update_changeattr_locked()
[all …]
Ddir.c84 (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()
Dwrite.c292 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()
Dunlink.c503 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_CHANGE in nfs_sillyrename()
Ddelegation.c493 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()
Dnfs4_fs.h330 unsigned long cache_validity);
Dinternal.h339 nfsi->cache_validity |= NFS_INO_INVALID_LABEL; in nfs_zap_label_cache_locked()
Dnfs42proc.c360 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()
Dnfs3proc.c149 if (NFS_I(inode)->cache_validity & NFS_INO_INVALID_ACL) in nfs3_proc_setattr()
/Linux-v5.10/fs/9p/
Dvfs_dentry.c76 if (v9inode->cache_validity & V9FS_INO_INVALID_ATTR) { in v9fs_lookup_revalidate()
Dv9fs_vfs.h71 v9inode->cache_validity |= V9FS_INO_INVALID_ATTR; in v9fs_invalidate_inode_attr()
Dv9fs.h116 unsigned int cache_validity; member
Dvfs_inode.c234 v9inode->cache_validity = 0; in v9fs_alloc_inode()
1155 v9inode->cache_validity &= ~V9FS_INO_INVALID_ATTR; in v9fs_stat2inode()
Dvfs_inode_dotl.c669 v9inode->cache_validity &= ~V9FS_INO_INVALID_ATTR; in v9fs_stat2inode_dotl()
/Linux-v5.10/include/linux/
Dnfs_fs.h125 unsigned long cache_validity; /* bit mask */ member
336 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()