/linux-4.1.27/fs/nfs/ |
D | iostat.h | 34 nfs_inc_server_stats(NFS_SERVER(inode), stat); in nfs_inc_stats() 48 nfs_add_server_stats(NFS_SERVER(inode), stat, addend); in nfs_add_stats() 56 this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend); in nfs_add_fscache_stats() 61 this_cpu_inc(NFS_SERVER(inode)->io_stats->fscache[stat]); in nfs_inc_fscache_stats()
|
D | pnfs.h | 412 return NFS_SERVER(inode)->pnfs_curr_ld->commit_pagelist(inode, mds_pages, how, cinfo); in pnfs_commit_list() 418 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_get_ds_info() 436 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_mark_request_commit() 448 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_clear_request_commit() 463 return NFS_SERVER(inode)->pnfs_curr_ld->scan_commit_lists(cinfo, max); in pnfs_scan_commit_lists() 470 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_search_commit_reqs() 481 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_ld_layoutret_on_setattr() 483 return NFS_SERVER(inode)->pnfs_curr_ld->flags & in pnfs_ld_layoutret_on_setattr() 490 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_ld_read_whole_page() 492 return NFS_SERVER(inode)->pnfs_curr_ld->flags & PNFS_READ_WHOLE_PAGE; in pnfs_ld_read_whole_page() [all …]
|
D | nfs42proc.c | 39 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate() 74 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_fallocate() 103 NFS_SERVER(inode)->caps &= ~NFS_CAP_ALLOCATE; in nfs42_proc_allocate() 127 NFS_SERVER(inode)->caps &= ~NFS_CAP_DEALLOCATE; in nfs42_proc_deallocate() 148 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_llseek()
|
D | nfs4proc.c | 1010 struct nfs_server *server = NFS_SERVER(dir); in nfs4_opendata_alloc() 1423 struct nfs_client *clp = NFS_SERVER(state->inode)->nfs_client; in nfs4_opendata_check_deleg() 1660 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_reclaim() 1742 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_open_delegation_recall() 1808 struct nfs_server *server = NFS_SERVER(d_inode(data->dir)); in _nfs4_proc_open_confirm() 1966 struct nfs_server *server = NFS_SERVER(dir); in nfs4_run_open_task() 2020 nfs_fattr_map_and_free_names(NFS_SERVER(dir), &data->f_attr); in _nfs4_recover_proc_open() 2082 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_open() 2146 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_expired() 2206 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_delegation_stateid() [all …]
|
D | pnfs.c | 208 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld; in pnfs_alloc_layout_hdr() 215 struct nfs_server *server = NFS_SERVER(lo->plh_inode); in pnfs_free_layout_hdr() 329 NFS_SERVER(ino)->pnfs_curr_ld->free_lseg(lseg); in pnfs_free_lseg() 344 rpc_wake_up(&NFS_SERVER(inode)->roc_rpcwaitq); in pnfs_layout_remove_lseg() 864 struct nfs_server *server = NFS_SERVER(ino); in send_layoutget() 942 rpc_wake_up(&NFS_SERVER(ino)->roc_rpcwaitq); in pnfs_send_layoutreturn() 949 lrp->args.layout_type = NFS_SERVER(ino)->pnfs_curr_ld->id; in pnfs_send_layoutreturn() 955 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn() 997 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) { in _pnfs_return_layout() 1003 NFS_SERVER(ino)->pnfs_curr_ld->return_range(lo, &range); in _pnfs_return_layout() [all …]
|
D | file.c | 102 struct nfs_server *server = NFS_SERVER(inode); in nfs_revalidate_file_size() 492 struct nfs_server *nfss = NFS_SERVER(mapping->host); in nfs_release_page() 850 if (is_time_granular(&NFS_SERVER(inode)->time_delta)) in do_setlk() 851 __nfs_revalidate_inode(NFS_SERVER(inode), inode); in do_setlk() 878 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FCNTL) in nfs_lock() 921 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FLOCK) in nfs_flock()
|
D | delegation.c | 298 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation() 328 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation() 405 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return() 427 if (!nfs_detach_delegation(nfsi, delegation, NFS_SERVER(inode))) in nfs_end_delegation_return() 650 nfs_mark_return_delegation(NFS_SERVER(inode), delegation); in nfs_revoke_delegation() 718 struct nfs_server *server = NFS_SERVER(inode); in nfs_async_inode_return_delegation()
|
D | dir.c | 126 __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_opendir() 381 NFS_SERVER(inode)->dtsize, desc->plus); in nfs_readdir_xdr_filler() 385 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS; in nfs_readdir_xdr_filler() 638 entry.server = NFS_SERVER(inode); in nfs_readdir_xdr_to_array() 642 entry.label = nfs4_label_alloc(NFS_SERVER(inode), GFP_NOWAIT); in nfs_readdir_xdr_to_array() 1018 if (NFS_SERVER(dir)->flags & NFS_MOUNT_LOOKUP_CACHE_NONE) in nfs_check_verifier() 1024 ret = nfs_revalidate_inode_rcu(NFS_SERVER(dir), dir); in nfs_check_verifier() 1026 ret = nfs_revalidate_inode(NFS_SERVER(dir), dir); in nfs_check_verifier() 1056 struct nfs_server *server = NFS_SERVER(inode); in nfs_lookup_verify_inode() 1096 if (NFS_SERVER(dir)->flags & NFS_MOUNT_LOOKUP_CACHE_NONEG) in nfs_neg_need_reval() [all …]
|
D | fscache-index.c | 213 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_get_aux() 245 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_check_aux()
|
D | nfs3acl.c | 16 struct nfs_server *server = NFS_SERVER(inode); in nfs3_get_acl() 120 struct nfs_server *server = NFS_SERVER(inode); in __nfs3_proc_setacls()
|
D | write.c | 267 struct nfs_server *nfss = NFS_SERVER(page_file_mapping(page)->host); in nfs_set_page_writeback() 282 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_end_page_writeback() 1142 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth; in nfs_key_timeout_notify() 1281 nfs4_state_protect_write(NFS_SERVER(hdr->inode)->nfs_client, in nfs_initiate_write() 1318 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_write() 1342 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; in nfs_pageio_reset_write_mds() 1454 NFS_SERVER(inode)->nfs_client->cl_hostname, in nfs_writeback_done() 1567 nfs4_state_protect(NFS_SERVER(data->inode)->nfs_client, in nfs_initiate_commit() 1725 nfss = NFS_SERVER(data->inode); in nfs_commit_release_pages()
|
D | read.c | 59 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_read() 84 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds()
|
D | callback_proc.c | 189 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) { in initiate_file_draining() 190 NFS_SERVER(ino)->pnfs_curr_ld->return_range(lo, in initiate_file_draining()
|
D | inode.c | 672 struct nfs_server *server = NFS_SERVER(inode); in nfs_getattr() 774 server = NFS_SERVER(inode); in nfs_close_context() 954 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in __nfs_revalidate_inode() 1094 ret = __nfs_revalidate_inode(NFS_SERVER(inode), inode); in __nfs_revalidate_mapping() 1640 NFS_SERVER(inode)->nfs_client->cl_hostname, in nfs_update_inode() 1658 server = NFS_SERVER(inode); in nfs_update_inode()
|
D | namespace.c | 142 struct nfs_server *server = NFS_SERVER(d_inode(path->dentry)); in nfs_d_automount()
|
D | direct.c | 479 size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE); in nfs_direct_read_schedule_iovec() 641 NFS_SERVER(inode)->pnfs_curr_ld->recover_commit_reqs(list, cinfo); in nfs_direct_write_scan_commit_list() 865 size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE); in nfs_direct_write_schedule_iovec()
|
D | nfs4namespace.c | 230 new = nfs_find_best_sec(clnt, NFS_SERVER(inode), flavors); in nfs4_negotiate_security()
|
D | proc.c | 641 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl); in nfs_proc_lock()
|
D | nfs4client.c | 128 rpc_authflavor_t flavor = NFS_SERVER(inode)->client->cl_auth->au_flavor; in nfs4_find_or_create_ds_client()
|
D | nfs3proc.c | 873 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl); in nfs3_proc_lock()
|
D | nfs4xdr.c | 1962 NFS_SERVER(args->inode)->pnfs_curr_ld->id); in encode_layoutcommit() 1975 *p++ = cpu_to_be32(NFS_SERVER(args->inode)->pnfs_curr_ld->id);/* type */ in encode_layoutcommit() 1977 if (NFS_SERVER(inode)->pnfs_curr_ld->encode_layoutcommit) { in encode_layoutcommit() 1978 NFS_SERVER(inode)->pnfs_curr_ld->encode_layoutcommit( in encode_layoutcommit() 2010 if (NFS_SERVER(args->inode)->pnfs_curr_ld->encode_layoutreturn) { in encode_layoutreturn() 2011 NFS_SERVER(args->inode)->pnfs_curr_ld->encode_layoutreturn( in encode_layoutreturn()
|
D | nfs4state.c | 1339 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_inode_find_state_and_recover()
|
/linux-4.1.27/include/linux/ |
D | nfs_fs.h | 238 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) in NFS_SERVER() function 245 return NFS_SERVER(inode)->client; in NFS_CLIENT() 250 return NFS_SERVER(inode)->nfs_client->rpc_ops; in NFS_PROTO() 255 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO() 261 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO() 302 return NFS_SERVER(inode)->caps & cap; in nfs_server_capable()
|
/linux-4.1.27/fs/nfs/filelayout/ |
D | filelayout.c | 128 struct nfs_server *mds_server = NFS_SERVER(inode); in filelayout_async_handle_error() 333 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics); in filelayout_read_count_stats() 424 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics); in filelayout_write_count_stats() 441 rpc_count_iostats(task, NFS_SERVER(cdata->inode)->client->cl_metrics); in filelayout_commit_count_stats() 595 d = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), id, in filelayout_check_layout()
|
D | filelayoutdev.c | 268 struct nfs_server *s = NFS_SERVER(lseg->pls_layout->plh_inode); in nfs4_fl_prepare_ds()
|
/linux-4.1.27/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 367 struct nfs_server *s = NFS_SERVER(ino); in nfs4_ff_layout_prepare_ds()
|
D | flexfilelayout.c | 283 idnode = nfs4_find_get_deviceid(NFS_SERVER(lh->plh_inode), in ff_layout_alloc_lseg() 679 struct nfs_server *mds_server = NFS_SERVER(inode); in ff_layout_async_handle_error_v4()
|
/linux-4.1.27/fs/nfs/objlayout/ |
D | objio_osd.c | 216 struct nfs_server *server = NFS_SERVER(pnfslay->plh_inode); in objio_alloc_lseg()
|
/linux-4.1.27/fs/nfs/blocklayout/ |
D | blocklayout.c | 566 be->be_device = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), &id, in bl_alloc_extent()
|