Lines Matching defs:fhlen

211 nfscl_open(vnode_t vp, u_int8_t *nfhp, int fhlen, u_int32_t amode, int usedeleg,
238 fhlen - 1, M_NFSCLOPEN, M_WAITOK);
257 LIST_FOREACH(dp, NFSCLDELEGHASH(clp, nfhp, fhlen), nfsdl_hash) {
258 if (dp->nfsdl_fhlen == fhlen &&
259 !NFSBCMP(nfhp, dp->nfsdl_fh, fhlen)) {
282 nfscl_newopen(clp, dp, &owp, &nowp, &op, &nop, own, nfhp, fhlen,
326 struct nfsclopen **nopp, u_int8_t *own, u_int8_t *fhp, int fhlen,
364 if (op->nfso_fhlen == fhlen &&
365 !NFSBCMP(op->nfso_fh, fhp, fhlen))
373 nop->nfso_fhlen = fhlen;
374 NFSBCOPY(fhp, nop->nfso_fh, fhlen);
405 int fhlen, struct ucred *cred, NFSPROC_T *p, struct nfscldeleg **dpp)
424 tdp = nfscl_finddeleg(clp, nfhp, fhlen);
432 LIST_INSERT_HEAD(NFSCLDELEGHASH(clp, nfhp, fhlen), dp,
457 nfscl_finddeleg(struct nfsclclient *clp, u_int8_t *fhp, int fhlen)
461 LIST_FOREACH(dp, NFSCLDELEGHASH(clp, fhp, fhlen), nfsdl_hash) {
462 if (dp->nfsdl_fhlen == fhlen &&
463 !NFSBCMP(dp->nfsdl_fh, fhp, fhlen))
475 nfscl_getstateid(vnode_t vp, u_int8_t *nfhp, int fhlen, u_int32_t mode,
519 LIST_FOREACH(dp, NFSCLDELEGHASH(clp, nfhp, fhlen), nfsdl_hash) {
520 if (dp->nfsdl_fhlen == fhlen &&
521 !NFSBCMP(nfhp, dp->nfsdl_fh, fhlen)) {
552 error = nfscl_getopen(&clp->nfsc_owner, nfhp, fhlen, own, own,
574 if (op->nfso_fhlen == fhlen &&
575 !NFSBCMP(op->nfso_fh, nfhp, fhlen) &&
611 nfscl_getopen(struct nfsclownerhead *ohp, u_int8_t *nfhp, int fhlen,
641 if (op->nfso_fhlen == fhlen &&
642 !NFSBCMP(op->nfso_fh, nfhp, fhlen)
3669 nfscl_localconflict(struct nfsclclient *clp, u_int8_t *fhp, int fhlen,
3684 if (op->nfso_fhlen == fhlen &&
3685 !NFSBCMP(op->nfso_fh, fhp, fhlen)) {
4046 nfsrpc_reopen(struct nfsmount *nmp, u_int8_t *fhp, int fhlen,
4054 error = nfscl_ngetreopen(nmp->nm_mountp, fhp, fhlen, p, &np);
4060 np->n_v4->n4_fhlen, fhp, fhlen, mode, op,
4076 nfscl_tryopen(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen,
4084 error = nfsrpc_openrpc(nmp, vp, fhp, fhlen, newfhp, newfhlen,
4094 error = nfsrpc_openrpc(nmp, vp, fhp, fhlen, newfhp,
4111 int fhlen, struct nfscllockowner *nlp, int newone, int reclaim,
4118 error = nfsrpc_lock(nd, nmp, vp, fhp, fhlen, nlp, newone,
4130 error = nfsrpc_lock(nd, nmp, vp, fhp, fhlen, nlp,
4686 nfscl_layout(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen,
4704 tlyp = malloc(sizeof(*tlyp) + fhlen - 1, M_NFSLAYOUT,
4724 lyp = nfscl_findlayout(clp, fhp, fhlen);
4741 lyp->nfsly_fhlen = fhlen;
4742 NFSBCOPY(fhp, lyp->nfsly_fh, fhlen);
4744 LIST_INSERT_HEAD(NFSCLLAYOUTHASH(clp, fhp, fhlen), lyp,
4789 nfscl_getlayout(struct nfsclclient *clp, uint8_t *fhp, int fhlen,
4800 lyp = nfscl_findlayout(clp, fhp, fhlen);
4837 nfscl_retoncloselayout(struct nfsclclient *clp, uint8_t *fhp, int fhlen)
4842 lyp = nfscl_findlayout(clp, fhp, fhlen);
4919 nfscl_findlayout(struct nfsclclient *clp, u_int8_t *fhp, int fhlen)
4923 LIST_FOREACH(lyp, NFSCLLAYOUTHASH(clp, fhp, fhlen), nfsly_hash)
4924 if (lyp->nfsly_fhlen == fhlen &&
4925 !NFSBCMP(lyp->nfsly_fh, fhp, fhlen))