Home
last modified time | relevance | path

Searched refs:fsinfo (Results 1 – 17 of 17) sorted by relevance

/linux/fs/nfs/
A Dnfs4getroot.c15 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()
A Dproc.c58 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()
536 .rpc_resp = &fsinfo, in nfs_proc_statfs()
546 stat->tbytes = (u64)fsinfo.blocks * fsinfo.bsize; in nfs_proc_statfs()
547 stat->fbytes = (u64)fsinfo.bfree * fsinfo.bsize; in nfs_proc_statfs()
548 stat->abytes = (u64)fsinfo.bavail * fsinfo.bsize; in nfs_proc_statfs()
[all …]
A Dgetroot.c71 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()
A Dclient.c760 struct nfs_fsinfo *fsinfo) in nfs_server_set_fsinfo() argument
770 if (fsinfo->rtmax >= 512 && server->rsize > fsinfo->rtmax) in nfs_server_set_fsinfo()
772 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax) in nfs_server_set_fsinfo()
805 server->time_delta = fsinfo->time_delta; in nfs_server_set_fsinfo()
823 if (fsinfo->xattr_support) in nfs_server_set_fsinfo()
833 struct nfs_fsinfo fsinfo; in nfs_probe_fsinfo() local
843 fsinfo.fattr = fattr; in nfs_probe_fsinfo()
844 fsinfo.nlayouttypes = 0; in nfs_probe_fsinfo()
845 memset(fsinfo.layouttype, 0, sizeof(fsinfo.layouttype)); in nfs_probe_fsinfo()
846 error = clp->rpc_ops->fsinfo(server, mntfh, &fsinfo); in nfs_probe_fsinfo()
[all …]
A Dnfs4xdr.c4756 struct nfs_fsinfo *fsinfo) in decode_pnfs_layout_types() argument
4764 fsinfo->nlayouttypes = be32_to_cpup(p); in decode_pnfs_layout_types()
4767 if (fsinfo->nlayouttypes == 0) in decode_pnfs_layout_types()
4778 __func__, fsinfo->nlayouttypes); in decode_pnfs_layout_types()
4782 for(i = 0; i < fsinfo->nlayouttypes; ++i) in decode_pnfs_layout_types()
4792 struct nfs_fsinfo *fsinfo) in decode_attr_pnfstype() argument
4885 fsinfo->rtmult = fsinfo->wtmult = 512; /* ??? */ in decode_fsinfo()
4893 fsinfo->rtpref = fsinfo->dtpref = fsinfo->rtmax; in decode_fsinfo()
4896 fsinfo->wtpref = fsinfo->wtmax; in decode_fsinfo()
4921 &fsinfo->change_attr_type); in decode_fsinfo()
[all …]
A Dpnfs.c150 struct nfs_fsinfo *fsinfo) in set_pnfs_layoutdriver() argument
156 if (fsinfo->nlayouttypes == 0) in set_pnfs_layoutdriver()
165 sort(fsinfo->layouttype, fsinfo->nlayouttypes, in set_pnfs_layoutdriver()
166 sizeof(*fsinfo->layouttype), ld_cmp, NULL); in set_pnfs_layoutdriver()
168 for (i = 0; i < fsinfo->nlayouttypes; i++) { in set_pnfs_layoutdriver()
169 id = fsinfo->layouttype[i]; in set_pnfs_layoutdriver()
A Dnfs4proc.c5120 struct nfs_fsinfo *fsinfo) in _nfs4_do_fsinfo() argument
5127 .fsinfo = fsinfo, in _nfs4_do_fsinfo()
5146 err = _nfs4_do_fsinfo(server, fhandle, fsinfo); in nfs4_do_fsinfo()
5147 trace_nfs4_fsinfo(server, fhandle, fsinfo->fattr, err); in nfs4_do_fsinfo()
5149 nfs4_set_lease_period(server->nfs_client, fsinfo->lease_time * HZ); in nfs4_do_fsinfo()
5161 nfs_fattr_init(fsinfo->fattr); in nfs4_proc_fsinfo()
5162 error = nfs4_do_fsinfo(server, fhandle, fsinfo); in nfs4_proc_fsinfo()
5165 server->pnfs_blksize = fsinfo->blksize; in nfs4_proc_fsinfo()
5166 set_pnfs_layoutdriver(server, fhandle, fsinfo); in nfs4_proc_fsinfo()
8833 .lr_fsinfo = fsinfo, in nfs4_proc_get_lease_time()
[all …]
A Dnfs4_fs.h327 struct nfs_fsinfo *fsinfo);
A Dnfs4state.c94 struct nfs_fsinfo fsinfo; in nfs4_setup_state_renewal() local
101 status = nfs4_proc_get_lease_time(clp, &fsinfo); in nfs4_setup_state_renewal()
103 nfs4_set_lease_period(clp, fsinfo.lease_time * HZ); in nfs4_setup_state_renewal()
A Dpnfs.h792 struct nfs_fsinfo *fsinfo) in set_pnfs_layoutdriver() argument
A Dnfs3proc.c1046 .fsinfo = nfs3_proc_fsinfo,
A Dnfs3xdr.c2547 PROC(FSINFO, getattr, fsinfo, 0),
/linux/fs/fat/
A Dmisc.c66 struct fat_boot_fsinfo *fsinfo; in fat_clusters_flush() local
77 fsinfo = (struct fat_boot_fsinfo *)bh->b_data; in fat_clusters_flush()
79 if (!IS_FSINFO(fsinfo)) { in fat_clusters_flush()
82 le32_to_cpu(fsinfo->signature1), in fat_clusters_flush()
83 le32_to_cpu(fsinfo->signature2), in fat_clusters_flush()
87 fsinfo->free_clusters = cpu_to_le32(sbi->free_clusters); in fat_clusters_flush()
89 fsinfo->next_cluster = cpu_to_le32(sbi->prev_free); in fat_clusters_flush()
A Dinode.c1715 struct fat_boot_fsinfo *fsinfo; in fat_fill_super() local
1735 fsinfo = (struct fat_boot_fsinfo *)fsinfo_bh->b_data; in fat_fill_super()
1736 if (!IS_FSINFO(fsinfo)) { in fat_fill_super()
1739 le32_to_cpu(fsinfo->signature1), in fat_fill_super()
1740 le32_to_cpu(fsinfo->signature2), in fat_fill_super()
1745 sbi->free_clusters = le32_to_cpu(fsinfo->free_clusters); in fat_fill_super()
1746 sbi->prev_free = le32_to_cpu(fsinfo->next_cluster); in fat_fill_super()
/linux/fs/vboxsf/
A Ddir.c216 struct shfl_fsobjinfo fsinfo; in vboxsf_dir_lookup() local
222 err = vboxsf_stat_dentry(dentry, &fsinfo); in vboxsf_dir_lookup()
228 vboxsf_init_inode(sbi, inode, &fsinfo, false); in vboxsf_dir_lookup()
/linux/include/linux/
A Dnfs_xdr.h1052 struct nfs_fsinfo *fsinfo; member
1764 int (*fsinfo) (struct nfs_server *, struct nfs_fh *, member
/linux/Documentation/filesystems/
A Dmount_api.rst739 userspace using the fsinfo() syscall.

Completed in 93 milliseconds