Lines Matching refs:fhp
174 nfsv4stateid_t *stateidp, int trunc, fhandle_t *fhp,
232 fhandle_t *fhp, struct nfslayout *lyp, int changed, int laytype,
234 static int nfsrv_findlayout(nfsquad_t *clientidp, fhandle_t *fhp, int laytype,
238 fhandle_t *fhp, fhandle_t *dsfhp, char *devid, fsid_t fs);
240 int mirrorcnt, fhandle_t *fhp, fhandle_t *dsfhp, char *devid, fsid_t fs);
241 static int nfsrv_dontlayout(fhandle_t *fhp);
242 static int nfsrv_createdsfile(vnode_t vp, fhandle_t *fhp, struct pnfsdsfile *pf,
3747 fhandle_t *fhp = NULL; in nfsrv_getlockfh() local
3756 fhp = &new_lfp->lf_fh; in nfsrv_getlockfh()
3758 fhp = nfhp; in nfsrv_getlockfh()
3762 error = nfsvno_getfh(vp, fhp, p); in nfsrv_getlockfh()
3777 fhandle_t *fhp = NULL, *tfhp; in nfsrv_getlockfile() local
3787 fhp = &new_lfp->lf_fh; in nfsrv_getlockfile()
3789 fhp = nfhp; in nfsrv_getlockfile()
3794 hp = NFSLOCKHASH(fhp); in nfsrv_getlockfile()
3797 if (NFSVNO_CMPFH(fhp, tfhp)) { in nfsrv_getlockfile()
4442 int trunc, fhandle_t *fhp, struct nfsvattr *nap, nfsattrbit_t *attrbitp, in nfsrv_docallback() argument
4512 (void)nfsm_fhtom(NULL, nd, (u_int8_t *)fhp, NFSX_MYFH, 0); in nfsrv_docallback()
4531 (void)nfsm_fhtom(NULL, nd, (u_int8_t *)fhp, NFSX_MYFH, 0); in nfsrv_docallback()
4550 (void)nfsm_fhtom(NULL, nd, (uint8_t *)fhp, NFSX_MYFH, 0); in nfsrv_docallback()
6950 nfsrv_filelayout(struct nfsrv_descript *nd, int iomode, fhandle_t *fhp, in nfsrv_filelayout() argument
6964 NFSBCOPY(fhp, &lyp->lay_fh, sizeof(*fhp)); in nfsrv_filelayout()
6999 fhandle_t *fhp, fhandle_t *dsfhp, char *devid, fsid_t fs) in nfsrv_flexlayout() argument
7013 NFSBCOPY(fhp, &lyp->lay_fh, sizeof(*fhp)); in nfsrv_flexlayout()
7177 nfsrv_recalllayout(nfsquad_t clid, nfsv4stateid_t *stateidp, fhandle_t *fhp, in nfsrv_recalllayout() argument
7193 stateidp, changed, fhp, NULL, NULL, laytype, p); in nfsrv_recalllayout()
7400 nfsrv_findlayout(nfsquad_t *clientidp, fhandle_t *fhp, int laytype, in nfsrv_findlayout() argument
7409 lhyp = NFSLAYOUTHASH(fhp); in nfsrv_findlayout()
7411 if (NFSBCMP(&lyp->lay_fh, fhp, sizeof(*fhp)) == 0 && in nfsrv_findlayout()
7433 fhandle_t *fhp; in nfsrv_addlayout() local
7439 fhp = &lyp->lay_fh; in nfsrv_addlayout()
7456 lhyp = NFSLAYOUTHASH(fhp); in nfsrv_addlayout()
7459 if (NFSBCMP(&nlyp->lay_fh, fhp, sizeof(*fhp)) == 0 && in nfsrv_addlayout()
7675 nfsrv_freefilelayouts(fhandle_t *fhp) in nfsrv_freefilelayouts() argument
7680 lhyp = NFSLAYOUTHASH(fhp); in nfsrv_freefilelayouts()
7683 if (NFSBCMP(&lyp->lay_fh, fhp, sizeof(*fhp)) == 0) in nfsrv_freefilelayouts()
8271 nfsrv_dontlayout(fhandle_t *fhp) in nfsrv_dontlayout() argument
8281 if (NFSBCMP(fhp, &mrp->nfsmr_fh, sizeof(*fhp)) == 0 && in nfsrv_dontlayout()
8592 nfsrv_createdsfile(vnode_t vp, fhandle_t *fhp, struct pnfsdsfile *pf, in nfsrv_createdsfile() argument
8612 error = nfsrv_dscreate(dvp, &va, &nva, fhp, pf, NULL, in nfsrv_createdsfile()
9017 nfsrv_removedeleg(fhandle_t *fhp, struct nfsrv_descript *nd, NFSPROC_T *p) in nfsrv_removedeleg() argument
9028 error = nfsrv_getlockfile(NFSLCK_CHECK, NULL, &lfp, fhp, 0); in nfsrv_removedeleg()