Lines Matching defs:fh
419 if (nargs->fh) {
420 kmem_free(nargs->fh, strlen(nargs->fh) + 1);
421 nargs->fh = NULL;
576 error = pn_get(STRUCT_FGETP(args, fh), UIO_USERSPACE, &pn);
580 /* Volatile fh: keep server paths, so use actual-size strings */
581 nargs->fh = kmem_alloc(pn.pn_pathlen + 1, KM_SLEEP);
582 bcopy(pn.pn_path, nargs->fh, pn.pn_pathlen);
583 nargs->fh[pn.pn_pathlen] = '\0';
862 if (args->fh == NULL || (strlen(args->fh) >= MAXPATHLEN)) {
867 svp->sv_path = args->fh;
868 svp->sv_pathlen = strlen(args->fh) + 1;
869 args->fh = NULL;
1228 getlinktext_otw(mntinfo4_t *mi, nfs_fh4 *fh, char **linktextp, cred_t *cr,
1245 sfh = sfh4_get(fh, mi);
1264 /* 0. putfh symlink fh */
1352 * svp->sv_path and has an nfs4 file handle "fh".
1357 resolve_sympath(mntinfo4_t *mi, servinfo4_t *svp, int nth, nfs_fh4 *fh,
1368 error = getlinktext_otw(mi, fh, &symlink, cr, flags);
1604 * svp->sv_path and has a parent nfs4 file handle "fh".
1611 nfs_fh4 *fh)
1632 sfh = sfh4_get(fh, mi);
1782 /* get fh */
2211 * Get the root fh from the server. Retry nfs4_max_mount_retry
2252 * to make sure we have a good fh.
2276 nfs_fh4 fh;
2443 * Make the GETFH call to get root fh for each replica.
2553 fh.nfs_fh4_len = svp->sv_fhandle.fh_len;
2554 fh.nfs_fh4_val = svp->sv_fhandle.fh_buf;
2555 mi->mi_rootfh = sfh4_get(&fh, mi);
2556 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len;
2557 fh.nfs_fh4_val = svp->sv_pfhandle.fh_buf;
2558 mi->mi_srvparentfh = sfh4_get(&fh, mi);
3008 args.fh = (char *)&svp->sv_fhandle;