Searched refs:NFS_SERVER (Results 1 - 25 of 31) sorted by relevance

12

/linux-master/fs/nfs/
H A Diostat.h32 nfs_inc_server_stats(NFS_SERVER(inode), stat);
46 nfs_add_server_stats(NFS_SERVER(inode), stat, addend);
H A Dnfs42.h36 struct nfs_client *c_in = (NFS_SERVER(file_inode(in)))->nfs_client;
37 struct nfs_client *c_out = (NFS_SERVER(file_inode(out)))->nfs_client;
H A Dnfs42proc.c27 struct nfs_client *clp = (NFS_SERVER(file_inode(filep)))->nfs_client;
48 struct nfs_server *server = NFS_SERVER(inode);
103 struct nfs_server *server = NFS_SERVER(inode);
147 NFS_SERVER(inode)->caps &= ~NFS_CAP_ALLOCATE;
170 NFS_SERVER(inode)->caps &= ~NFS_CAP_DEALLOCATE;
326 struct nfs_server *dst_server = NFS_SERVER(dst_inode);
327 struct nfs_server *src_server = NFS_SERVER(src_inode);
417 struct nfs_server *server = NFS_SERVER(file_inode(dst));
542 struct nfs_server *dst_server = NFS_SERVER(file_inode(dst));
589 struct nfs_server *src_server = NFS_SERVER(file_inod
[all...]
H A Dnfs4proc.c1252 switch (NFS_SERVER(inode)->change_attr_type) {
1384 struct nfs_server *server = NFS_SERVER(dir);
1725 if (!nfs4_has_session(NFS_SERVER(state->inode)->nfs_client))
1826 struct nfs_server *server = NFS_SERVER(state->inode);
1959 struct nfs_client *clp = NFS_SERVER(state->inode)->nfs_client;
2245 struct nfs_server *server = NFS_SERVER(state->inode);
2333 struct nfs_server *server = NFS_SERVER(state->inode);
2415 struct nfs_server *server = NFS_SERVER(d_inode(data->dir));
2582 struct nfs_server *server = NFS_SERVER(dir);
2642 nfs_fattr_map_and_free_names(NFS_SERVER(di
[all...]
H A Dpnfs.c272 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld;
279 struct nfs_server *server = NFS_SERVER(lo->plh_inode);
392 rpc_wake_up(&NFS_SERVER(lo->plh_inode)->roc_rpcwaitq);
558 NFS_SERVER(inode)->pnfs_curr_ld->free_lseg(lseg);
713 struct nfs_server *server = NFS_SERVER(lo->plh_inode);
1035 server = NFS_SERVER(inode);
1038 server = NFS_SERVER(parent_dir->d_inode);
1228 args->layout_type = NFS_SERVER(inode)->pnfs_curr_ld->id;
1245 struct pnfs_layoutdriver_type *ld = NFS_SERVER(ino)->pnfs_curr_ld;
1264 lrp->clp = NFS_SERVER(in
[all...]
H A Dpnfs.h483 struct pnfs_layoutdriver_type *ld = NFS_SERVER(inode)->pnfs_curr_ld;
576 if (!pnfs_enabled_sb(NFS_SERVER(inode)))
578 return NFS_SERVER(inode)->pnfs_curr_ld->flags &
585 if (!pnfs_enabled_sb(NFS_SERVER(inode)))
587 return NFS_SERVER(inode)->pnfs_curr_ld->flags & PNFS_READ_WHOLE_PAGE;
593 if (!pnfs_enabled_sb(NFS_SERVER(inode)))
595 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync);
610 struct nfs_server *nfss = NFS_SERVER(ino);
H A Dread.c67 struct nfs_server *server = NFS_SERVER(inode);
109 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize;
292 struct nfs_server *server = NFS_SERVER(inode);
H A Dfscache.h122 if (NFS_SERVER(inode)->nfs_client->rpc_ops->version == 4)
H A Dnfs3acl.c48 struct nfs_server *server = NFS_SERVER(inode);
164 struct nfs_server *server = NFS_SERVER(inode);
H A Ddelegation.c372 struct nfs_server *server = NFS_SERVER(inode);
429 struct nfs_server *server = NFS_SERVER(inode);
527 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client;
815 (nfs4_has_session(NFS_SERVER(inode)->nfs_client) &&
1045 struct nfs_server *server = NFS_SERVER(inode);
1276 struct nfs_server *server = NFS_SERVER(inode);
1351 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client;
1360 nfs_mark_test_expired_delegation(NFS_SERVER(inode), delegation);
H A Dfile.c103 struct nfs_server *server = NFS_SERVER(inode);
517 struct nfs_client *cl = NFS_SERVER(inode)->nfs_client;
550 struct nfs_client *cl = NFS_SERVER(inode)->nfs_client;
640 unsigned int mntflags = NFS_SERVER(inode)->flags;
843 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FCNTL)
877 if (NFS_SERVER(inode)->flags & NFS_MOUNT_LOCAL_FLOCK)
H A Dwrite.c413 struct nfs_server *nfss = NFS_SERVER(folio_file_mapping(folio)->host);
422 struct nfs_server *nfss = NFS_SERVER(folio_file_mapping(folio)->host);
700 unsigned int mntflags = NFS_SERVER(inode)->flags;
705 NFS_SERVER(inode)->write_congested)
1237 struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth;
1455 struct nfs_server *server = NFS_SERVER(inode);
1479 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize;
1574 NFS_SERVER(inode)->nfs_client->cl_hostname,
1815 if (NFS_SERVER(inode)->nfs_client->cl_minorversion)
1883 nfss = NFS_SERVER(dat
[all...]
H A Dnfs4file.c157 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize)
245 struct nfs_server *server = NFS_SERVER(dst_inode);
H A Dinode.c644 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode));
837 struct nfs_server *server = NFS_SERVER(inode);
922 stat->blksize = NFS_SERVER(inode)->dtsize;
1024 if (NFS_SERVER(inode)->flags & NFS_MOUNT_NOCTO)
1218 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode));
1285 return __nfs_revalidate_inode(NFS_SERVER(inode), inode);
1409 int ret = __nfs_revalidate_inode(NFS_SERVER(inode), inode);
1774 switch (NFS_SERVER(inode)->change_attr_type) {
1808 enum nfs4_change_attr_type ctype = NFS_SERVER(inode)->change_attr_type;
2060 struct nfs_server *server = NFS_SERVER(inod
[all...]
H A Ddir.c181 struct nfs_server *server = NFS_SERVER(file_inode(desc->file));
609 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS;
945 entry->fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode));
946 entry->server = NFS_SERVER(inode);
1509 if (NFS_SERVER(dir)->flags & NFS_MOUNT_LOOKUP_CACHE_NONE)
1517 if (__nfs_revalidate_inode(NFS_SERVER(dir), dir) < 0)
1547 struct nfs_server *server = NFS_SERVER(inode);
1613 if (NFS_SERVER(dir)->flags & NFS_MOUNT_LOOKUP_CACHE_NONEG)
1677 fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode));
1690 if (NFS_SERVER(inod
[all...]
H A Dnfs3proc.c217 if (NFS_SERVER(inode)->flags & NFS_MOUNT_SOFTREVAL)
850 struct nfs_server *server = NFS_SERVER(inode);
870 hdr->args.replen = NFS_SERVER(hdr->inode)->read_hdrsize;
974 status = nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, l_ctx);
H A Dpagelist.c177 rpc_sleep_on(&NFS_SERVER(inode)->uoc_rpcwaitq, task, NULL);
182 rpc_wake_up_queued_task(&NFS_SERVER(inode)->uoc_rpcwaitq, task);
662 rpc_wake_up(&NFS_SERVER(d_inode(ctx->dentry))->uoc_rpcwaitq);
1071 if (NFS_SERVER(hdr->inode)->nfs_client->cl_minorversion)
1227 if (NFS_SERVER(desc->pg_inode)->flags & NFS_MOUNT_SOFTERR)
H A Dcallback_proc.c297 if (NFS_SERVER(ino)->pnfs_curr_ld->return_range) {
298 NFS_SERVER(ino)->pnfs_curr_ld->return_range(lo,
H A Dfscache.c166 struct nfs_server *nfss = NFS_SERVER(inode);
H A Dnfs4namespace.c281 new = nfs_find_best_sec(clnt, NFS_SERVER(inode), flavors);
H A Ddirect.c332 size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE);
842 size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE);
/linux-master/include/linux/
H A Dnfs_fs.h337 static inline struct nfs_server *NFS_SERVER(const struct inode *inode) function
344 return NFS_SERVER(inode)->client;
349 return NFS_SERVER(inode)->nfs_client->rpc_ops;
354 struct nfs_server *nfss = NFS_SERVER(inode);
360 struct nfs_server *nfss = NFS_SERVER(inode);
394 return NFS_SERVER(inode)->caps & cap;
/linux-master/fs/nfs/filelayout/
H A Dfilelayout.c312 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics);
408 rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics);
425 rpc_count_iostats(task, NFS_SERVER(cdata->inode)->client->cl_metrics);
551 d = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), &fl->deviceid,
H A Dfilelayoutdev.c268 struct nfs_server *s = NFS_SERVER(lseg->pls_layout->plh_inode);
/linux-master/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c331 node = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode),
375 struct nfs_server *s = NFS_SERVER(ino);

Completed in 443 milliseconds

12