/linux/fs/nfs/ |
H A D | nfs4getroot.c | 15 struct nfs_fsinfo fsinfo; in nfs4_get_rootfh() local 18 fsinfo.fattr = nfs_alloc_fattr(); in nfs4_get_rootfh() 19 if (fsinfo.fattr == NULL) in nfs4_get_rootfh() 23 ret = nfs4_proc_get_rootfh(server, mntfh, &fsinfo, auth_probe); in nfs4_get_rootfh() 29 if (!(fsinfo.fattr->valid & NFS_ATTR_FATTR_TYPE) in nfs4_get_rootfh() 30 || !S_ISDIR(fsinfo.fattr->mode)) { in nfs4_get_rootfh() 37 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh() 39 nfs_free_fattr(fsinfo.fattr); in nfs4_get_rootfh()
|
H A D | proc.c | 58 struct nfs2_fsstat fsinfo; in nfs_proc_get_root() local 77 msg.rpc_resp = &fsinfo; in nfs_proc_get_root() 86 info->rtpref = fsinfo.tsize; in nfs_proc_get_root() 87 info->rtmult = fsinfo.bsize; in nfs_proc_get_root() 89 info->wtpref = fsinfo.tsize; in nfs_proc_get_root() 90 info->wtmult = fsinfo.bsize; in nfs_proc_get_root() 91 info->dtpref = fsinfo.tsize; in nfs_proc_get_root() 534 struct nfs2_fsstat fsinfo; in nfs_proc_statfs() local 538 .rpc_resp = &fsinfo, in nfs_proc_statfs() 548 stat->tbytes = (u64)fsinfo.blocks * fsinfo.bsize; in nfs_proc_statfs() [all …]
|
H A D | getroot.c | 71 struct nfs_fsinfo fsinfo; in nfs_get_root() local 83 fsinfo.fattr = nfs_alloc_fattr_with_label(server); in nfs_get_root() 84 if (fsinfo.fattr == NULL) in nfs_get_root() 87 error = server->nfs_client->rpc_ops->getroot(server, ctx->mntfh, &fsinfo); in nfs_get_root() 94 inode = nfs_fhget(s, ctx->mntfh, fsinfo.fattr); in nfs_get_root() 151 nfs_setsecurity(inode, fsinfo.fattr); in nfs_get_root() 155 nfs_free_fattr(fsinfo.fattr); in nfs_get_root()
|
H A D | nfs4xdr.c | 4858 struct nfs_fsinfo *fsinfo) in decode_pnfs_layout_types() argument 4866 fsinfo->nlayouttypes = be32_to_cpup(p); in decode_pnfs_layout_types() 4869 if (fsinfo->nlayouttypes == 0) in decode_pnfs_layout_types() 4873 p = xdr_inline_decode(xdr, fsinfo->nlayouttypes * 4); in decode_pnfs_layout_types() 4878 if (fsinfo->nlayouttypes > NFS_MAX_LAYOUT_TYPES) { in decode_pnfs_layout_types() 4880 __func__, fsinfo->nlayouttypes); in decode_pnfs_layout_types() 4881 fsinfo->nlayouttypes = NFS_MAX_LAYOUT_TYPES; in decode_pnfs_layout_types() 4884 for(i = 0; i < fsinfo->nlayouttypes; ++i) in decode_pnfs_layout_types() 4885 fsinfo->layouttype[i] = be32_to_cpup(p++); in decode_pnfs_layout_types() 4894 struct nfs_fsinfo *fsinfo) in decode_attr_pnfstype() argument [all …]
|
H A D | pnfs.c | 162 struct nfs_fsinfo *fsinfo) in set_pnfs_layoutdriver() argument 168 if (fsinfo->nlayouttypes == 0) in set_pnfs_layoutdriver() 177 sort(fsinfo->layouttype, fsinfo->nlayouttypes, in set_pnfs_layoutdriver() 178 sizeof(*fsinfo->layouttype), ld_cmp, NULL); in set_pnfs_layoutdriver() 180 for (i = 0; i < fsinfo->nlayouttypes; i++) { in set_pnfs_layoutdriver() 181 id = fsinfo->layouttype[i]; in set_pnfs_layoutdriver()
|
H A D | nfs4proc.c | 5408 struct nfs_fsinfo *fsinfo) in _nfs4_do_fsinfo() argument 5415 .fsinfo = fsinfo, in _nfs4_do_fsinfo() 5426 …ic int nfs4_do_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) in nfs4_do_fsinfo() argument 5434 err = _nfs4_do_fsinfo(server, fhandle, fsinfo); in nfs4_do_fsinfo() 5435 trace_nfs4_fsinfo(server, fhandle, fsinfo->fattr, err); in nfs4_do_fsinfo() 5437 nfs4_set_lease_period(server->nfs_client, fsinfo->lease_time * HZ); in nfs4_do_fsinfo() 5445 … int nfs4_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) in nfs4_proc_fsinfo() argument 5449 nfs_fattr_init(fsinfo->fattr); in nfs4_proc_fsinfo() 5450 error = nfs4_do_fsinfo(server, fhandle, fsinfo); in nfs4_proc_fsinfo() 5453 server->pnfs_blksize = fsinfo->blksize; in nfs4_proc_fsinfo() [all …]
|
H A D | nfs4_fs.h | 335 struct nfs_fsinfo *fsinfo);
|
H A D | pnfs.h | 808 struct nfs_fsinfo *fsinfo) in set_pnfs_layoutdriver() argument
|
H A D | nfs3proc.c | 1096 .fsinfo = nfs3_proc_fsinfo,
|
H A D | nfs3xdr.c | 2471 PROC(FSINFO, getattr, fsinfo, 0),
|
/linux/fs/fat/ |
H A D | misc.c | 72 struct fat_boot_fsinfo *fsinfo; in fat_clusters_flush() local 83 fsinfo = (struct fat_boot_fsinfo *)bh->b_data; in fat_clusters_flush() 85 if (!IS_FSINFO(fsinfo)) { in fat_clusters_flush() 88 le32_to_cpu(fsinfo->signature1), in fat_clusters_flush() 89 le32_to_cpu(fsinfo->signature2), in fat_clusters_flush() 93 fsinfo->free_clusters = cpu_to_le32(sbi->free_clusters); in fat_clusters_flush() 95 fsinfo->next_cluster = cpu_to_le32(sbi->prev_free); in fat_clusters_flush()
|
H A D | inode.c | 1666 struct fat_boot_fsinfo *fsinfo; in fat_fill_super() local 1686 fsinfo = (struct fat_boot_fsinfo *)fsinfo_bh->b_data; in fat_fill_super() 1687 if (!IS_FSINFO(fsinfo)) { in fat_fill_super() 1690 le32_to_cpu(fsinfo->signature1), in fat_fill_super() 1691 le32_to_cpu(fsinfo->signature2), in fat_fill_super() 1696 sbi->free_clusters = le32_to_cpu(fsinfo->free_clusters); in fat_fill_super() 1697 sbi->prev_free = le32_to_cpu(fsinfo->next_cluster); in fat_fill_super()
|
/linux/fs/vboxsf/ |
H A D | dir.c | 218 struct shfl_fsobjinfo fsinfo; in vboxsf_dir_lookup() local 224 err = vboxsf_stat_dentry(dentry, &fsinfo); in vboxsf_dir_lookup() 230 vboxsf_init_inode(sbi, inode, &fsinfo, false); in vboxsf_dir_lookup()
|
/linux/include/linux/ |
H A D | nfs_xdr.h | 1085 struct nfs_fsinfo *fsinfo; member 1812 int (*fsinfo) (struct nfs_server *, struct nfs_fh *, member
|