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

/freebsd-9.3-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;
160 if ((fhsize == nmp->nm_fhsize) &&
161 !bcmp(fhp, nmp->nm_fh, fhsize)) {
167 MALLOC(np->n_fhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
169 bcopy(fhp, np->n_fhp->nfh_fh, fhsize);
170 np->n_fhp->nfh_len = fhsize;
[all...]
H A Dnfs_clvfsops.c228 args->fhsize = oargs->fhsize;
478 nd->root_args.fhsize = nd->root_fhsize;
739 .fhsize = 0,
1054 if (args.fhsize < 0 || args.fhsize > NFSX_V3FHMAX) {
1060 args.fhsize);
1075 &args.fhsize) == 0) {
1076 if (args.fhsize < 0 || args.fhsize > NFSX_FHMA
[all...]
H A Dnfs_clport.c299 nfscl_ngetreopen(struct mount *mntp, u_int8_t *fhp, int fhsize, argument
311 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
313 bcopy(fhp, &nfhp->nfh_fh[0], fhsize);
314 nfhp->nfh_len = fhsize;
316 hash = fnv_32_buf(fhp, fhsize, FNV1_32_INIT);
/freebsd-9.3-release/sys/nfsclient/
H A Dnfs_node.c83 int fhsize; member in struct:nfs_vncmp
95 return (bcmp(a->fh, np->n_fhp, a->fhsize));
105 nfs_nget(struct mount *mntp, nfsfh_t *fhp, int fhsize, struct nfsnode **npp, int flags) argument
119 hash = fnv_32_buf(fhp->fh_bytes, fhsize, FNV1_32_INIT);
120 ncmp.fhsize = fhsize;
161 if (fhsize > NFS_SMALLFH) {
162 np->n_fhp = malloc(fhsize, M_NFSBIGFH, M_WAITOK);
165 bcopy((caddr_t)fhp, (caddr_t)np->n_fhp, fhsize);
166 np->n_fhsize = fhsize;
[all...]
H A Dnfsargs.h50 int fhsize; /* Size, in bytes, of fh */ member in struct:nfs_args
H A Dnfs_vfsops.c227 args->fhsize = oargs->fhsize;
526 nd->root_args.fhsize = nd->root_fhsize;
815 .fhsize = 0,
1095 &args.fhsize) == 0) {
1107 if (args.fhsize < 0 || args.fhsize > NFSX_V3FHMAX) {
1164 args.fhsize);
1293 nmp->nm_fhsize = argp->fhsize;
1294 bcopy((caddr_t)argp->fh, (caddr_t)nmp->nm_fh, argp->fhsize);
[all...]
H A Dnfs_vnops.c941 int error = 0, attrflag, dattrflag, fhsize, ltype, ncticks; local
1056 nfsm_getfh(fhp, fhsize, v3);
1062 if (NFS_CMPFH(np, fhp, fhsize)) {
1066 error = nfs_nget(mp, fhp, fhsize, &np, LK_EXCLUSIVE);
1102 error = nfs_nget(mp, fhp, fhsize, &np, cnp->cn_lkflags);
1121 } else if (NFS_CMPFH(np, fhp, fhsize)) {
1125 error = nfs_nget(mp, fhp, fhsize, &np, cnp->cn_lkflags);
2487 int attrflag, dattrflag, fhsize; local
2645 nfsm_getfh(fhp, fhsize, 1);
2646 if (NFS_CMPFH(dnp, fhp, fhsize)) {
[all...]
/freebsd-9.3-release/lib/libstand/
H A Dnfs.c181 uint32_t fhsize; member in struct:nfs_iodesc
830 uint32_t fhsize; member in struct:repl
870 *fhlenp = ntohl(repl->fhsize);
884 uint32_t fhsize; member in struct:args
890 uint32_t fhsize; member in struct:repl
914 args->fhsize = htonl(d->fhsize);
915 bcopy(d->fh, args->fhplusname, d->fhsize);
919 pos = roundup(d->fhsize, sizeof(uint32_t)) / sizeof(uint32_t);
936 newfd->fhsize
953 uint32_t fhsize; member in struct:args
1017 uint32_t fhsize; member in struct:args
1413 uint32_t fhsize; member in struct:args
[all...]
/freebsd-9.3-release/sys/nfs/
H A Dnfsdiskless.h80 int fhsize; /* Size, in bytes, of fh */ member in struct:onfs_args
/freebsd-9.3-release/sbin/mount_nfs/
H A Dmount_nfs.c98 long fhsize; member in struct:nfhret
114 int fhsize = 0; variable
484 .fhsize = 0,
647 if (findopt(iov, iovlen, "fh", &opt, &args.fhsize) == 0) {
1055 fhsize = nfhret.fhsize;
1056 fh = malloc(fhsize);
1060 bcopy(nfhret.nfh, fh, fhsize);
1063 build_iovec(iov, iovlen, "fh", fh, fhsize);
1178 np->fhsize
[all...]
/freebsd-9.3-release/sys/boot/i386/libi386/
H A Dpxe.c468 uint32_t fhsize; member in struct:nfs_iodesc
485 if ((error = nfs_getrootfh(d, rootpath, &nfs_root_node.fhsize,
488 nfs_root_node.fhsize = 0;
511 for (i = 0; i < nfs_root_node.fhsize; i++, cp += 2)
515 sprintf(buf, "%d", nfs_root_node.fhsize);
/freebsd-9.3-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-9.3-release/sys/fs/nfs/
H A Dnfs_commonsubs.c780 struct nfsvattr *nap, struct nfsfh **nfhpp, fhandle_t *fhp, int fhsize,
1154 fhp, fhsize))
779 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-9.3-release/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c3426 int error = 0, ret, fhsize = NFSX_MYFH; local
3439 error = nfsv4_loadattr(nd, vp, &nva, NULL, &fh, fhsize, NULL,

Completed in 218 milliseconds