Searched refs:fh_len (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Ddbtab.c202 (void) memcpy(linkkey, &dfh->fh_data, dfh->fh_len);
203 (void) strcpy(&linkkey[dfh->fh_len], name);
204 linksize = dfh->fh_len + strlen(name) + 1;
689 *errorp = store_record(dbp, &fh->fh_data, fh->fh_len, new_fhrecp,
719 bcopy(&fh->fh_data, fhkey, fh->fh_len);
720 new_fhrecp = fetch_record(dbp, fhkey, fh->fh_len, (void *)fhrecp,
725 *errorp = db_update_fhrec(dbp, fhkey, fh->fh_len, new_fhrecp,
931 linkp->name_offset = linkp->fhkey_offset + fhrecp->fh.fh_len;
1003 bcopy(&fh->fh_data, fhkey, fh->fh_len);
1006 new_fhrecp = fetch_record(dbp, fhkey, fh->fh_len, NUL
[all...]
H A Dfhtab.h161 (((fh)->fh_len > 0) ? fh : &public_fh)
H A Dfhtab.c463 if (fh->fh_len > NFS_FHMAXDATA)
466 fhlen = fh->fh_len;
813 if ((fh == NULL) || memcmp(&fh->fh_data, &fh->fh_xdata, fh->fh_len)) {
942 len = 2 * (NFS_FHMAXDATA + fh->fh_len); /* fid instead */
H A Dnfslogd.c347 public_fh.fh_len = NFS_FHMAXDATA;
/illumos-gate/usr/src/uts/common/nfs/
H A Drnode.h66 int fh_len; member in struct:nfs_fhandle
H A Dnfs4.h71 int fh_len; member in struct:nfs4_fhandle
H A Dnfs.h423 ushort_t fh_len; /* file number length */ member in struct:svcfh
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_vfsops.c652 if (fhandle->fh_len > NFS3_FHSIZE || fhandle->fh_len == 0) {
656 "nfs3_mount: got an invalid fhandle. fh_len = %d",
657 fhandle->fh_len);
658 fhandle->fh_len = NFS_FHANDLE_LEN;
664 bcopy(&fhandle->fh_buf, &svp->sv_fhandle.fh_buf, fhandle->fh_len);
665 svp->sv_fhandle.fh_len = fhandle->fh_len;
H A Dnfs_vfsops.c384 fh->fh_len = NFS_FHSIZE;
683 bcopy(&fhandle->fh_buf, &svp->sv_fhandle.fh_buf, fhandle->fh_len);
684 svp->sv_fhandle.fh_len = fhandle->fh_len;
1725 svp->sv_fhandle.fh_len = NFS_FHSIZE;
H A Dnfs_subr.c2285 nfh.fh_len = NFS_FHSIZE;
2444 len = (ulong_t)fh->fh_len;
2554 rp->r_fh.fh_len = fh->fh_len;
2555 bcopy(fh->fh_buf, rp->r_fh.fh_buf, fh->fh_len);
2642 if (rootfh->fh_len == rp->r_fh.fh_len &&
2643 bcmp(rootfh->fh_buf, rp->r_fh.fh_buf, rp->r_fh.fh_len) == 0) {
2887 rp->r_fh.fh_len == fh->fh_len
[all...]
H A Dnfs4_rnode.c324 fhandle.fh_len = fh->sfh_fh.nfs_fh4_len;
326 fhandle.fh_len);
330 fhandle.fh_len = mi->mi_rootfh->sfh_fh.nfs_fh4_len;
332 fhandle.fh_len);
H A Dnfs4_subr.c181 if (fh1->fh_len == fh2->fh_len)
182 return (bcmp(fh1->fh_buf, fh2->fh_buf, fh1->fh_len));
2337 ip < (int *)&fhp->fh_buf[fhp->fh_len];
3153 hash16((void *)&fhandle.fh_buf, fhandle.fh_len));
H A Dnfs4_callback.c253 if ((fhandle.fh_len == args->fh.nfs_fh4_len &&
255 fhandle.fh_len) == 0)) {
438 if ((fhandle.fh_len == args->fh.nfs_fh4_len &&
440 fhandle.fh_len) == 0)) {
H A Dnfs4_srv_ns.c176 exi->exi_fh.fh_len = sizeof (exi->exi_fh.fh_data);
H A Dnfs_export.c851 exi_root->exi_fh.fh_len = sizeof (exi_root->exi_fh.fh_data);
1219 exi->exi_fh.fh_len = sizeof (exi->exi_fh.fh_data);
2013 error = VOP_FID(vp, (fid_t *)&fh->fh_len, NULL);
2275 * Uses the file id (fh_len + fh_data) in the fhandle to get the vnode.
2311 fidp = (fid_t *)&fh->fh_len;
2326 * Uses the file id (fh_len + fh_data) in the file handle to get the vnode.
2368 * Uses the file id (fh_len + fh_data) in the file handle to get the vnode.
H A Dnfs4_vfsops.c2021 svp->sv_pfhandle.fh_len = tmpfhp->nfs_fh4_len;
2025 svp->sv_fhandle.fh_len = resfhp->nfs_fh4_len;
2246 rootfh.nfs_fh4_len = svp->sv_fhandle.fh_len;
2555 fh.nfs_fh4_len = svp->sv_fhandle.fh_len;
2558 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len;
H A Dnfs4_client.c3795 fhandle.fh_len = fh->nfs_fh4_len;
3796 bcopy(fh->nfs_fh4_val, fhandle.fh_buf, fhandle.fh_len);
3977 fhp->fh_len = sfh->sfh_fh.nfs_fh4_len;
3978 ASSERT(fhp->fh_len <= NFS4_FHSIZE);
3979 bcopy(sfh->sfh_fh.nfs_fh4_val, fhp->fh_buf, fhp->fh_len);
H A Dnfs4_recovery.c1710 fh.nfs_fh4_len = svp->sv_fhandle.fh_len;
1713 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len;
H A Dnfs3_vnops.c4461 if (fidp->fid_len < (ushort_t)rp->r_fh.fh_len) {
4462 fidp->fid_len = rp->r_fh.fh_len;
4465 fidp->fid_len = rp->r_fh.fh_len;
H A Dnfs_client.c2578 ip < (int *)&fhp->fh_buf[fhp->fh_len];
H A Dnfs_srv.c389 EQFID(&exi->exi_fid, (fid_t *)&fhp->fh_len)) {
H A Dnfs_server.c1594 fid = (fid_t *)&fh2->fh_len;
H A Dnfs4_vnops.c14830 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len;

Completed in 177 milliseconds