Home
last modified time | relevance | path

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

/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()
176 struct nfs_inode *nfsi = NFS_I(inode); in nfs_delegation_claim_locks()
215 struct nfs_inode *nfsi = NFS_I(inode); in nfs_delegation_claim_opens()
270 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs_inode_reclaim_delegation()
447 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_set_delegation()
523 if (NFS_I(inode)->cache_validity & NFS_INO_INVALID_CHANGE) in nfs_inode_set_delegation()
535 nfs_delegation_hash(server, &NFS_I(inode)->fh)); in nfs_inode_set_delegation()
791 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_evict_delegation()
822 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_inode_return_delegation()
[all …]
H A Dinode.c101 WARN_ON_ONCE(!list_empty(&NFS_I(inode)->open_files)); in nfs_clear_inode()
139 struct nfs_inode *nfsi = NFS_I(inode); in nfs_attribute_timeout()
147 unsigned long cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs_check_cache_flags_invalid()
174 struct nfs_inode *nfsi = NFS_I(inode); in nfs_set_cache_invalid()
211 struct nfs_inode *nfsi = NFS_I(inode); in nfs_zap_caches_locked()
257 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_ACL; in nfs_zap_acl_cache()
278 set_bit(NFS_INO_STALE, &NFS_I(inode)->flags); in nfs_set_inode_stale_locked()
334 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_LABEL; in nfs_clear_label_invalid()
458 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fhget()
607 unsigned long cache_validity = NFS_I(inode)->cache_validity; in nfs_fattr_fixup_delegated()
[all …]
H A Dnfstrace.h82 const struct nfs_inode *nfsi = NFS_I(inode);
122 const struct nfs_inode *nfsi = NFS_I(inode);
212 const struct nfs_inode *nfsi = NFS_I(inode);
265 const struct nfs_inode *nfsi = NFS_I(inode);
317 const struct nfs_inode *nfsi = NFS_I(inode);
372 const struct nfs_inode *nfsi = NFS_I(dir);
982 const struct nfs_inode *nfsi = NFS_I(inode);
1032 const struct nfs_inode *nfsi = NFS_I(inode);
1110 const struct nfs_inode *nfsi = NFS_I(inode);
1161 const struct nfs_inode *nfsi = NFS_I(inode);
[all …]
H A Ddir.c79 struct nfs_inode *nfsi = NFS_I(dir); in alloc_nfs_open_dir_context()
652 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()
1017 struct nfs_inode *nfsi = NFS_I(inode); in find_and_lock_cache_page()
1226 struct nfs_inode *nfsi = NFS_I(inode); in nfs_readdir()
1394 NFS_I(dir)->cache_change_attribute += 2; in nfs_force_lookup_revalidate()
1620 test_bit(NFS_INO_PRESERVE_UNLINKED, &NFS_I(inode)->flags))) in nfs_lookup_verify_inode()
1940 struct nfs_inode *nfsi = NFS_I(inode); in nfs_drop_nlink()
1960 unsigned long gencount = READ_ONCE(NFS_I(inode)->attr_gencount); in nfs_dentry_iput()
[all …]
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()
808 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list()
810 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list()
841 cinfo->mds = &NFS_I(inode)->commit_info; in nfs_init_cinfo_from_inode()
890 mutex_lock(&NFS_I(inode)->commit_mutex); in nfs_clear_request_commit()
894 mutex_unlock(&NFS_I(inode)->commit_mutex); in nfs_clear_request_commit()
[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()
1191 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit()
1209 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit()
1213 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_layout_mark_request_commit()
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()
469 clear_bit(NFS_INO_LAYOUTCOMMIT, &NFS_I(lo->plh_inode)->flags); in pnfs_mark_layout_stateid_invalid()
834 lo = NFS_I(inode)->layout; in pnfs_layout_add_bulk_destroy_list()
1237 struct nfs_inode *nfsi = NFS_I(inode); in pnfs_clear_layoutcommit()
1432 struct nfs_inode *nfsi = NFS_I(ino); in _pnfs_return_layout()
1500 lo = NFS_I(inode)->layout; in pnfs_commit_and_return_layout()
1542 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_roc()
1774 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_wait_on_layoutreturn()
1918 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_find_alloc_layout()
[all …]
H A Dnfs4file.c282 nfs_file_block_o_direct(NFS_I(src_inode)); in nfs42_remap_file_range()
286 nfs_file_block_o_direct(NFS_I(dst_inode)); in nfs42_remap_file_range()
H A Dfscache.h132 struct fscache_cookie *cookie = netfs_i_cookie(&NFS_I(inode)->netfs); in nfs_fscache_invalidate()
H A Dpnfs.h442 return NFS_I(inode)->layout != NULL; in nfs_have_layout()
600 struct nfs_inode *nfsi = NFS_I(inode); in pnfs_layoutcommit_outstanding()
608 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_return_layout()
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()
273 lo = NFS_I(ino)->layout; in initiate_file_draining()
H A Dnfs4state.c670 struct nfs_inode *nfsi = NFS_I(inode); in __nfs4_find_state_byowner()
694 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_get_open_state()
1395 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_find_state_and_recover()
1432 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_state_mark_open_context_bad()
1458 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_reclaim_locks()
H A Dnfs40proc.c49 if (rcu_access_pointer(NFS_I(state->inode)->delegation) != NULL) in nfs40_clear_delegation_stateid()
H A Dfscache.c167 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fscache_init_inode()
H A Dnfs4proc.c323 cache_validity = READ_ONCE(NFS_I(inode)->cache_validity) | flags; in nfs4_bitmap_copy_adjust()
540 pnfs_destroy_layout(NFS_I(inode)); in nfs4_do_handle_exception()
1226 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_update_changeattr_locked()
2134 struct nfs_inode *nfsi = NFS_I(state->inode); in nfs4_state_find_open_context_mode()
2253 delegation = rcu_dereference(NFS_I(state->inode)->delegation); in _nfs4_do_open_reclaim()
2885 delegation = rcu_dereference(NFS_I(state->inode)->delegation); in nfs41_check_delegation_stateid()
3098 set_bit(NFS_INO_PRESERVE_UNLINKED, &NFS_I(state->inode)->flags); in _nfs4_open_and_get_state()
3861 if (!(open_flags & O_DIRECT) && NFS_I(state->inode)->uncacheable_file_data) { in nfs4_atomic_open()
4413 if (!test_and_clear_bit(NFS_INO_REQ_DIR_DELEG, &(NFS_I(inode)->flags))) in should_request_dir_deleg()
4505 clear_bit(NFS_INO_REQ_DIR_DELEG, &(NFS_I(inode)->flags)); in _nfs4_proc_getattr()
[all …]
H A Dnfs4trace.h1704 const struct nfs_inode *nfsi = NFS_I(inode);
1776 const struct nfs_inode *nfsi = NFS_I(inode);
1846 const struct nfs_inode *nfsi = NFS_I(inode);
/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 struct nfs_inode *nfsi = NFS_I(inode); in nfs_mark_for_revalidate()
422 return NFS_I(dir)->cache_change_attribute; in nfs_save_change_attribute()
640 return atomic_long_read(&NFS_I(inode)->nrequests) != 0; in nfs_have_writebacks()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c1095 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_init_read()
1162 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_init_write()
1189 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_get_mirror_count_write()
1191 if (NFS_I(pgio->pg_inode)->layout && in ff_layout_pg_get_mirror_count_write()
1192 ff_layout_hdr_no_fallback_to_mds(NFS_I(pgio->pg_inode)->layout)) { in ff_layout_pg_get_mirror_count_write()
1269 IOMODE_RW, NFS_I(hdr->inode)->layout, in ff_layout_reset_write()
1309 IOMODE_READ, NFS_I(hdr->inode)->layout, in ff_layout_reset_read()
1373 pnfs_destroy_layout(NFS_I(inode)); in ff_layout_async_handle_error_v4()
1674 (unsigned long long) NFS_I(inode)->layout->plh_lwb); in ff_layout_set_layoutcommit()
2252 IOMODE_READ, NFS_I(hdr->inode)->layout, lseg); in ff_layout_read_pagelist()
[all …]
/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()