Home
last modified time | relevance | path

Searched refs:fh_buf (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dfirmload.c55 struct _buf *fh_buf; member
89 fh->fh_buf = kobj_open_path(path, 1, 0); in firmware_open()
92 if (fh->fh_buf == (struct _buf *)-1) { in firmware_open()
97 error = kobj_get_filesize(fh->fh_buf, (uint64_t *)&fh->fh_size); in firmware_open()
99 kobj_close_file(fh->fh_buf); in firmware_open()
117 kobj_close_file(fh->fh_buf); in firmware_close()
145 if (kobj_read_file(fh->fh_buf, buf, len, offset) == -1) in firmware_read()
/illumos-gate/usr/src/uts/common/nfs/
H A Drnode.h67 char fh_buf[NFS_FHANDLE_LEN]; member
338 #define RTOFH(rp) ((fhandle_t *)(&(rp)->r_fh.fh_buf))
H A Dnfs4.h74 char fh_buf[NFS4_FHSIZE]; member
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vfsops.c380 if (copyin(STRUCT_FGETP(args, fh), &fh->fh_buf, NFS_FHSIZE)) { in nfs_copyin()
683 bcopy(&fhandle->fh_buf, &svp->sv_fhandle.fh_buf, fhandle->fh_len); in nfs_mount()
1256 rtvp = makenfsnode((fhandle_t *)svp->sv_fhandle.fh_buf, in nfsrootvp()
1297 (caddr_t)svp->sv_fhandle.fh_buf, xdr_statfs, (caddr_t)&fs, in nfsrootvp()
1465 vp = makenfsnode((fhandle_t *)mi->mi_curr_serv->sv_fhandle.fh_buf, in nfs_root()
1717 args.fh = (char *)&svp->sv_fhandle.fh_buf; in nfs_mountroot()
H A Dnfs4_subr.c182 return (bcmp(fh1->fh_buf, fh2->fh_buf, fh1->fh_len)); in nfs4cmpfhandle()
2336 for (ip = (int *)fhp->fh_buf; in nfs4_printfhandle()
2337 ip < (int *)&fhp->fh_buf[fhp->fh_len]; in nfs4_printfhandle()
3153 hash16((void *)&fhandle.fh_buf, fhandle.fh_len)); in rnode4info()
H A Dnfs_common.c443 args.fh = (char *)&svp->sv_fhandle.fh_buf; in nfsdyn_mountroot()
H A Dnfs_subr.c2287 bcopy(fh, nfh.fh_buf, NFS_FHSIZE); in makenfsnode()
2444 key = fh->fh_buf; in rtablehash()
2556 bcopy(fh->fh_buf, rp->r_fh.fh_buf, fh->fh_len); in make_rnode()
2644 bcmp(rootfh->fh_buf, rp->r_fh.fh_buf, rp->r_fh.fh_len) == 0) { in nfs_set_vroot()
2902 bcmp(rp->r_fh.fh_buf, fh->fh_buf, fh->fh_len) == 0) { in rfind()
H A Dnfs4_vfsops.c2022 bcopy(tmpfhp->nfs_fh4_val, svp->sv_pfhandle.fh_buf, in nfs4getfh_otw()
2026 bcopy(resfhp->nfs_fh4_val, svp->sv_fhandle.fh_buf, resfhp->nfs_fh4_len); in nfs4getfh_otw()
2245 rootfh.nfs_fh4_val = svp->sv_fhandle.fh_buf; in nfs4_remap_root()
2560 fh.nfs_fh4_val = svp->sv_fhandle.fh_buf; in nfs4rootvp()
2563 fh.nfs_fh4_val = svp->sv_pfhandle.fh_buf; in nfs4rootvp()
H A Dnfs4_rnode.c326 bcopy(fh->sfh_fh.nfs_fh4_val, fhandle.fh_buf, in badrootfh_check()
332 bcopy(mi->mi_rootfh->sfh_fh.nfs_fh4_val, fhandle.fh_buf, in badrootfh_check()
H A Dnfs3_vfsops.c664 bcopy(&fhandle->fh_buf, &svp->sv_fhandle.fh_buf, fhandle->fh_len); in nfs3_mount()
H A Dnfs4_callback.c254 bcmp(fhandle.fh_buf, args->fh.nfs_fh4_val, in cb_getattr()
439 bcmp(fhandle.fh_buf, args->fh.nfs_fh4_val, in cb_recall()
H A Dnfs_client.c2584 for (ip = (int *)fhp->fh_buf; in nfs_printfhandle()
2585 ip < (int *)&fhp->fh_buf[fhp->fh_len]; in nfs_printfhandle()
H A Dnfs4_recovery.c1711 fh.nfs_fh4_val = svp->sv_fhandle.fh_buf; in recov_newserver()
1714 fh.nfs_fh4_val = svp->sv_pfhandle.fh_buf; in recov_newserver()
H A Dnfs4_client.c3780 bcopy(fh->nfs_fh4_val, fhandle.fh_buf, fhandle.fh_len); in sfh4_get()
3963 bcopy(sfh->sfh_fh.nfs_fh4_val, fhp->fh_buf, fhp->fh_len); in sfh4_copyval()
H A Dnfs_vnops.c3560 bcopy(rp->r_fh.fh_buf, fp->nf_data, NFS_FHSIZE); in nfs_fid()
H A Dnfs3_vnops.c4467 bcopy(rp->r_fh.fh_buf, fidp->fid_data, fidp->fid_len); in nfs3_fid()
H A Dnfs4_vnops.c14827 fh.nfs_fh4_val = svp->sv_pfhandle.fh_buf; in vtodv()
/illumos-gate/usr/src/cmd/mdb/common/modules/nfs/
H A Dnfs_clnt.c591 (unsigned char)si.sv_fhandle.fh_buf[i]); in nfs_servinfo_dcmd()
877 (unsigned char)si.sv_fhandle.fh_buf[i]); in nfs4_servinfo_dcmd()
885 (unsigned char)si.sv_pfhandle.fh_buf[i]); in nfs4_servinfo_dcmd()