| /linux/fs/nfs/ |
| H A D | delegation.c | 119 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(inod in nfs4_inode_return_delegation() [all...] |
| H A D | inode.c | 107 WARN_ON_ONCE(!list_empty(&NFS_I(inode)->open_files)); 145 struct nfs_inode *nfsi = NFS_I(inode); in nfs_check_cache_flags_invalid() 153 unsigned long cache_validity = READ_ONCE(NFS_I(inode)->cache_validity); in nfs_check_cache_invalid() 180 struct nfs_inode *nfsi = NFS_I(inode); in nfs_set_cache_invalid() 217 struct nfs_inode *nfsi = NFS_I(inode); in nfs_zap_caches_locked() 263 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_ACL; in nfs_invalidate_atime() 284 set_bit(NFS_INO_STALE, &NFS_I(inode)->flags); in nfs_set_inode_stale() 340 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_LABEL; in nfs_setsecurity() 464 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fhget() 613 unsigned long cache_validity = NFS_I(inod in nfs_fattr_fixup_delegated() [all...] |
| H A D | nfstrace.h | 82 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(inod [all...] |
| H A D | dir.c | 79 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() 1396 NFS_I(dir)->cache_change_attribute += 2; 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() 1963 unsigned long gencount = READ_ONCE(NFS_I(inod in nfs_dentry_iput() [all...] |
| H A D | write.c | 152 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() 736 struct nfs_inode *nfsi = NFS_I(nfs_page_to_inode(req)); in nfs_inode_remove_request() 778 * The caller must hold NFS_I(cinfo->inode)->commit_mutex, and the 806 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list() 808 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_request_add_commit_list() 839 cinfo->mds = &NFS_I(inode)->commit_info; in nfs_init_cinfo_from_inode() 888 mutex_lock(&NFS_I(inod in nfs_clear_request_commit() [all...] |
| H A D | unlink.c | 69 up_read_non_owner(&NFS_I(d_inode(dentry->d_parent))->rmdir_sem); in nfs_async_unlink_release() 127 down_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink() 130 up_read_non_owner(&NFS_I(dir)->rmdir_sem); in nfs_call_unlink() 153 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()
|
| H A D | pnfs_nfs.c | 254 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_scan_ds_commit_list() 341 lockdep_assert_held(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_recover_commit_reqs() 400 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit() 402 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_generic_retry_commit() 422 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_alloc_ds_commits() 431 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_alloc_ds_commits() 435 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in pnfs_bucket_alloc_ds_commits() 1255 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); 1273 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); 1277 mutex_unlock(&NFS_I(cinf [all...] |
| H A D | pnfs.c | 297 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() 835 lo = NFS_I(inode)->layout; in pnfs_layout_add_bulk_destroy_list() 1252 struct nfs_inode *nfsi = NFS_I(inode); in pnfs_layoutreturn_retry_later_locked() 1447 struct nfs_inode *nfsi = NFS_I(ino); in _pnfs_return_layout() 1515 lo = NFS_I(inode)->layout; in pnfs_commit_and_return_layout() 1557 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_roc() 1789 struct nfs_inode *nfsi = NFS_I(ino); 1933 struct nfs_inode *nfsi = NFS_I(in in pnfs_find_alloc_layout() [all...] |
| H A D | direct.c | 142 NFS_I(inode)->cache_validity &= ~NFS_INO_INVALID_SIZE; in nfs_direct_file_adjust_size_locked() 496 NFS_I(inode)->read_io += count; 568 mutex_lock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_reschedule() 571 mutex_unlock(&NFS_I(cinfo->inode)->commit_mutex); in nfs_direct_write_reschedule() 894 NFS_I(inode)->write_io += iov_iter_count(iter); in nfs_direct_write_schedule_iovec()
|
| H A D | file.c | 265 struct nfs_inode *nfsi = NFS_I(inode); in nfs_file_fsync() 474 NFS_I(mapping->host)->write_io += copied; in nfs_write_end() 539 nfsi = NFS_I(mapping->host); in nfs_check_dirty_writeback() 703 wait_on_bit_action(&NFS_I(inode)->flags, NFS_INO_INVALIDATING, in nfs_vm_page_mkwrite()
|
| H A D | nfs4file.c | 282 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 D | pnfs.h | 529 return NFS_I(inode)->layout != NULL; in pnfs_mark_request_commit() 687 struct nfs_inode *nfsi = NFS_I(inode); in pnfs_lseg_request_intersecting() 695 struct nfs_inode *nfsi = NFS_I(ino); in pnfs_lseg_cancel_io()
|
| H A D | fscache.h | 132 struct fscache_cookie *cookie = netfs_i_cookie(&NFS_I(inode)->netfs); in nfs_fscache_invalidate()
|
| H A D | nfs4super.c | 70 pnfs_destroy_layout_final(NFS_I(inode)); in nfs4_evict_inode()
|
| H A D | callback_proc.c | 181 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 D | nfs4state.c | 670 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() 1425 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_find_state_and_recover() 1462 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_reclaim_locks() 1488 struct nfs_inode *nfsi = NFS_I(inode); in nfs4_reclaim_locks()
|
| H A D | nfs40proc.c | 49 if (rcu_access_pointer(NFS_I(state->inode)->delegation) != NULL) in nfs40_clear_delegation_stateid()
|
| H A D | fscache.c | 167 struct nfs_inode *nfsi = NFS_I(inode); in nfs_fscache_init_inode()
|
| H A D | nfs4proc.c | 323 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() 2137 struct nfs_inode *nfsi = NFS_I(state->inode); in nfs4_state_find_open_context_mode() 2256 delegation = rcu_dereference(NFS_I(state->inode)->delegation); in _nfs4_do_open_reclaim() 2888 delegation = rcu_dereference(NFS_I(state->inode)->delegation); in nfs41_check_delegation_stateid() 3103 set_bit(NFS_INO_PRESERVE_UNLINKED, &NFS_I(state->inode)->flags); in _nfs4_open_and_get_state() 3866 if (!(open_flags & O_DIRECT) && NFS_I(state->inode)->uncacheable_file_data) { in nfs4_atomic_open() 4418 if (!test_and_clear_bit(NFS_INO_REQ_DIR_DELEG, &(NFS_I(inode)->flags))) in should_request_dir_deleg() 4510 clear_bit(NFS_INO_REQ_DIR_DELEG, &(NFS_I(inod in _nfs4_proc_getattr() [all...] |
| H A D | nfs4trace.h | 1704 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 D | nfs_fs.h | 349 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() 639 return atomic_long_read(&NFS_I(inode)->nrequests) != 0; in nfs_have_writebacks()
|
| /linux/fs/nfs/flexfilelayout/ |
| H A D | flexfilelayout.c | 1130 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_init_write() 1203 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_get_mirror_count_write() 1230 NFS_I(pgio->pg_inode)->layout, 1232 if (NFS_I(pgio->pg_inode)->layout && 1233 ff_layout_hdr_no_fallback_to_mds(NFS_I(pgio->pg_inode)->layout)) { 1310 IOMODE_RW, NFS_I(hdr->inode)->layout, in ff_layout_reset_read() 1352 IOMODE_READ, NFS_I(hdr->inode)->layout, in ff_layout_async_handle_error_v4() 1415 pnfs_destroy_layout(NFS_I(inode)); in ff_layout_async_handle_error_v4() 1752 (unsigned long long) NFS_I(inode)->layout->plh_lwb); in ff_layout_read_prepare_v3() 2346 IOMODE_READ, NFS_I(hd in ff_layout_write_pagelist() [all...] |
| /linux/fs/nfs/blocklayout/ |
| H A D | extent_tree.c | 636 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()
|