/linux-master/fs/nfs/ |
H A D | nfs4getroot.c | 15 struct nfs_fsinfo fsinfo; local 18 fsinfo.fattr = nfs_alloc_fattr(); 19 if (fsinfo.fattr == NULL) 23 ret = nfs4_proc_get_rootfh(server, mntfh, &fsinfo, auth_probe); 29 if (!(fsinfo.fattr->valid & NFS_ATTR_FATTR_TYPE) 30 || !S_ISDIR(fsinfo.fattr->mode)) { 37 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); 39 nfs_free_fattr(fsinfo.fattr);
|
H A D | getroot.c | 71 struct nfs_fsinfo fsinfo; local 83 fsinfo.fattr = nfs_alloc_fattr_with_label(server); 84 if (fsinfo.fattr == NULL) 87 error = server->nfs_client->rpc_ops->getroot(server, ctx->mntfh, &fsinfo); 94 inode = nfs_fhget(s, ctx->mntfh, fsinfo.fattr); 151 nfs_setsecurity(inode, fsinfo.fattr); 155 nfs_free_fattr(fsinfo.fattr);
|
H A D | proc.c | 58 struct nfs2_fsstat fsinfo; local 77 msg.rpc_resp = &fsinfo; 86 info->rtpref = fsinfo.tsize; 87 info->rtmult = fsinfo.bsize; 89 info->wtpref = fsinfo.tsize; 90 info->wtmult = fsinfo.bsize; 91 info->dtpref = fsinfo.tsize; 534 struct nfs2_fsstat fsinfo; local 538 .rpc_resp = &fsinfo, 548 stat->tbytes = (u64)fsinfo 562 struct nfs2_fsstat fsinfo; local [all...] |
H A D | client.c | 764 * Load up the server record from information gained in an fsinfo record 767 struct nfs_fsinfo *fsinfo) 774 server->rsize = nfs_io_size(fsinfo->rtpref, clp->cl_proto); 776 server->wsize = nfs_io_size(fsinfo->wtpref, clp->cl_proto); 778 if (fsinfo->rtmax >= 512 && server->rsize > fsinfo->rtmax) 779 server->rsize = nfs_io_size(fsinfo->rtmax, clp->cl_proto); 780 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax) 781 server->wsize = nfs_io_size(fsinfo 766 nfs_server_set_fsinfo(struct nfs_server *server, struct nfs_fsinfo *fsinfo) argument 841 struct nfs_fsinfo fsinfo; local [all...] |
H A D | nfs4xdr.c | 4816 struct nfs_fsinfo *fsinfo) 4824 fsinfo->nlayouttypes = be32_to_cpup(p); 4827 if (fsinfo->nlayouttypes == 0) 4831 p = xdr_inline_decode(xdr, fsinfo->nlayouttypes * 4); 4836 if (fsinfo->nlayouttypes > NFS_MAX_LAYOUT_TYPES) { 4838 __func__, fsinfo->nlayouttypes); 4839 fsinfo->nlayouttypes = NFS_MAX_LAYOUT_TYPES; 4842 for(i = 0; i < fsinfo->nlayouttypes; ++i) 4843 fsinfo->layouttype[i] = be32_to_cpup(p++); 4852 struct nfs_fsinfo *fsinfo) 4815 decode_pnfs_layout_types(struct xdr_stream *xdr, struct nfs_fsinfo *fsinfo) argument 4851 decode_attr_pnfstype(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fsinfo *fsinfo) argument 4932 decode_fsinfo(struct xdr_stream *xdr, struct nfs_fsinfo *fsinfo) argument [all...] |
H A D | pnfs.c | 161 struct nfs_fsinfo *fsinfo) 167 if (fsinfo->nlayouttypes == 0) 176 sort(fsinfo->layouttype, fsinfo->nlayouttypes, 177 sizeof(*fsinfo->layouttype), ld_cmp, NULL); 179 for (i = 0; i < fsinfo->nlayouttypes; i++) { 180 id = fsinfo->layouttype[i]; 160 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, struct nfs_fsinfo *fsinfo) argument
|
H A D | nfs4_fs.h | 334 struct nfs_fsinfo *fsinfo);
|
H A D | nfs4proc.c | 5283 struct nfs_fsinfo *fsinfo) 5290 .fsinfo = fsinfo, 5301 static int nfs4_do_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) argument 5309 err = _nfs4_do_fsinfo(server, fhandle, fsinfo); 5310 trace_nfs4_fsinfo(server, fhandle, fsinfo->fattr, err); 5312 nfs4_set_lease_period(server->nfs_client, fsinfo->lease_time * HZ); 5320 static int nfs4_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) argument 5324 nfs_fattr_init(fsinfo->fattr); 5325 error = nfs4_do_fsinfo(server, fhandle, fsinfo); 5282 _nfs4_do_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) argument 9103 nfs4_proc_get_lease_time(struct nfs_client *clp, struct nfs_fsinfo *fsinfo) argument [all...] |
H A D | nfs4state.c | 97 struct nfs_fsinfo fsinfo; local 104 status = nfs4_proc_get_lease_time(clp, &fsinfo); 106 nfs4_set_lease_period(clp, fsinfo.lease_time * HZ);
|
H A D | pnfs.h | 807 struct nfs_fsinfo *fsinfo) 805 set_pnfs_layoutdriver(struct nfs_server *s, const struct nfs_fh *mntfh, struct nfs_fsinfo *fsinfo) argument
|
H A D | nfs3proc.c | 71 dprintk("%s: call fsinfo\n", __func__); 74 dprintk("%s: reply fsinfo: %d\n", __func__, status); 806 dprintk("NFS call fsinfo\n"); 809 dprintk("NFS reply fsinfo: %d\n", status); 814 * Bare-bones access to fsinfo: this is for nfs_get_root/nfs_get_sb via 1049 .fsinfo = nfs3_proc_fsinfo,
|
H A D | nfs3xdr.c | 2539 PROC(FSINFO, getattr, fsinfo, 0),
|
/linux-master/fs/fat/ |
H A D | misc.c | 72 struct fat_boot_fsinfo *fsinfo; local 83 fsinfo = (struct fat_boot_fsinfo *)bh->b_data; 85 if (!IS_FSINFO(fsinfo)) { 88 le32_to_cpu(fsinfo->signature1), 89 le32_to_cpu(fsinfo->signature2), 93 fsinfo->free_clusters = cpu_to_le32(sbi->free_clusters); 95 fsinfo->next_cluster = cpu_to_le32(sbi->prev_free);
|
H A D | inode.c | 1722 struct fat_boot_fsinfo *fsinfo; local 1742 fsinfo = (struct fat_boot_fsinfo *)fsinfo_bh->b_data; 1743 if (!IS_FSINFO(fsinfo)) { 1746 le32_to_cpu(fsinfo->signature1), 1747 le32_to_cpu(fsinfo->signature2), 1752 sbi->free_clusters = le32_to_cpu(fsinfo->free_clusters); 1753 sbi->prev_free = le32_to_cpu(fsinfo->next_cluster);
|
/linux-master/fs/vboxsf/ |
H A D | dir.c | 217 struct shfl_fsobjinfo fsinfo; local 223 err = vboxsf_stat_dentry(dentry, &fsinfo); 229 vboxsf_init_inode(sbi, inode, &fsinfo, false);
|
/linux-master/include/linux/ |
H A D | nfs_xdr.h | 1062 struct nfs_fsinfo *fsinfo; member in struct:nfs4_fsinfo_res 1784 int (*fsinfo) (struct nfs_server *, struct nfs_fh *, member in struct:nfs_rpc_ops
|