Searched refs:fhlen (Results 1 – 2 of 2) sorted by relevance
/dragonfly/sys/vfs/nfs/ |
H A D | nfsm_subs.c | 938 int fhlen; in nfsm_srvmtofh() local 946 fhlen = fxdr_unsigned(int, *tl); in nfsm_srvmtofh() 947 if (fhlen != 0 && fhlen != NFSX_V3FH) { in nfsm_srvmtofh() 952 fhlen = NFSX_V2FH; in nfsm_srvmtofh() 954 if (fhlen != 0) { in nfsm_srvmtofh() 955 tl = nfsm_dissect(info, fhlen); in nfsm_srvmtofh() 960 bcopy(tl, fhp, fhlen); in nfsm_srvmtofh()
|
H A D | nfs_vnops.c | 3062 int error = 0, fhlen, attrflag; in nfs_lookitup() local 3076 NEGATIVEOUT(fhlen = nfsm_getfh(&info, &nfhp)); in nfs_lookitup() 3079 if (np->n_fhsize > NFS_SMALLFH && fhlen <= NFS_SMALLFH) { in nfs_lookitup() 3082 } else if (np->n_fhsize <= NFS_SMALLFH && fhlen>NFS_SMALLFH) in nfs_lookitup() 3083 np->n_fhp =(nfsfh_t *)kmalloc(fhlen,M_NFSBIGFH,M_WAITOK); in nfs_lookitup() 3084 bcopy((caddr_t)nfhp, (caddr_t)np->n_fhp, fhlen); in nfs_lookitup() 3085 np->n_fhsize = fhlen; in nfs_lookitup() 3087 } else if (NFS_CMPFH(dnp, nfhp, fhlen)) { in nfs_lookitup() 3091 error = nfs_nget(dvp->v_mount, nfhp, fhlen, &np, NULL); in nfs_lookitup()
|