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

/freebsd-11.0-release/contrib/netbsd-tests/fs/vfs/
H A Dt_vfsops.c79 size_t fhsize; local
96 fhsize = 0;
97 if (rump_sys_getfh(fpath, NULL, &fhsize) == -1) {
105 fhp = malloc(fhsize);
106 if (rump_sys_getfh(fpath, fhp, &fhsize) == -1)
110 fd = rump_sys_fhopen(fhp, fhsize, O_RDONLY);
128 size_t fhsize; local
136 fhsize = 0;
137 if (rump_sys_getfh(FNAME, NULL, &fhsize) == -1) {
145 fhp = malloc(fhsize);
166 size_t fhsize; local
[all...]
/freebsd-11.0-release/sys/fs/nfsclient/
H A Dnfs_clnode.c95 ncl_nget(struct mount *mntp, u_int8_t *fhp, int fhsize, struct nfsnode **npp, argument
110 hash = fnv_32_buf(fhp, fhsize, FNV1_32_INIT);
112 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
114 bcopy(fhp, &nfhp->nfh_fh[0], fhsize);
115 nfhp->nfh_len = fhsize;
154 if ((fhsize == nmp->nm_fhsize) &&
155 !bcmp(fhp, nmp->nm_fh, fhsize)) {
161 MALLOC(np->n_fhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
163 bcopy(fhp, np->n_fhp->nfh_fh, fhsize);
164 np->n_fhp->nfh_len = fhsize;
[all...]
H A Dnfs_clvfsops.c239 args->fhsize = oargs->fhsize;
491 nd->root_args.fhsize = nd->root_fhsize;
859 .fhsize = 0,
1218 if (args.fhsize < 0 || args.fhsize > NFSX_V3FHMAX) {
1224 args.fhsize);
1247 args.fhsize = 0;
1252 &args.fhsize) == 0) {
1253 if (args.fhsize <
[all...]
H A Dnfs_clport.c307 nfscl_ngetreopen(struct mount *mntp, u_int8_t *fhp, int fhsize, argument
319 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
321 bcopy(fhp, &nfhp->nfh_fh[0], fhsize);
322 nfhp->nfh_len = fhsize;
324 hash = fnv_32_buf(fhp, fhsize, FNV1_32_INIT);
/freebsd-11.0-release/lib/libstand/
H A Dnfs.c181 uint32_t fhsize; member in struct:nfs_iodesc
828 uint32_t fhsize; member in struct:repl
868 *fhlenp = ntohl(repl->fhsize);
882 uint32_t fhsize; member in struct:args
888 uint32_t fhsize; member in struct:repl
912 args->fhsize = htonl(d->fhsize);
913 bcopy(d->fh, args->fhplusname, d->fhsize);
917 pos = roundup(d->fhsize, sizeof(uint32_t)) / sizeof(uint32_t);
934 newfd->fhsize
951 uint32_t fhsize; member in struct:args
1015 uint32_t fhsize; member in struct:args
1411 uint32_t fhsize; member in struct:args
[all...]
/freebsd-11.0-release/sys/nfs/
H A Dnfsdiskless.h80 int fhsize; /* Size, in bytes, of fh */ member in struct:onfs_args
/freebsd-11.0-release/sys/nfsclient/
H A Dnfsargs.h50 int fhsize; /* Size, in bytes, of fh */ member in struct:nfs_args
/freebsd-11.0-release/sbin/mount_nfs/
H A Dmount_nfs.c98 long fhsize; member in struct:nfhret
115 static int fhsize = 0; variable
874 fhsize = nfhret.fhsize;
875 fh = malloc(fhsize);
879 bcopy(nfhret.nfh, fh, fhsize);
882 build_iovec(iov, iovlen, "fh", fh, fhsize);
1000 np->fhsize = NFS_FHSIZE;
1003 if (!xdr_long(xdrsp, &np->fhsize))
1005 if (np->fhsize <
[all...]
/freebsd-11.0-release/sys/boot/i386/libi386/
H A Dpxe.c485 uint32_t fhsize; member in struct:nfs_iodesc
502 if ((error = nfs_getrootfh(d, rootpath, &nfs_root_node.fhsize,
505 nfs_root_node.fhsize = 0;
528 for (i = 0; i < nfs_root_node.fhsize; i++, cp += 2)
532 sprintf(buf, "%d", nfs_root_node.fhsize);
/freebsd-11.0-release/contrib/amd/libamu/
H A Dmount_fs.c507 nap->fhsize = fhp->v3.am_fh3_length;
510 nap->fhsize = FHSIZE;
948 plog(XLOG_DEBUG, "NA->fhsize = %d", nap->fhsize);
949 fhlen = nap->fhsize;
/freebsd-11.0-release/sys/fs/nfs/
H A Dnfs_commonsubs.c806 struct nfsvattr *nap, struct nfsfh **nfhpp, fhandle_t *fhp, int fhsize,
1186 fhp, fhsize))
805 nfsv4_loadattr(struct nfsrv_descript *nd, vnode_t vp, struct nfsvattr *nap, struct nfsfh **nfhpp, fhandle_t *fhp, int fhsize, struct nfsv3_pathconf *pc, struct statfs *sbp, struct nfsstatfs *sfp, struct nfsfsinfo *fsp, NFSACL_T *aclp, int compare, int *retcmpp, u_int32_t *leasep, u_int32_t *rderrp, NFSPROC_T *p, struct ucred *cred) argument
/freebsd-11.0-release/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c3604 int error = 0, ret, fhsize = NFSX_MYFH; local
3617 error = nfsv4_loadattr(nd, vp, &nva, NULL, &fh, fhsize, NULL,

Completed in 139 milliseconds