Searched refs:fsinfo (Results 1 - 12 of 12) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfs/
H A Dgetroot.c80 struct nfs_fsinfo fsinfo; local
86 fsinfo.fattr = nfs_alloc_fattr();
87 if (fsinfo.fattr == NULL)
90 error = server->nfs_client->rpc_ops->getroot(server, mntfh, &fsinfo);
97 inode = nfs_fhget(sb, mntfh, fsinfo.fattr);
125 nfs_free_fattr(fsinfo.fattr);
133 struct nfs_fsinfo fsinfo; local
138 fsinfo.fattr = nfs_alloc_fattr();
139 if (fsinfo.fattr == NULL)
143 ret = server->nfs_client->rpc_ops->getroot(server, mntfh, &fsinfo);
[all...]
H A Dproc.c89 struct nfs2_fsstat fsinfo; local
108 msg.rpc_resp = &fsinfo;
117 info->rtpref = fsinfo.tsize;
118 info->rtmult = fsinfo.bsize;
120 info->wtpref = fsinfo.tsize;
121 info->wtmult = fsinfo.bsize;
122 info->dtpref = fsinfo.tsize;
551 struct nfs2_fsstat fsinfo; local
555 .rpc_resp = &fsinfo,
565 stat->tbytes = (u64)fsinfo
579 struct nfs2_fsstat fsinfo; local
[all...]
H A Dclient.c869 * Load up the server record from information gained in an fsinfo record
871 static void nfs_server_set_fsinfo(struct nfs_server *server, struct nfs_fsinfo *fsinfo) argument
877 server->rsize = nfs_block_size(fsinfo->rtpref, NULL);
879 server->wsize = nfs_block_size(fsinfo->wtpref, NULL);
881 if (fsinfo->rtmax >= 512 && server->rsize > fsinfo->rtmax)
882 server->rsize = nfs_block_size(fsinfo->rtmax, NULL);
883 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax)
884 server->wsize = nfs_block_size(fsinfo
925 struct nfs_fsinfo fsinfo; local
[all...]
H A Dnfs4_fs.h267 struct nfs_fsinfo *fsinfo);
H A Dnfs4proc.c3027 struct nfs_fsinfo *fsinfo)
3034 .fsinfo = fsinfo,
3045 static int nfs4_do_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) argument
3052 _nfs4_do_fsinfo(server, fhandle, fsinfo),
3058 static int nfs4_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) argument
3060 nfs_fattr_init(fsinfo->fattr);
3061 return nfs4_do_fsinfo(server, fhandle, fsinfo);
3590 struct nfs_fsinfo fsinfo; local
3594 .rpc_resp = &fsinfo,
3026 _nfs4_do_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) argument
4661 nfs4_proc_get_lease_time(struct nfs_client *clp, struct nfs_fsinfo *fsinfo) argument
[all...]
H A Dnfs4state.c127 struct nfs_fsinfo fsinfo; local
129 status = nfs4_proc_get_lease_time(clp, &fsinfo);
133 clp->cl_lease_time = fsinfo.lease_time * HZ;
H A Dnfs4xdr.c3871 static int decode_fsinfo(struct xdr_stream *xdr, struct nfs_fsinfo *fsinfo) argument
3884 fsinfo->rtmult = fsinfo->wtmult = 512; /* ??? */
3886 if ((status = decode_attr_lease_time(xdr, bitmap, &fsinfo->lease_time)) != 0)
3888 if ((status = decode_attr_maxfilesize(xdr, bitmap, &fsinfo->maxfilesize)) != 0)
3890 if ((status = decode_attr_maxread(xdr, bitmap, &fsinfo->rtmax)) != 0)
3892 fsinfo->rtpref = fsinfo->dtpref = fsinfo->rtmax;
3893 if ((status = decode_attr_maxwrite(xdr, bitmap, &fsinfo
5578 nfs4_xdr_dec_setclientid_confirm(struct rpc_rqst *req, __be32 *p, struct nfs_fsinfo *fsinfo) argument
[all...]
H A Dnfs3proc.c67 dprintk("%s: call fsinfo\n", __func__);
70 dprintk("%s: reply fsinfo: %d\n", __func__, status);
740 dprintk("NFS call fsinfo\n");
743 dprintk("NFS reply fsinfo: %d\n", status);
748 * Bare-bones access to fsinfo: this is for nfs_get_root/nfs_get_sb via
854 .fsinfo = nfs3_proc_fsinfo,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/fat/
H A Dmisc.c52 struct fat_boot_fsinfo *fsinfo; local
63 fsinfo = (struct fat_boot_fsinfo *)bh->b_data;
65 if (!IS_FSINFO(fsinfo)) {
68 le32_to_cpu(fsinfo->signature1),
69 le32_to_cpu(fsinfo->signature2),
73 fsinfo->free_clusters = cpu_to_le32(sbi->free_clusters);
75 fsinfo->next_cluster = cpu_to_le32(sbi->prev_free);
H A Dinode.c1360 struct fat_boot_fsinfo *fsinfo; local
1383 fsinfo = (struct fat_boot_fsinfo *)fsinfo_bh->b_data;
1384 if (!IS_FSINFO(fsinfo)) {
1387 le32_to_cpu(fsinfo->signature1),
1388 le32_to_cpu(fsinfo->signature2),
1397 sbi->free_clusters = le32_to_cpu(fsinfo->free_clusters);
1398 sbi->prev_free = le32_to_cpu(fsinfo->next_cluster);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/extras/volume_id/lib/
H A Dfat.c252 struct fat32_fsinfo *fsinfo; local
407 /* FAT32 should have a valid signature in the fsinfo block */
412 fsinfo = (struct fat32_fsinfo *) buf;
413 if (memcmp(fsinfo->signature1, "\x52\x52\x61\x41", 4) != 0)
415 if (memcmp(fsinfo->signature2, "\x72\x72\x41\x61", 4) != 0)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dnfs_xdr.h712 struct nfs_fsinfo *fsinfo; member in struct:nfs4_fsinfo_res
1052 int (*fsinfo) (struct nfs_server *, struct nfs_fh *, member in struct:nfs_rpc_ops

Completed in 185 milliseconds