Home
last modified time | relevance | path

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

12

/linux/fs/nfs/
H A Ddelegation.c119 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_get_valid_delegation()
136 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_do_check_delegation()
208 struct nfs_inode *nfsi = NFS_I(inode); in nfs_delegation_claim_opens()
263 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs_inode_reclaim_delegation()
440 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_set_delegation()
509 if (NFS_I(inode)->cache_validity & NFS_INO_INVALID_CHANGE) in nfs_inode_set_delegation()
521 nfs_delegation_hash(server, &NFS_I(inode)->fh)); in nfs_inode_set_delegation()
774 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_evict_delegation()
805 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_inode_return_delegation()
843 if (list_empty(&NFS_I(inode)->open_files) && in nfs4_inode_set_return_delegation_on_close()
[all …]
H A Dinode.c121 WARN_ON_ONCE(!list_empty(&NFS_I(inode)->open_files)); in nfs_clear_inode()
159 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_flags_invalid()
194 struct nfs_inode *nfsi = NFS_I(inode); in nfs_set_cache_invalid()
231 struct nfs_inode *nfsi = NFS_I(inode); in nfs_zap_caches_locked()
277 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_ACL; in nfs_zap_acl_cache()
298 set_bit(NFS_INO_STALE, &NFS_I(inode)->flags); in nfs_set_inode_stale_locked()
355 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_LABEL; in nfs_clear_label_invalid()
479 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fhget()
625 unsigned long cache_validity = NFS_I(inode)->cache_validity; in nfs_fattr_fixup_delegated()
[all …]
H A Dio.c36 struct nfs_inode *nfsi = NFS_I(inode); in nfs_start_io_read()
84 nfs_file_block_o_direct(NFS_I(inode)); in nfs_start_io_write()
131 struct nfs_inode *nfsi = NFS_I(inode); in nfs_start_io_direct()
H A Dnfstrace.h81 const struct nfs_inode *nfsi = NFS_I(inode);
121 const struct nfs_inode *nfsi = NFS_I(inode);
211 const struct nfs_inode *nfsi = NFS_I(inode);
264 const struct nfs_inode *nfsi = NFS_I(inode);
316 const struct nfs_inode *nfsi = NFS_I(inode);
371 const struct nfs_inode *nfsi = NFS_I(dir);
981 const struct nfs_inode *nfsi = NFS_I(inode);
1031 const struct nfs_inode *nfsi = NFS_I(inode);
1109 const struct nfs_inode *nfsi = NFS_I(inode);
1160 const struct nfs_inode *nfsi = NFS_I(inode);
[all …]
H A Ddir.c80 struct nfs_inode *nfsi = NFS_I(dir); in alloc_nfs_open_dir_context()
653 nfsi = NFS_I(inode); in nfs_same_file()
684 struct nfs_inode *nfsi = NFS_I(dir); in nfs_readdir_record_entry_cache_hit()
703 struct nfs_inode *nfsi = NFS_I(dir); in nfs_readdir_record_entry_cache_miss()
1019 struct nfs_inode *nfsi = NFS_I(inode); in find_and_lock_cache_page()
1228 struct nfs_inode *nfsi = NFS_I(inode); in nfs_readdir()
1396 NFS_I(dir)->cache_change_attribute += 2; in nfs_force_lookup_revalidate()
1622 test_bit(NFS_INO_PRESERVE_UNLINKED, &NFS_I(inode)->flags))) in nfs_lookup_verify_inode()
1942 struct nfs_inode *nfsi = NFS_I(inode); in nfs_drop_nlink()
1962 unsigned long gencount = READ_ONCE(NFS_I(inode)->attr_gencount); in nfs_dentry_iput()
[all …]
H A Dpnfs_nfs.c251 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_scan_ds_commit_list()
338 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_recover_commit_reqs()
397 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit()
399 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit()
419 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_alloc_ds_commits()
428 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_alloc_ds_commits()
432 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_alloc_ds_commits()
1183 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit()
1201 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit()
1205 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit()
H A Dwrite.c152 atomic_long_inc(&NFS_I(inode)->nrequests); in nfs_page_set_inode_ref()
205 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_SIZE; in nfs_grow_file()
363 atomic_long_dec(&NFS_I(inode)->nrequests); in nfs_destroy_unlinked_subrequests()
712 struct nfs_inode *nfsi = NFS_I(mapping->host); in nfs_inode_add_request()
737 struct nfs_inode *nfsi = NFS_I(nfs_page_to_inode(req)); in nfs_inode_remove_request()
807 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list()
809 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list()
840 cinfo->mds = &NFS_I(inode)->commit_info; in nfs_init_cinfo_from_inode()
888 mutex_lock(&NFS_I(inode)->commit_mutex); in nfs_clear_request_commit()
892 mutex_unlock(&NFS_I(inode)->commit_mutex); in nfs_clear_request_commit()
[all …]
H A 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()
152 up_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink()
514 NFS_I(inode)->attr_gencount = nfs_inc_attr_generation_counter(); in nfs_sillyrename()
H A Dpnfs.c297 struct nfs_inode *nfsi = NFS_I(lo->plh_inode); in pnfs_detach_layout_hdr()
425 lo = NFS_I(inode)->layout; in nfs4_layout_refresh_old_stateid()
468 clear_bit(NFS_INO_LAYOUTCOMMIT, &NFS_I(lo->plh_inode)->flags); in pnfs_mark_layout_stateid_invalid()
833 lo = NFS_I(inode)->layout; in pnfs_layout_add_bulk_destroy_list()
1236 struct nfs_inode *nfsi = NFS_I(inode); in pnfs_clear_layoutcommit()
1431 struct nfs_inode *nfsi = NFS_I(ino); in _pnfs_return_layout()
1499 lo = NFS_I(inode)->layout; in pnfs_commit_and_return_layout()
1541 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_roc()
1761 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_wait_on_layoutreturn()
1905 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_find_alloc_layout()
[all …]
H A Ddirect.c142 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_SIZE; in nfs_direct_file_adjust_size_locked()
486 NFS_I(inode)->read_io += count; in nfs_file_direct_read()
558 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_scan_commit_list()
561 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_scan_commit_list()
883 NFS_I(inode)->write_io += iov_iter_count(iter); in nfs_direct_write_schedule_iovec()
H A Dfile.c258 struct nfs_inode *nfsi = NFS_I(inode); in nfs_file_fsync()
467 NFS_I(mapping->host)->write_io += copied; in nfs_write_end()
532 nfsi = NFS_I(mapping->host); in nfs_check_dirty_writeback()
663 wait_on_bit_action(&NFS_I(inode)->flags, NFS_INO_INVALIDATING, in nfs_vm_page_mkwrite()
H A Dnfs42xattr.c348 nfsi = NFS_I(inode); in nfs4_xattr_cache_unlink()
431 nfsi = NFS_I(inode); in nfs4_xattr_get_cache()
828 NFS_I(inode)->xattr_cache = NULL; in cache_lru_isolate()
829 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_XATTR; in cache_lru_isolate()
H A Dnfs42proc.c456 nfs_file_block_o_direct(NFS_I(dst_inode)); in _nfs42_proc_copy()
952 lo = NFS_I(inode)->layout; in nfs42_layoutstat_prepare()
979 pnfs_destroy_layout(NFS_I(inode)); in nfs42_layoutstat_done()
987 lo = NFS_I(inode)->layout; in nfs42_layoutstat_done()
1006 lo = NFS_I(inode)->layout; in nfs42_layoutstat_done()
1038 pnfs_put_layout_hdr(NFS_I(data->args.inode)->layout); in nfs42_layoutstat_release()
1040 clear_bit(NFS_INO_LAYOUTSTATS, &NFS_I(data->args.inode)->flags); in nfs42_layoutstat_release()
1150 pnfs_destroy_layout(NFS_I(inode)); in nfs42_layouterror_done()
H A Dnfs4file.c280 nfs_file_block_o_direct(NFS_I(src_inode)); in nfs42_remap_file_range()
284 nfs_file_block_o_direct(NFS_I(dst_inode)); in nfs42_remap_file_range()
H A Dpnfs.h440 return NFS_I(inode)->layout != NULL; in nfs_have_layout()
598 struct nfs_inode *nfsi = NFS_I(inode); in pnfs_layoutcommit_outstanding()
606 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_return_layout()
H A Ddelegation.h131 set_bit(NFS_INO_REQ_DIR_DELEG, &NFS_I(inode)->flags); in nfs_request_directory_delegation()
H A Dfscache.h132 struct fscache_cookie *cookie = netfs_i_cookie(&NFS_I(inode)->netfs); in nfs_fscache_invalidate()
H A Dnfs4trace.h1650 const struct nfs_inode *nfsi = NFS_I(inode);
1722 const struct nfs_inode *nfsi = NFS_I(inode);
1792 const struct nfs_inode *nfsi = NFS_I(inode);
2437 const struct nfs_inode *nfsi = NFS_I(inode);
2571 const struct nfs_inode *src_nfsi = NFS_I(src_inode);
2572 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2669 const struct nfs_inode *src_nfsi = NFS_I(src_inode);
2670 const struct nfs_inode *dst_nfsi = NFS_I(dst_inode);
2736 const struct nfs_inode *nfsi = NFS_I(inode);
H A Dnfs4super.c70 pnfs_destroy_layout_final(NFS_I(inode)); in nfs4_evict_inode()
H A Dcallback_proc.c181 nfsi = NFS_I(lo->plh_inode); in nfs_layout_find_inode_by_fh()
272 lo = NFS_I(ino)->layout; in initiate_file_draining()
H A Dnfs4state.c644 struct nfs_inode *nfsi = NFS_I(inode); in __nfs4_find_state_byowner()
668 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_get_open_state()
1369 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_find_state_and_recover()
1406 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_state_mark_open_context_bad()
1432 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_reclaim_locks()
/linux/include/linux/
H A Dnfs_fs.h349 static inline struct nfs_inode *NFS_I(const struct inode *inode) in NFS_I() function
361 return &NFS_I(inode)->fh; in NFS_FH()
393 return test_bit(NFS_INO_STALE, &NFS_I(inode)->flags); in NFS_STALE()
398 return NFS_I(inode)->fileid; in NFS_FILEID()
403 NFS_I(inode)->fileid = fileid; in set_nfs_fileid()
408 struct nfs_inode *nfsi = NFS_I(inode); in nfs_mark_for_revalidate()
432 return NFS_I(dir)->cache_change_attribute; in nfs_save_change_attribute()
651 return atomic_long_read(&NFS_I(inode)->nrequests) != 0; in nfs_have_writebacks()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c1088 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_init_read()
1155 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_init_write()
1182 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_get_mirror_count_write()
1252 IOMODE_RW, NFS_I(hdr->inode)->layout, in ff_layout_reset_write()
1292 IOMODE_READ, NFS_I(hdr->inode)->layout, in ff_layout_reset_read()
1355 pnfs_destroy_layout(NFS_I(inode)); in ff_layout_async_handle_error_v4()
1635 (unsigned long long) NFS_I(inode)->layout->plh_lwb); in ff_layout_set_layoutcommit()
2205 IOMODE_READ, NFS_I(hdr->inode)->layout, lseg); in ff_layout_read_pagelist()
2290 IOMODE_RW, NFS_I(hdr->inode)->layout, lseg); in ff_layout_write_pagelist()
2443 struct pnfs_layout_hdr *layout = NFS_I(inode)->layout; in ff_layout_get_ds_info()
[all …]
/linux/fs/nfs/filelayout/
H A Dfilelayout.c173 pnfs_destroy_layout(NFS_I(inode)); in filelayout_async_handle_error()
245 (unsigned long) NFS_I(hdr->inode)->layout->plh_lwb); in filelayout_set_layoutcommit()
852 lo = NFS_I(ino)->layout; in fl_pnfs_update_layout()
1069 struct pnfs_layout_hdr *layout = NFS_I(inode)->layout; in filelayout_get_ds_info()
/linux/fs/nfs/blocklayout/
H A Dextent_tree.c636 struct pnfs_block_layout *bl = BLK_LO2EXT(NFS_I(arg->inode)->layout); in ext_tree_prepare_commit()
696 struct pnfs_block_layout *bl = BLK_LO2EXT(NFS_I(arg->inode)->layout); in ext_tree_mark_committed()

12