Home
last modified time | relevance | path

Searched refs:NFS_I (Results 1 – 25 of 28) sorted by relevance

12

/linux-5.19.10/fs/nfs/
Ddelegation.c100 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_get_valid_delegation()
114 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_do_check_delegation()
180 struct nfs_inode *nfsi = NFS_I(inode); in nfs_delegation_claim_opens()
239 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs_inode_reclaim_delegation()
377 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_detach_delegation()
437 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_set_delegation()
499 if (NFS_I(inode)->cache_validity & NFS_INO_INVALID_CHANGE) in nfs_inode_set_delegation()
580 if (inode && list_empty(&NFS_I(inode)->open_files)) in nfs_delegation_need_return()
618 delegation = rcu_dereference(NFS_I(place_holder)->delegation); in nfs_server_return_marked_delegations()
648 delegation = nfs_start_delegation_return_locked(NFS_I(inode)); in nfs_server_return_marked_delegations()
[all …]
Dio.c45 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()
Dinode.c124 WARN_ON_ONCE(!list_empty(&NFS_I(inode)->open_files)); in nfs_clear_inode()
162 struct nfs_inode *nfsi = NFS_I(inode); in nfs_attribute_timeout()
170 unsigned long cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs_check_cache_flags_invalid()
197 struct nfs_inode *nfsi = NFS_I(inode); in nfs_set_cache_invalid()
230 struct nfs_inode *nfsi = NFS_I(inode); in nfs_zap_caches_locked()
276 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_ACL; in nfs_zap_acl_cache()
295 set_bit(NFS_INO_STALE, &NFS_I(inode)->flags); in nfs_set_inode_stale_locked()
352 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_LABEL; in nfs_clear_label_invalid()
476 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fhget()
686 NFS_I(inode)->cache_validity &= ~(NFS_INO_INVALID_DATA | in nfs_vmtruncate()
[all …]
Dnfstrace.h63 const struct nfs_inode *nfsi = NFS_I(inode);
100 const struct nfs_inode *nfsi = NFS_I(inode);
192 const struct nfs_inode *nfsi = NFS_I(inode);
245 const struct nfs_inode *nfsi = NFS_I(inode);
296 const struct nfs_inode *nfsi = NFS_I(inode);
351 const struct nfs_inode *nfsi = NFS_I(dir);
953 const struct nfs_inode *nfsi = NFS_I(inode);
990 const struct nfs_inode *nfsi = NFS_I(inode);
1028 const struct nfs_inode *nfsi = NFS_I(inode);
1067 const struct nfs_inode *nfsi = NFS_I(inode);
[all …]
Dwrite.c153 atomic_long_inc(&NFS_I(inode)->nrequests); in nfs_page_set_inode_ref()
210 struct nfs_inode *nfsi = NFS_I(inode); in nfs_page_find_swap_request()
289 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_SIZE; in nfs_grow_file()
485 atomic_long_dec(&NFS_I(inode)->nrequests); in nfs_destroy_unlinked_subrequests()
754 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_add_request()
788 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_remove_request()
886 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list()
888 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list()
920 cinfo->mds = &NFS_I(inode)->commit_info; in nfs_init_cinfo_from_inode()
967 mutex_lock(&NFS_I(inode)->commit_mutex); in nfs_clear_request_commit()
[all …]
Ddir.c78 struct nfs_inode *nfsi = NFS_I(dir); in alloc_nfs_open_dir_context()
654 nfsi = NFS_I(inode); in nfs_same_file()
683 struct nfs_inode *nfsi = NFS_I(dir); in nfs_readdir_record_entry_cache_hit()
702 struct nfs_inode *nfsi = NFS_I(dir); in nfs_readdir_record_entry_cache_miss()
1016 struct nfs_inode *nfsi = NFS_I(inode); in find_and_lock_cache_page()
1213 struct nfs_inode *nfsi = NFS_I(inode); in nfs_readdir()
1381 NFS_I(dir)->cache_change_attribute += 2; in nfs_force_lookup_revalidate()
1564 test_bit(NFS_INO_PRESERVE_UNLINKED, &NFS_I(inode)->flags))) in nfs_lookup_verify_inode()
1870 NFS_I(inode)->attr_gencount = nfs_inc_attr_generation_counter(); in nfs_drop_nlink()
2394 down_write(&NFS_I(d_inode(dentry))->rmdir_sem); in nfs_rmdir()
[all …]
Dunlink.c69 up_read_non_owner(&NFS_I(d_inode(dentry->d_parent))->rmdir_sem); in nfs_async_unlink_release()
126 down_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink()
129 up_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink()
151 up_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink()
511 NFS_I(inode)->attr_gencount = nfs_inc_attr_generation_counter(); in nfs_sillyrename()
Dpnfs_nfs.c249 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_scan_ds_commit_list()
336 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_recover_commit_reqs()
442 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit()
444 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit()
464 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_alloc_ds_commits()
473 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_alloc_ds_commits()
477 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_alloc_ds_commits()
1164 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit()
1182 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit()
1186 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit()
Dpnfs.c296 struct nfs_inode *nfsi = NFS_I(lo->plh_inode); in pnfs_detach_layout_hdr()
426 lo = NFS_I(inode)->layout; in nfs4_layout_refresh_old_stateid()
815 lo = NFS_I(inode)->layout; in pnfs_layout_add_bulk_destroy_list()
1151 struct nfs_inode *nfsi = NFS_I(inode); in pnfs_clear_layoutcommit()
1330 struct nfs_inode *nfsi = NFS_I(ino); in _pnfs_return_layout()
1397 lo = NFS_I(inode)->layout; in pnfs_commit_and_return_layout()
1422 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_roc()
1603 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_wait_on_layoutreturn()
1747 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_find_alloc_layout()
1850 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_within_mdsthreshold()
[all …]
Dfile.c225 struct nfs_inode *nfsi = NFS_I(inode); in nfs_file_fsync()
386 NFS_I(mapping->host)->write_io += copied; in nfs_write_end()
441 nfsi = NFS_I(mapping->host); in nfs_check_dirty_writeback()
571 wait_on_bit_action(&NFS_I(inode)->flags, NFS_INO_INVALIDATING, in nfs_vm_page_mkwrite()
Dfscache.c164 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fscache_init_inode()
186 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fscache_clear_inode()
Dnfs42xattr.c348 nfsi = NFS_I(inode); in nfs4_xattr_cache_unlink()
431 nfsi = NFS_I(inode); in nfs4_xattr_get_cache()
847 NFS_I(inode)->xattr_cache = NULL; in cache_lru_isolate()
848 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_XATTR; in cache_lru_isolate()
Dfscache.h104 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fscache_invalidate()
Dnfs42proc.c742 lo = NFS_I(inode)->layout; in nfs42_layoutstat_prepare()
769 pnfs_destroy_layout(NFS_I(inode)); in nfs42_layoutstat_done()
777 lo = NFS_I(inode)->layout; in nfs42_layoutstat_done()
796 lo = NFS_I(inode)->layout; in nfs42_layoutstat_done()
828 pnfs_put_layout_hdr(NFS_I(data->args.inode)->layout); in nfs42_layoutstat_release()
830 clear_bit(NFS_INO_LAYOUTSTATS, &NFS_I(data->args.inode)->flags); in nfs42_layoutstat_release()
939 pnfs_destroy_layout(NFS_I(inode)); in nfs42_layouterror_done()
Ddirect.c487 NFS_I(inode)->read_io += count; in nfs_file_direct_read()
533 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_scan_commit_list()
536 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_scan_commit_list()
808 NFS_I(inode)->write_io += iov_iter_count(iter); in nfs_direct_write_schedule_iovec()
Dpnfs.h427 return NFS_I(inode)->layout != NULL; in nfs_have_layout()
596 struct nfs_inode *nfsi = NFS_I(inode); in pnfs_layoutcommit_outstanding()
604 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_return_layout()
Dnfs4trace.h1497 const struct nfs_inode *nfsi = NFS_I(inode);
1571 const struct nfs_inode *nfsi = NFS_I(inode);
1643 const struct nfs_inode *nfsi = NFS_I(inode);
2133 const struct nfs_inode *nfsi = NFS_I(inode);
2267 const struct nfs_inode *src_nfsi = NFS_I(src_inode);
2268 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2365 const struct nfs_inode *src_nfsi = NFS_I(src_inode);
2366 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2432 const struct nfs_inode *nfsi = NFS_I(inode);
Dnfs4super.c70 pnfs_destroy_layout_final(NFS_I(inode)); in nfs4_evict_inode()
Dcallback_proc.c174 nfsi = NFS_I(lo->plh_inode); in nfs_layout_find_inode_by_fh()
263 lo = NFS_I(ino)->layout; in initiate_file_draining()
Dnfs4state.c699 struct nfs_inode *nfsi = NFS_I(inode); in __nfs4_find_state_byowner()
723 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_get_open_state()
1442 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_find_state_and_recover()
1477 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_state_mark_open_context_bad()
1501 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_reclaim_locks()
Dread.c88 NFS_I(pgio->pg_inode)->read_io += pgm->pg_bytes_written; in nfs_pageio_complete_read()
/linux-5.19.10/include/linux/
Dnfs_fs.h285 static inline struct nfs_inode *NFS_I(const struct inode *inode) in NFS_I() function
297 return &NFS_I(inode)->fh; in NFS_FH()
329 return test_bit(NFS_INO_STALE, &NFS_I(inode)->flags); in NFS_STALE()
335 return NFS_I(inode)->fscache; in nfs_i_fscache()
343 return NFS_I(inode)->fileid; in NFS_FILEID()
348 NFS_I(inode)->fileid = fileid; in set_nfs_fileid()
353 struct nfs_inode *nfsi = NFS_I(inode); in nfs_mark_for_revalidate()
377 return NFS_I(dir)->cache_change_attribute; in nfs_save_change_attribute()
591 return atomic_long_read(&NFS_I(inode)->nrequests) != 0; in nfs_have_writebacks()
/linux-5.19.10/fs/nfs/flexfilelayout/
Dflexfilelayout.c876 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_init_read()
938 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_init_write()
965 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_get_mirror_count_write()
1035 IOMODE_RW, NFS_I(hdr->inode)->layout, in ff_layout_reset_write()
1071 IOMODE_READ, NFS_I(hdr->inode)->layout, in ff_layout_reset_read()
1123 pnfs_destroy_layout(NFS_I(inode)); in ff_layout_async_handle_error_v4()
1342 (unsigned long long) NFS_I(inode)->layout->plh_lwb); in ff_layout_set_layoutcommit()
1801 IOMODE_READ, NFS_I(hdr->inode)->layout, lseg); in ff_layout_read_pagelist()
1869 IOMODE_RW, NFS_I(hdr->inode)->layout, lseg); in ff_layout_write_pagelist()
1955 struct pnfs_layout_hdr *layout = NFS_I(inode)->layout; in ff_layout_get_ds_info()
[all …]
/linux-5.19.10/fs/nfs/filelayout/
Dfilelayout.c173 pnfs_destroy_layout(NFS_I(inode)); in filelayout_async_handle_error()
243 (unsigned long) NFS_I(hdr->inode)->layout->plh_lwb); in filelayout_set_layoutcommit()
850 lo = NFS_I(ino)->layout; in fl_pnfs_update_layout()
1065 struct pnfs_layout_hdr *layout = NFS_I(inode)->layout; in filelayout_get_ds_info()
/linux-5.19.10/fs/nfs/blocklayout/
Dextent_tree.c558 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()

12