/linux-4.19.296/fs/nfs/ |
D | delegation.c | 61 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_get_valid_delegation() 75 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_do_check_delegation() 141 struct nfs_inode *nfsi = NFS_I(inode); in nfs_delegation_claim_opens() 199 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs_inode_reclaim_delegation() 324 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_detach_delegation() 362 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_set_delegation() 420 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() 438 struct nfs_inode *nfsi = NFS_I(inode); in nfs_end_delegation_return() 481 if (inode && list_empty(&NFS_I(inode)->open_files)) in nfs_delegation_need_return() [all …]
|
D | io.c | 45 struct nfs_inode *nfsi = NFS_I(inode); in nfs_start_io_read() 81 nfs_block_o_direct(NFS_I(inode), inode); in nfs_start_io_write() 125 struct nfs_inode *nfsi = NFS_I(inode); in nfs_start_io_direct()
|
D | fscache.h | 138 if (NFS_I(inode)->fscache) in nfs_readpage_from_fscache() 152 if (NFS_I(inode)->fscache) in nfs_readpages_from_fscache() 175 fscache_invalidate(NFS_I(inode)->fscache); in nfs_fscache_invalidate() 183 fscache_wait_on_invalidate(NFS_I(inode)->fscache); in nfs_fscache_wait_on_invalidate()
|
D | inode.c | 123 WARN_ON_ONCE(!list_empty(&NFS_I(inode)->open_files)); in nfs_clear_inode() 160 struct nfs_inode *nfsi = NFS_I(inode); in nfs_attribute_timeout() 167 unsigned long cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs_check_cache_invalid_delegated() 178 unsigned long cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs_check_cache_invalid_not_delegated() 197 struct nfs_inode *nfsi = NFS_I(inode); in nfs_set_cache_invalid() 220 struct nfs_inode *nfsi = NFS_I(inode); in nfs_zap_caches_locked() 228 memset(NFS_I(inode)->cookieverf, 0, sizeof(NFS_I(inode)->cookieverf)); in nfs_zap_caches_locked() 267 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_ACL; in nfs_zap_acl_cache() 286 set_bit(NFS_INO_STALE, &NFS_I(inode)->flags); in nfs_invalidate_inode() 335 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_LABEL; in nfs_clear_label_invalid() [all …]
|
D | pnfs_nfs.c | 98 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_scan_ds_commit_list() 121 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_scan_commit_lists() 141 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_recover_commit_reqs() 167 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit() 177 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit() 180 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit() 182 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit() 222 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_fetch_commit_bucket_list() 228 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_fetch_commit_bucket_list() 929 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit() [all …]
|
D | dir.c | 72 struct nfs_inode *nfsi = NFS_I(dir); in alloc_nfs_open_dir_context() 283 struct nfs_inode *nfsi = NFS_I(file_inode(desc->file)); in nfs_readdir_search_for_cookie() 362 clear_bit(NFS_INO_ADVISE_RDPLUS, &NFS_I(inode)->flags); in nfs_readdir_xdr_filler() 403 nfsi = NFS_I(inode); in nfs_same_file() 416 if (test_and_clear_bit(NFS_INO_ADVISE_RDPLUS, &NFS_I(dir)->flags)) in nfs_use_readdirplus() 430 struct nfs_inode *nfsi = NFS_I(dir); in nfs_advise_use_readdirplus() 447 struct nfs_inode *nfsi = NFS_I(dir); in nfs_force_use_readdirplus() 900 clear_bit(NFS_INO_ADVISE_RDPLUS, &NFS_I(inode)->flags); in nfs_readdir() 987 NFS_I(dir)->cache_change_attribute++; in nfs_force_lookup_revalidate() 1355 NFS_I(inode)->attr_gencount = nfs_inc_attr_generation_counter(); in nfs_drop_nlink() [all …]
|
D | unlink.c | 68 up_read_non_owner(&NFS_I(d_inode(dentry->d_parent))->rmdir_sem); in nfs_async_unlink_release() 121 down_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink() 124 up_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink() 146 up_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink() 516 NFS_I(inode)->attr_gencount = nfs_inc_attr_generation_counter(); in nfs_sillyrename() 517 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_CHANGE in nfs_sillyrename()
|
D | fscache.c | 254 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fscache_init_inode() 275 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fscache_clear_inode() 314 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fscache_open_file() 332 set_bit(NFS_INO_FSCACHE, &NFS_I(inode)->flags); in nfs_fscache_open_file() 349 cookie, page, NFS_I(page->mapping->host)); in nfs_fscache_release_page() 372 cookie, page, NFS_I(inode)); in __nfs_fscache_invalidate_page()
|
D | write.c | 186 struct nfs_inode *nfsi = NFS_I(inode); in nfs_page_find_swap_request() 234 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_SIZE; in nfs_grow_file() 248 NFS_I(inode)->cache_validity |= NFS_INO_REVAL_FORCED | in nfs_set_pageerror() 445 atomic_long_dec(&NFS_I(inode)->nrequests); in nfs_destroy_unlinked_subrequests() 577 atomic_long_inc(&NFS_I(inode)->nrequests); in nfs_lock_and_join_requests() 761 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_add_request() 798 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_remove_request() 897 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list() 899 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list() 931 cinfo->mds = &NFS_I(inode)->commit_info; in nfs_init_cinfo_from_inode() [all …]
|
D | pnfs.c | 296 struct nfs_inode *nfsi = NFS_I(lo->plh_inode); in pnfs_detach_layout_hdr() 395 lo = NFS_I(inode)->layout; in nfs4_layoutreturn_refresh_stateid() 786 lo = NFS_I(inode)->layout; in pnfs_layout_add_bulk_destroy_list() 1097 pnfs_put_layout_hdr(NFS_I(lgp->args.inode)->layout); in pnfs_layoutget_free() 1106 struct nfs_inode *nfsi = NFS_I(inode); in pnfs_clear_layoutcommit() 1281 struct nfs_inode *nfsi = NFS_I(ino); in _pnfs_return_layout() 1345 lo = NFS_I(inode)->layout; in pnfs_commit_and_return_layout() 1370 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_roc() 1503 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_wait_on_layoutreturn() 1647 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_find_alloc_layout() [all …]
|
D | file.c | 395 NFS_I(mapping->host)->write_io += copied; in nfs_write_end() 457 nfsi = NFS_I(mapping->host); in nfs_check_dirty_writeback() 483 struct nfs_inode *nfsi = NFS_I(inode); in nfs_launder_page() 551 nfs_fscache_wait_on_page_write(NFS_I(inode), page); in nfs_vm_page_mkwrite() 553 wait_on_bit_action(&NFS_I(inode)->flags, NFS_INO_INVALIDATING, in nfs_vm_page_mkwrite()
|
D | nfstrace.h | 61 const struct nfs_inode *nfsi = NFS_I(inode); 98 const struct nfs_inode *nfsi = NFS_I(inode); 742 const struct nfs_inode *nfsi = NFS_I(inode); 779 const struct nfs_inode *nfsi = NFS_I(inode); 829 const struct nfs_inode *nfsi = NFS_I(inode); 871 const struct nfs_inode *nfsi = NFS_I(inode); 913 const struct nfs_inode *nfsi = NFS_I(inode); 950 const struct nfs_inode *nfsi = NFS_I(inode);
|
D | nfs42proc.c | 549 lo = NFS_I(inode)->layout; in nfs42_layoutstat_prepare() 576 pnfs_destroy_layout(NFS_I(inode)); in nfs42_layoutstat_done() 584 lo = NFS_I(inode)->layout; in nfs42_layoutstat_done() 603 lo = NFS_I(inode)->layout; in nfs42_layoutstat_done() 633 pnfs_put_layout_hdr(NFS_I(data->args.inode)->layout); in nfs42_layoutstat_release() 635 clear_bit(NFS_INO_LAYOUTSTATS, &NFS_I(data->args.inode)->flags); in nfs42_layoutstat_release()
|
D | read.c | 141 NFS_I(inode)->read_io += pgm->pg_bytes_written; in nfs_readpage_async() 241 set_bit(NFS_INO_STALE, &NFS_I(inode)->flags); in nfs_readpage_done() 434 NFS_I(inode)->read_io += pgm->pg_bytes_written; in nfs_readpages()
|
D | delegation.h | 84 !(NFS_I(inode)->cache_validity & NFS_INO_REVAL_FORCED); in nfs_have_delegated_attributes()
|
D | direct.c | 618 NFS_I(inode)->read_io += count; in nfs_file_direct_read() 646 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_scan_commit_list() 652 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_scan_commit_list() 905 NFS_I(inode)->write_io += iov_iter_count(iter); in nfs_direct_write_schedule_iovec()
|
D | callback_proc.c | 50 nfsi = NFS_I(inode); in nfs4_callback_getattr() 172 nfsi = NFS_I(lo->plh_inode); in nfs_layout_find_inode_by_fh() 269 lo = NFS_I(ino)->layout; in initiate_file_draining()
|
D | pnfs.h | 397 return NFS_I(inode)->layout != NULL; in nfs_have_layout() 534 struct nfs_inode *nfsi = NFS_I(inode); in pnfs_layoutcommit_outstanding() 542 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_return_layout()
|
D | nfs4super.c | 98 pnfs_destroy_layout_final(NFS_I(inode)); in nfs4_evict_inode()
|
D | nfs4proc.c | 287 cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs4_bitmap_copy_adjust() 441 pnfs_destroy_layout(NFS_I(inode)); in nfs4_do_handle_exception() 1095 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_OTHER; in nfs4_inc_nlink_locked() 1102 NFS_I(inode)->cache_validity |= NFS_INO_INVALID_OTHER; in nfs4_dec_nlink_locked() 1110 struct nfs_inode *nfsi = NFS_I(dir); in update_changeattr_locked() 1671 struct nfs_inode *nfsi = NFS_I(state->inode); in update_open_stateid() 1744 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_return_incompatible_delegation() 1807 delegation = rcu_dereference(NFS_I(state->inode)->delegation); in nfs4_opendata_check_deleg() 1956 struct nfs_inode *nfsi = NFS_I(state->inode); in nfs4_state_find_open_context() 2064 delegation = rcu_dereference(NFS_I(state->inode)->delegation); in _nfs4_do_open_reclaim() [all …]
|
D | nfs4state.c | 708 struct nfs_inode *nfsi = NFS_I(inode); in __nfs4_find_state_byowner() 732 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_get_open_state() 1462 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_find_state_and_recover() 1496 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_state_mark_open_context_bad() 1518 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_reclaim_locks()
|
D | nfs3proc.c | 143 if (NFS_I(inode)->cache_validity & NFS_INO_INVALID_ACL) in nfs3_proc_setattr() 614 __be32 *verf = NFS_I(dir)->cookieverf; in nfs3_proc_readdir()
|
/linux-4.19.296/include/linux/ |
D | nfs_fs.h | 246 static inline struct nfs_inode *NFS_I(const struct inode *inode) in NFS_I() function 258 return &NFS_I(inode)->fh; in NFS_FH() 290 return test_bit(NFS_INO_STALE, &NFS_I(inode)->flags); in NFS_STALE() 296 return NFS_I(inode)->fscache; in nfs_i_fscache() 304 return NFS_I(inode)->fileid; in NFS_FILEID() 309 NFS_I(inode)->fileid = fileid; in set_nfs_fileid() 314 struct nfs_inode *nfsi = NFS_I(inode); in nfs_mark_for_revalidate() 345 return NFS_I(dir)->cache_change_attribute; in nfs_save_change_attribute() 358 return chattr == NFS_I(dir)->cache_change_attribute; in nfs_verify_change_attribute() 548 return atomic_long_read(&NFS_I(inode)->nrequests) != 0; in nfs_have_writebacks()
|
/linux-4.19.296/fs/nfs/filelayout/ |
D | filelayout.c | 172 pnfs_destroy_layout(NFS_I(inode)); in filelayout_async_handle_error() 242 (unsigned long) NFS_I(hdr->inode)->layout->plh_lwb); in filelayout_set_layoutcommit() 909 lo = NFS_I(ino)->layout; in fl_pnfs_update_layout() 1163 struct pnfs_layout_hdr *layout = NFS_I(inode)->layout; in filelayout_get_ds_info()
|
/linux-4.19.296/fs/nfs/blocklayout/ |
D | extent_tree.c | 558 struct pnfs_block_layout *bl = BLK_LO2EXT(NFS_I(arg->inode)->layout); in ext_tree_prepare_commit() 617 struct pnfs_block_layout *bl = BLK_LO2EXT(NFS_I(arg->inode)->layout); in ext_tree_mark_committed()
|