Home
last modified time | relevance | path

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

/Linux-v5.4/fs/nfs/
Dinode.c170 unsigned long cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs_check_cache_invalid_delegated() local
174 !(cache_validity & NFS_INO_REVAL_FORCED)) in nfs_check_cache_invalid_delegated()
176 return (cache_validity & flags) != 0; in nfs_check_cache_invalid_delegated()
181 unsigned long cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs_check_cache_invalid_not_delegated() local
183 if ((cache_validity & flags) != 0) in nfs_check_cache_invalid_not_delegated()
213 nfsi->cache_validity |= flags; in nfs_set_cache_invalid()
270 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_ACL; in nfs_zap_acl_cache()
338 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_LABEL; in nfs_clear_label_invalid()
460 nfsi->cache_validity = 0; in nfs_fhget()
547 if (nfsi->cache_validity != 0) in nfs_fhget()
[all …]
Ddelegation.h85 !(NFS_I(inode)->cache_validity & NFS_INO_REVAL_FORCED); in nfs_have_delegated_attributes()
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()
256 if (nfsi->cache_validity & (NFS_INO_INVALID_ATTR|NFS_INO_INVALID_DATA)) in nfs_readdir_inode_mapping_valid()
1333 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_CHANGE in nfs_drop_nlink()
1348 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_DATA; in nfs_dentry_iput()
2110 NFS_I(old_inode)->cache_validity |= NFS_INO_INVALID_CHANGE in nfs_rename()
2256 nfsi->cache_validity &= ~NFS_INO_INVALID_ACCESS; in __nfs_access_zap_cache()
2306 if (nfsi->cache_validity & NFS_INO_INVALID_ACCESS) in nfs_access_get_cached()
2351 if (nfsi->cache_validity & NFS_INO_INVALID_ACCESS) in nfs_access_get_cached_rcu()
Dnfstrace.h136 __field(unsigned long, cache_validity)
149 __entry->cache_validity = nfsi->cache_validity;
164 __entry->cache_validity,
165 nfs_show_cache_validity(__entry->cache_validity),
Dwrite.c237 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_SIZE; in nfs_grow_file()
1288 if (nfsi->cache_validity & NFS_INO_REVAL_PAGECACHE) in nfs_write_pageuptodate()
1294 if (nfsi->cache_validity & NFS_INO_INVALID_DATA) in nfs_write_pageuptodate()
1599 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_OTHER; in nfs_writeback_done()
Dnfs4proc.c281 unsigned long cache_validity; in nfs4_bitmap_copy_adjust() local
287 cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs4_bitmap_copy_adjust()
288 if (!(cache_validity & NFS_INO_REVAL_FORCED)) in nfs4_bitmap_copy_adjust()
289 cache_validity &= ~(NFS_INO_INVALID_CHANGE in nfs4_bitmap_copy_adjust()
292 if (!(cache_validity & NFS_INO_INVALID_SIZE)) in nfs4_bitmap_copy_adjust()
295 if (!(cache_validity & NFS_INO_INVALID_CHANGE)) in nfs4_bitmap_copy_adjust()
1126 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_OTHER; in nfs4_inc_nlink_locked()
1133 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_OTHER; in nfs4_dec_nlink_locked()
1139 unsigned long timestamp, unsigned long cache_validity) in update_changeattr_locked() argument
1143 nfsi->cache_validity |= NFS_INO_INVALID_CTIME in update_changeattr_locked()
[all …]
Dunlink.c503 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_CHANGE in nfs_sillyrename()
Ddelegation.c420 if (NFS_I(inode)->cache_validity & (NFS_INO_INVALID_ATTR|NFS_INO_INVALID_ATIME)) in nfs_inode_set_delegation()
421 NFS_I(inode)->cache_validity |= NFS_INO_REVAL_FORCED; in nfs_inode_set_delegation()
Dinternal.h326 nfsi->cache_validity |= NFS_INO_INVALID_LABEL; in nfs_zap_label_cache_locked()
Dnfs3proc.c143 if (NFS_I(inode)->cache_validity & NFS_INO_INVALID_ACL) in nfs3_proc_setattr()
/Linux-v5.4/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.c235 v9inode->cache_validity = 0; in v9fs_alloc_inode()
1204 v9inode->cache_validity &= ~V9FS_INO_INVALID_ATTR; in v9fs_stat2inode()
Dvfs_inode_dotl.c664 v9inode->cache_validity &= ~V9FS_INO_INVALID_ATTR; in v9fs_stat2inode_dotl()
/Linux-v5.4/include/linux/
Dnfs_fs.h123 unsigned long cache_validity; /* bit mask */ member
320 nfsi->cache_validity |= NFS_INO_REVAL_PAGECACHE in nfs_mark_for_revalidate()
326 nfsi->cache_validity |= NFS_INO_INVALID_DATA; in nfs_mark_for_revalidate()