/linux-6.3-rc2/fs/nfs/ |
A 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()
|
A D | nfs42proc.c | 48 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate() 102 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate() 146 NFS_SERVER(inode)->caps &= ~NFS_CAP_ALLOCATE; in nfs42_proc_allocate() 169 NFS_SERVER(inode)->caps &= ~NFS_CAP_DEALLOCATE; in nfs42_proc_deallocate() 676 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_llseek() 744 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layoutstat_prepare() 912 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layouterror_prepare() 1145 NFS_SERVER(inode)->caps &= ~NFS_CAP_CLONE; in nfs42_proc_clone() 1166 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_removexattr() 1192 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_setxattr() [all …]
|
A D | pnfs.c | 1035 server = NFS_SERVER(inode); in pnfs_find_server() 1038 server = NFS_SERVER(parent_dir->d_inode); in pnfs_find_server() 1264 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn() 1977 struct nfs_server *server = NFS_SERVER(ino); in pnfs_update_layout() 1987 if (!pnfs_enabled_sb(NFS_SERVER(ino))) { in pnfs_update_layout() 2246 _add_to_server_list(lo, NFS_SERVER(ino)); in _pnfs_grab_empty_layout() 2335 struct nfs_server *srv = NFS_SERVER(ino); in pnfs_parse_lgopen() 2880 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data() 3005 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_read_data() 3233 data->res.server = NFS_SERVER(inode); in pnfs_layoutcommit_inode() [all …]
|
A D | nfs42.h | 35 struct nfs_client *c_in = (NFS_SERVER(file_inode(in)))->nfs_client; in nfs42_files_from_same_server() 36 struct nfs_client *c_out = (NFS_SERVER(file_inode(out)))->nfs_client; in nfs42_files_from_same_server()
|
A D | nfs4proc.c | 1356 struct nfs_server *server = NFS_SERVER(dir); in nfs4_opendata_alloc() 2555 struct nfs_server *server = NFS_SERVER(dir); in nfs4_run_open_task() 2670 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_open() 3222 struct nfs_server *server = NFS_SERVER(dir); in nfs4_do_open() 4664 …return nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), &msg, &args.seq_args, &res.seq… in _nfs4_proc_readlink() 4987 int status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg, in nfs4_do_create() 5511 NFS_SERVER(inode), task->tk_status, in nfs4_write_done_cb() 5967 ret = nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), in __nfs4_get_acl_uncached() 6863 p->server = NFS_SERVER(inode); in nfs4_alloc_unlockdata() 8338 .seq_server = NFS_SERVER(dir), in _nfs4_proc_secinfo() [all …]
|
A D | pnfs.h | 480 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_get_ds_info() 573 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_ld_layoutret_on_setattr() 575 return NFS_SERVER(inode)->pnfs_curr_ld->flags & in pnfs_ld_layoutret_on_setattr() 582 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_ld_read_whole_page() 584 return NFS_SERVER(inode)->pnfs_curr_ld->flags & PNFS_READ_WHOLE_PAGE; in pnfs_ld_read_whole_page() 590 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_sync_inode() 592 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode() 607 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout()
|
A D | file.c | 103 struct nfs_server *server = NFS_SERVER(inode); in nfs_revalidate_file_size() 504 struct nfs_client *cl = NFS_SERVER(inode)->nfs_client; in nfs_swap_activate() 537 struct nfs_client *cl = NFS_SERVER(inode)->nfs_client; in nfs_swap_deactivate() 628 unsigned int mntflags = NFS_SERVER(inode)->flags; in nfs_file_write() 835 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FCNTL) in nfs_lock() 869 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FLOCK) in nfs_flock()
|
A D | delegation.c | 376 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation() 433 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation() 530 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return() 818 (nfs4_has_session(NFS_SERVER(inode)->nfs_client) && in nfs4_inode_make_writeable() 1048 struct nfs_server *server = NFS_SERVER(inode); in nfs_async_inode_return_delegation() 1279 struct nfs_server *server = NFS_SERVER(inode); in nfs_delegation_test_free_expired() 1350 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_inode_find_delegation_state_and_recover() 1359 nfs_mark_test_expired_delegation(NFS_SERVER(inode), delegation); in nfs_inode_find_delegation_state_and_recover()
|
A D | read.c | 64 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_read() 106 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds() 286 struct nfs_server *server = NFS_SERVER(inode); in readpage_async_filler()
|
A D | write.c | 412 struct nfs_server *nfss = NFS_SERVER(folio_file_mapping(folio)->host); in nfs_folio_set_writeback() 421 struct nfs_server *nfss = NFS_SERVER(folio_file_mapping(folio)->host); in nfs_folio_end_writeback() 668 NFS_SERVER(inode)->write_congested) in nfs_writepage_locked() 712 unsigned int mntflags = NFS_SERVER(inode)->flags; in nfs_writepages() 717 NFS_SERVER(inode)->write_congested) in nfs_writepages() 1247 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth; in nfs_ctx_key_to_expire() 1465 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_write() 1489 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; in nfs_pageio_reset_write_mds() 1584 NFS_SERVER(inode)->nfs_client->cl_hostname, in nfs_writeback_done() 1825 if (NFS_SERVER(inode)->nfs_client->cl_minorversion) in nfs_commit_list() [all …]
|
A D | dir.c | 612 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS; in nfs_readdir_xdr_filler() 948 entry->server = NFS_SERVER(inode); in nfs_readdir_xdr_to_array() 1512 if (__nfs_revalidate_inode(NFS_SERVER(dir), dir) < 0) in nfs_check_verifier() 1542 struct nfs_server *server = NFS_SERVER(inode); in nfs_lookup_verify_inode() 1672 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode)); in nfs_lookup_revalidate_dentry() 1685 if (NFS_SERVER(inode)->flags & NFS_MOUNT_SOFTREVAL) in nfs_lookup_revalidate_dentry() 1949 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(dir)); in nfs_lookup() 2077 if (dentry->d_name.len > NFS_SERVER(dir)->namelen) in nfs_atomic_open() 2081 struct nfs_server *server = NFS_SERVER(dir); in nfs_atomic_open() 3200 nfs_access_xattr_mask(NFS_SERVER(inode)); in nfs_do_access() [all …]
|
A D | inode.c | 643 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode)); in nfs_setattr() 837 struct nfs_server *server = NFS_SERVER(inode); in nfs_getattr() 922 stat->blksize = NFS_SERVER(inode)->dtsize; in nfs_getattr() 1024 if (NFS_SERVER(inode)->flags & NFS_MOUNT_NOCTO) in nfs_close_context() 1218 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode)); in __nfs_revalidate_inode() 1285 return __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_revalidate_inode() 1409 int ret = __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_revalidate_mapping() 1774 switch (NFS_SERVER(inode)->change_attr_type) { in nfs_inode_attrs_cmp() 1808 enum nfs4_change_attr_type ctype = NFS_SERVER(inode)->change_attr_type; in nfs_inode_finish_partial_attr_update() 1994 struct nfs_server *server = NFS_SERVER(inode); in nfs_update_inode() [all …]
|
A D | nfs3acl.c | 49 struct nfs_server *server = NFS_SERVER(inode); in nfs3_get_acl() 165 struct nfs_server *server = NFS_SERVER(inode); in __nfs3_proc_setacls()
|
A D | fscache.h | 94 if (NFS_SERVER(inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_update_auxdata()
|
A D | pagelist.c | 175 rpc_sleep_on(&NFS_SERVER(inode)->uoc_rpcwaitq, task, NULL); in nfs_async_iocounter_wait() 180 rpc_wake_up_queued_task(&NFS_SERVER(inode)->uoc_rpcwaitq, task); in nfs_async_iocounter_wait() 660 rpc_wake_up(&NFS_SERVER(d_inode(ctx->dentry))->uoc_rpcwaitq); in nfs_clear_request() 1068 if (NFS_SERVER(hdr->inode)->nfs_client->cl_minorversion) in nfs_generic_pg_pgios() 1224 if (NFS_SERVER(desc->pg_inode)->flags & NFS_MOUNT_SOFTERR) in nfs_pageio_do_add_request()
|
A D | nfs4file.c | 156 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range() 244 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_remap_file_range()
|
A D | nfs3proc.c | 217 if (NFS_SERVER(inode)->flags & NFS_MOUNT_SOFTREVAL) in nfs3_proc_lookupp() 849 struct nfs_server *server = NFS_SERVER(inode); in nfs3_read_done() 869 hdr->args.replen = NFS_SERVER(hdr->inode)->read_hdrsize; in nfs3_proc_read_setup() 973 status = nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, l_ctx); in nfs3_proc_lock()
|
A D | callback_proc.c | 295 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) { in initiate_file_draining() 296 NFS_SERVER(ino)->pnfs_curr_ld->return_range(lo, in initiate_file_draining()
|
A D | fscache.c | 163 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_fscache_init_inode()
|
A D | direct.c | 321 size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE); in nfs_direct_read_schedule_iovec() 775 size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE); in nfs_direct_write_schedule_iovec()
|
A D | nfs4namespace.c | 281 new = nfs_find_best_sec(clnt, NFS_SERVER(inode), flavors); in nfs4_negotiate_security()
|
/linux-6.3-rc2/include/linux/ |
A D | nfs_fs.h | 300 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) in NFS_SERVER() function 307 return NFS_SERVER(inode)->client; in NFS_CLIENT() 312 return NFS_SERVER(inode)->nfs_client->rpc_ops; in NFS_PROTO() 317 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MINATTRTIMEO() 323 struct nfs_server *nfss = NFS_SERVER(inode); in NFS_MAXATTRTIMEO() 366 return NFS_SERVER(inode)->caps & cap; in nfs_server_capable()
|
/linux-6.3-rc2/fs/nfs/filelayout/ |
A D | filelayout.c | 312 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics); in filelayout_read_count_stats() 408 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics); in filelayout_write_count_stats() 425 rpc_count_iostats(task, NFS_SERVER(cdata->inode)->client->cl_metrics); in filelayout_commit_count_stats() 551 d = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), &fl->deviceid, in filelayout_check_deviceid()
|
A D | filelayoutdev.c | 266 struct nfs_server *s = NFS_SERVER(lseg->pls_layout->plh_inode); in nfs4_fl_prepare_ds()
|
/linux-6.3-rc2/fs/nfs/flexfilelayout/ |
A D | flexfilelayoutdev.c | 331 node = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), in ff_layout_init_mirror_ds() 375 struct nfs_server *s = NFS_SERVER(ino); in nfs4_ff_layout_prepare_ds()
|