Home
last modified time | relevance | path

Searched refs:NFS_SERVER (Results 1 – 25 of 32) sorted by relevance

12

/linux/fs/nfs/
A Diostat.h35 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 Dnfs42proc.c48 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate()
98 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_fallocate()
142 NFS_SERVER(inode)->caps &= ~NFS_CAP_ALLOCATE; in nfs42_proc_allocate()
165 NFS_SERVER(inode)->caps &= ~NFS_CAP_DEALLOCATE; in nfs42_proc_deallocate()
669 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_llseek()
737 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layoutstat_prepare()
905 struct nfs_server *server = NFS_SERVER(inode); in nfs42_layouterror_prepare()
1131 NFS_SERVER(inode)->caps &= ~NFS_CAP_CLONE; in nfs42_proc_clone()
1152 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_removexattr()
1177 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_setxattr()
[all …]
A Dnfs4proc.c1349 struct nfs_server *server = NFS_SERVER(dir); in nfs4_opendata_alloc()
2553 struct nfs_server *server = NFS_SERVER(dir); in nfs4_run_open_task()
2674 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_open()
3215 struct nfs_server *server = NFS_SERVER(dir); in nfs4_do_open()
4531 …return nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), &msg, &args.seq_args, &res.seq… in _nfs4_proc_readlink()
4851 int status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg, in nfs4_do_create()
5375 NFS_SERVER(inode), task->tk_status, in nfs4_write_done_cb()
5815 ret = nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), in __nfs4_get_acl_uncached()
6701 p->server = NFS_SERVER(inode); in nfs4_alloc_unlockdata()
8116 .seq_server = NFS_SERVER(dir), in _nfs4_proc_secinfo()
[all …]
A Dpnfs.c1020 server = NFS_SERVER(inode); in pnfs_find_server()
1023 server = NFS_SERVER(parent_dir->d_inode); in pnfs_find_server()
1249 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn()
1961 struct nfs_server *server = NFS_SERVER(ino); in pnfs_update_layout()
1971 if (!pnfs_enabled_sb(NFS_SERVER(ino))) { in pnfs_update_layout()
2222 _add_to_server_list(lo, NFS_SERVER(ino)); in _pnfs_grab_empty_layout()
2311 struct nfs_server *srv = NFS_SERVER(ino); in pnfs_parse_lgopen()
2859 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_write_data()
2984 struct nfs_server *nfss = NFS_SERVER(inode); in pnfs_try_to_read_data()
3212 data->res.server = NFS_SERVER(inode); in pnfs_layoutcommit_inode()
[all …]
A Dnfs42.h35 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 Dpnfs.h475 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld; in pnfs_get_ds_info()
568 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_ld_layoutret_on_setattr()
570 return NFS_SERVER(inode)->pnfs_curr_ld->flags & in pnfs_ld_layoutret_on_setattr()
577 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_ld_read_whole_page()
579 return NFS_SERVER(inode)->pnfs_curr_ld->flags & PNFS_READ_WHOLE_PAGE; in pnfs_ld_read_whole_page()
585 if (!pnfs_enabled_sb(NFS_SERVER(inode))) in pnfs_sync_inode()
587 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode()
602 struct nfs_server *nfss = NFS_SERVER(ino); in pnfs_return_layout()
A Ddir.c540 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS; in nfs_readdir_xdr_filler()
833 size_t dtsize = NFS_SERVER(inode)->dtsize; in nfs_readdir_xdr_to_array()
842 entry->server = NFS_SERVER(inode); in nfs_readdir_xdr_to_array()
944 unsigned int dtsize = NFS_SERVER(dir)->dtsize; in nfs_readdir_dont_search_cache()
1346 if (__nfs_revalidate_inode(NFS_SERVER(dir), dir) < 0) in nfs_check_verifier()
1376 struct nfs_server *server = NFS_SERVER(inode); in nfs_lookup_verify_inode()
1514 if (NFS_SERVER(inode)->flags & NFS_MOUNT_SOFTREVAL) in nfs_lookup_revalidate_dentry()
1771 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(dir)); in nfs_lookup()
1897 if (dentry->d_name.len > NFS_SERVER(dir)->namelen) in nfs_atomic_open()
1901 struct nfs_server *server = NFS_SERVER(dir); in nfs_atomic_open()
[all …]
A Ddelegation.c378 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation()
435 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation()
532 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return()
820 (nfs4_has_session(NFS_SERVER(inode)->nfs_client) && in nfs4_inode_make_writeable()
1050 struct nfs_server *server = NFS_SERVER(inode); in nfs_async_inode_return_delegation()
1281 struct nfs_server *server = NFS_SERVER(inode); in nfs_delegation_test_free_expired()
1352 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_inode_find_delegation_state_and_recover()
1361 nfs_mark_test_expired_delegation(NFS_SERVER(inode), delegation); in nfs_inode_find_delegation_state_and_recover()
A Dread.c65 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_read()
107 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds()
297 unsigned int rsize = NFS_SERVER(inode)->rsize; in readpage_async_filler()
A Dnfs4file.c157 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range()
245 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_remap_file_range()
329 server = NFS_SERVER(ss_mnt->mnt_root->d_inode); in __nfs42_ssc_open()
A Dinode.c652 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode)); in nfs_setattr()
838 struct nfs_server *server = NFS_SERVER(inode); in nfs_getattr()
921 stat->blksize = NFS_SERVER(inode)->dtsize; in nfs_getattr()
1023 if (NFS_SERVER(inode)->flags & NFS_MOUNT_NOCTO) in nfs_close_context()
1217 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode)); in __nfs_revalidate_inode()
1284 return __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_revalidate_inode()
1407 int ret = __nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs_revalidate_mapping()
1772 switch (NFS_SERVER(inode)->change_attr_type) { in nfs_inode_attrs_cmp()
1806 enum nfs4_change_attr_type ctype = NFS_SERVER(inode)->change_attr_type; in nfs_inode_finish_partial_attr_update()
1992 struct nfs_server *server = NFS_SERVER(inode); in nfs_update_inode()
[all …]
A Dfile.c104 struct nfs_server *server = NFS_SERVER(inode); in nfs_revalidate_file_size()
609 unsigned int mntflags = NFS_SERVER(inode)->flags; in nfs_file_write()
812 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FCNTL) in nfs_lock()
846 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FLOCK) in nfs_flock()
A Dwrite.c412 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_set_page_writeback()
425 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_end_page_writeback()
717 unsigned int mntflags = NFS_SERVER(inode)->flags; in nfs_writepages()
1247 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth; in nfs_ctx_key_to_expire()
1462 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_write()
1486 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; in nfs_pageio_reset_write_mds()
1595 NFS_SERVER(inode)->nfs_client->cl_hostname, in nfs_writeback_done()
1827 if (NFS_SERVER(inode)->nfs_client->cl_minorversion) in nfs_commit_list()
1893 nfss = NFS_SERVER(data->inode); in nfs_commit_release_pages()
A Dfscache-index.c92 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_inode_check_aux()
A Dnfs3acl.c49 struct nfs_server *server = NFS_SERVER(inode); in nfs3_get_acl()
165 struct nfs_server *server = NFS_SERVER(inode); in __nfs3_proc_setacls()
A Dpagelist.c138 rpc_sleep_on(&NFS_SERVER(inode)->uoc_rpcwaitq, task, NULL); in nfs_async_iocounter_wait()
143 rpc_wake_up_queued_task(&NFS_SERVER(inode)->uoc_rpcwaitq, task); in nfs_async_iocounter_wait()
566 rpc_wake_up(&NFS_SERVER(d_inode(ctx->dentry))->uoc_rpcwaitq); in nfs_clear_request()
958 if (NFS_SERVER(hdr->inode)->nfs_client->cl_minorversion) in nfs_generic_pg_pgios()
1104 if (NFS_SERVER(desc->pg_inode)->flags & NFS_MOUNT_SOFTERR) in nfs_pageio_do_add_request()
A Dnfs3proc.c216 if (NFS_SERVER(inode)->flags & NFS_MOUNT_SOFTREVAL) in nfs3_proc_lookupp()
847 struct nfs_server *server = NFS_SERVER(inode); in nfs3_read_done()
867 hdr->args.replen = NFS_SERVER(hdr->inode)->read_hdrsize; in nfs3_proc_read_setup()
971 status = nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, l_ctx); in nfs3_proc_lock()
A Dfscache.c237 if (NFS_SERVER(&nfsi->vfs_inode)->nfs_client->rpc_ops->version == 4) in nfs_fscache_update_auxdata()
247 struct nfs_server *nfss = NFS_SERVER(inode); in nfs_fscache_init_inode()
A Dcallback_proc.c294 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) { in initiate_file_draining()
295 NFS_SERVER(ino)->pnfs_curr_ld->return_range(lo, in initiate_file_draining()
A Dnamespace.c150 struct nfs_server *server = NFS_SERVER(d_inode(path->dentry)); in nfs_d_automount()
A Ddirect.c355 size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE); in nfs_direct_read_schedule_iovec()
798 size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE); in nfs_direct_write_schedule_iovec()
/linux/include/linux/
A Dnfs_fs.h300 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()
368 return NFS_SERVER(inode)->caps & cap; in nfs_server_capable()
/linux/fs/nfs/filelayout/
A Dfilelayout.c310 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics); in filelayout_read_count_stats()
406 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics); in filelayout_write_count_stats()
423 rpc_count_iostats(task, NFS_SERVER(cdata->inode)->client->cl_metrics); in filelayout_commit_count_stats()
549 d = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), &fl->deviceid, in filelayout_check_deviceid()
A Dfilelayoutdev.c268 struct nfs_server *s = NFS_SERVER(lseg->pls_layout->plh_inode); in nfs4_fl_prepare_ds()
/linux/fs/nfs/flexfilelayout/
A Dflexfilelayoutdev.c329 node = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), in ff_layout_init_mirror_ds()
373 struct nfs_server *s = NFS_SERVER(ino); in nfs4_ff_layout_prepare_ds()

Completed in 85 milliseconds

12