/linux-4.19.296/fs/nfs/ |
D | iostat.h | 35 nfs_inc_server_stats(NFS_SERVER(inode), stat); in nfs_inc_stats() 49 nfs_add_server_stats(NFS_SERVER(inode), stat, addend); in nfs_add_stats() 57 this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend); in nfs_add_fscache_stats() 62 this_cpu_inc(NFS_SERVER(inode)->io_stats->fscache[stat]); in nfs_inc_fscache_stats()
|
D | pnfs.h | 440 return NFS_SERVER(inode)->pnfs_curr_ld->commit_pagelist(inode, mds_pages, how, cinfo); in pnfs_commit_list() 446 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_get_ds_info() 464 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_mark_request_commit() 476 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_clear_request_commit() 491 return NFS_SERVER(inode)->pnfs_curr_ld->scan_commit_lists(cinfo, max); in pnfs_scan_commit_lists() 498 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_search_commit_reqs() 509 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_ld_layoutret_on_setattr() 511 return NFS_SERVER(inode)->pnfs_curr_ld->flags & in pnfs_ld_layoutret_on_setattr() 518 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_ld_read_whole_page() 520 return NFS_SERVER(inode)->pnfs_curr_ld->flags & PNFS_READ_WHOLE_PAGE; in pnfs_ld_read_whole_page() [all …]
|
D | nfs42proc.c | 26 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate() 63 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate() 107 NFS_SERVER(inode)->caps &= ~NFS_CAP_ALLOCATE; in nfs42_proc_allocate() 130 NFS_SERVER(inode)->caps &= ~NFS_CAP_DEALLOCATE; in nfs42_proc_deallocate() 235 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs42_proc_copy() 313 struct nfs_server *server = NFS_SERVER(file_inode(dst)); in nfs42_proc_copy() 422 struct nfs_server *dst_server = NFS_SERVER(file_inode(dst)); in nfs42_do_offload_cancel_async() 481 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_llseek() 512 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_llseek() 545 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layoutstat_prepare() [all …]
|
D | nfs4proc.c | 1222 struct nfs_server *server = NFS_SERVER(dir); in nfs4_opendata_alloc() 1578 if (!nfs4_has_session(NFS_SERVER(state->inode)->nfs_client)) in nfs_set_open_stateid_locked() 1669 struct nfs_server *server = NFS_SERVER(state->inode); in update_open_stateid() 1802 struct nfs_client *clp = NFS_SERVER(state->inode)->nfs_client; in nfs4_opendata_check_deleg() 2076 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_reclaim() 2161 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_open_delegation_recall() 2243 struct nfs_server *server = NFS_SERVER(d_inode(data->dir)); in _nfs4_proc_open_confirm() 2406 struct nfs_server *server = NFS_SERVER(dir); in nfs4_run_open_task() 2462 nfs_fattr_map_and_free_names(NFS_SERVER(dir), &data->f_attr); in _nfs4_recover_proc_open() 2523 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_open() [all …]
|
D | pnfs.c | 272 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_alloc_layout_hdr() 279 struct nfs_server *server = NFS_SERVER(lo->plh_inode); in pnfs_free_layout_hdr() 362 rpc_wake_up(&NFS_SERVER(lo->plh_inode)->roc_rpcwaitq); in pnfs_clear_layoutreturn_waitbit() 516 NFS_SERVER(inode)->pnfs_curr_ld->free_lseg(lseg); in pnfs_free_lseg() 992 server = NFS_SERVER(inode); in pnfs_find_server() 995 server = NFS_SERVER(parent_dir->d_inode); in pnfs_find_server() 1183 args->layout_type = NFS_SERVER(inode)->pnfs_curr_ld->id; in pnfs_init_layoutreturn_args() 1197 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_send_layoutreturn() 1213 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn() 1315 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) in _pnfs_return_layout() [all …]
|
D | delegation.c | 325 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation() 360 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation() 437 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return() 460 if (!nfs_detach_delegation(nfsi, delegation, NFS_SERVER(inode))) in nfs_end_delegation_return() 523 server = NFS_SERVER(place_holder); in nfs_client_return_marked_delegations() 529 if (place_holder && server == NFS_SERVER(place_holder)) in nfs_client_return_marked_delegations() 636 if (!nfs4_has_session(NFS_SERVER(inode)->nfs_client) || in nfs4_inode_make_writeable() 766 nfs_mark_delegation_revoked(NFS_SERVER(inode), delegation); in nfs_revoke_delegation() 838 struct nfs_server *server = NFS_SERVER(inode); in nfs_async_inode_return_delegation() 1113 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_inode_find_delegation_state_and_recover() [all …]
|
D | dir.c | 357 NFS_SERVER(inode)->dtsize, desc->plus); in nfs_readdir_xdr_filler() 361 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS; in nfs_readdir_xdr_filler() 635 entry.server = NFS_SERVER(inode); in nfs_readdir_xdr_to_array() 639 entry.label = nfs4_label_alloc(NFS_SERVER(inode), GFP_NOWAIT); in nfs_readdir_xdr_to_array() 1002 if (NFS_SERVER(dir)->flags & NFS_MOUNT_LOOKUP_CACHE_NONE) in nfs_check_verifier() 1010 if (__nfs_revalidate_inode(NFS_SERVER(dir), dir) < 0) in nfs_check_verifier() 1040 struct nfs_server *server = NFS_SERVER(inode); in nfs_lookup_verify_inode() 1094 if (NFS_SERVER(dir)->flags & NFS_MOUNT_LOOKUP_CACHE_NONEG) in nfs_neg_need_reval() 1164 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in nfs_lookup_revalidate_dentry() 1413 if (unlikely(dentry->d_name.len > NFS_SERVER(dir)->namelen)) in nfs_lookup() [all …]
|
D | fscache-index.c | 96 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_check_aux()
|
D | nfs3acl.c | 49 struct nfs_server *server = NFS_SERVER(inode); in nfs3_get_acl() 161 struct nfs_server *server = NFS_SERVER(inode); in __nfs3_proc_setacls()
|
D | write.c | 344 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_set_page_writeback() 357 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_end_page_writeback() 1239 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth; in nfs_key_timeout_notify() 1249 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth; in nfs_ctx_key_to_expire() 1435 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_write() 1459 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; in nfs_pageio_reset_write_mds() 1569 NFS_SERVER(inode)->nfs_client->cl_hostname, in nfs_writeback_done() 1854 nfss = NFS_SERVER(data->inode); in nfs_commit_release_pages()
|
D | file.c | 103 struct nfs_server *server = NFS_SERVER(inode); in nfs_revalidate_file_size() 786 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FCNTL) in nfs_lock() 829 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FLOCK) in nfs_flock()
|
D | read.c | 64 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_read() 89 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds()
|
D | fscache.c | 243 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_update_auxdata() 253 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_fscache_init_inode()
|
D | inode.c | 778 struct nfs_server *server = NFS_SERVER(inode); in nfs_getattr() 840 stat->blksize = NFS_SERVER(inode)->dtsize; in nfs_getattr() 939 server = NFS_SERVER(inode); in nfs_close_context() 1142 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in __nfs_revalidate_inode() 1282 ret = __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_revalidate_mapping() 1818 NFS_SERVER(inode)->nfs_client->cl_hostname, in nfs_update_inode() 1836 server = NFS_SERVER(inode); in nfs_update_inode()
|
D | namespace.c | 146 struct nfs_server *server = NFS_SERVER(d_inode(path->dentry)); in nfs_d_automount()
|
D | nfs4file.c | 183 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_clone_file_range()
|
D | direct.c | 484 size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE); in nfs_direct_read_schedule_iovec() 649 NFS_SERVER(inode)->pnfs_curr_ld->recover_commit_reqs(list, cinfo); in nfs_direct_write_scan_commit_list() 897 size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE); in nfs_direct_write_schedule_iovec()
|
D | callback_proc.c | 300 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) { in initiate_file_draining() 301 NFS_SERVER(ino)->pnfs_curr_ld->return_range(lo, in initiate_file_draining()
|
D | pagelist.c | 121 rpc_sleep_on(&NFS_SERVER(inode)->uoc_rpcwaitq, task, NULL); in nfs_async_iocounter_wait() 126 rpc_wake_up_queued_task(&NFS_SERVER(inode)->uoc_rpcwaitq, task); in nfs_async_iocounter_wait() 423 rpc_wake_up(&NFS_SERVER(d_inode(ctx->dentry))->uoc_rpcwaitq); in nfs_clear_request()
|
D | nfs4namespace.c | 231 new = nfs_find_best_sec(clnt, NFS_SERVER(inode), flavors); in nfs4_negotiate_security()
|
D | proc.c | 652 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, NULL); in nfs_proc_lock()
|
/linux-4.19.296/include/linux/ |
D | nfs_fs.h | 261 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) in NFS_SERVER() function 268 return NFS_SERVER(inode)->client; in NFS_CLIENT() 273 return NFS_SERVER(inode)->nfs_client->rpc_ops; in NFS_PROTO() 278 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO() 284 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO() 329 return NFS_SERVER(inode)->caps & cap; in nfs_server_capable()
|
/linux-4.19.296/fs/nfs/filelayout/ |
D | filelayout.c | 311 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics); in filelayout_read_count_stats() 407 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics); in filelayout_write_count_stats() 424 rpc_count_iostats(task, NFS_SERVER(cdata->inode)->client->cl_metrics); in filelayout_commit_count_stats() 550 d = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), &fl->deviceid, in filelayout_check_deviceid()
|
D | filelayoutdev.c | 268 struct nfs_server *s = NFS_SERVER(lseg->pls_layout->plh_inode); in nfs4_fl_prepare_ds()
|
/linux-4.19.296/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 207 node = nfs4_find_get_deviceid(NFS_SERVER(lh->plh_inode), in ff_layout_mirror_valid() 417 struct nfs_server *s = NFS_SERVER(ino); in nfs4_ff_layout_prepare_ds()
|