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

/opensolaris-onvv-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;
/opensolaris-onvv-gate/usr/src/uts/common/nfs/
H A Drnode.h66 int fh_len; member in struct:nfs_fhandle
H A Dnfs4.h56 int fh_len; member in struct:nfs4_fhandle
H A Dnfs.h420 ushort_t fh_len; /* file number length */ member in struct:svcfh
/opensolaris-onvv-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.c2281 nfh.fh_len = NFS_FHSIZE;
2440 len = (ulong_t)fh->fh_len;
2550 rp->r_fh.fh_len = fh->fh_len;
2551 bcopy(fh->fh_buf, rp->r_fh.fh_buf, fh->fh_len);
2638 if (rootfh->fh_len == rp->r_fh.fh_len &&
2639 bcmp(rootfh->fh_buf, rp->r_fh.fh_buf, rp->r_fh.fh_len) == 0) {
2883 rp->r_fh.fh_len == fh->fh_len
[all...]
H A Dnfs4_rnode.c321 fhandle.fh_len = fh->sfh_fh.nfs_fh4_len;
323 fhandle.fh_len);
327 fhandle.fh_len = mi->mi_rootfh->sfh_fh.nfs_fh4_len;
329 fhandle.fh_len);
H A Dnfs4_subr.c178 if (fh1->fh_len == fh2->fh_len)
179 return (bcmp(fh1->fh_buf, fh2->fh_buf, fh1->fh_len));
2327 ip < (int *)&fhp->fh_buf[fhp->fh_len];
3143 hash16((void *)&fhandle.fh_buf, fhandle.fh_len));
H A Dnfs_export.c834 exi_root->exi_fh.fh_len = sizeof (exi_root->exi_fh.fh_data);
1189 exi->exi_fh.fh_len = sizeof (exi->exi_fh.fh_data);
1971 error = VOP_FID(vp, (fid_t *)&fh->fh_len, NULL);
2228 * Uses the file id (fh_len + fh_data) in the fhandle to get the vnode.
2264 fidp = (fid_t *)&fh->fh_len;
2279 * Uses the file id (fh_len + fh_data) in the fhandle to get the vnode.
2296 error = VFS_VGET(vfsp, &vp, (fid_t *)&(fh->fh_len));
2306 * Uses the file id (fh_len + fh_data) in the file handle to get the vnode.
2348 * Uses the file id (fh_len + fh_data) in the file handle to get the vnode.
2382 * Uses the file id (fh_len
[all...]
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.c171 exi->exi_fh.fh_len = sizeof (exi->exi_fh.fh_data);
H A Dnfs4_client.c3785 fhandle.fh_len = fh->nfs_fh4_len;
3786 bcopy(fh->nfs_fh4_val, fhandle.fh_buf, fhandle.fh_len);
3967 fhp->fh_len = sfh->sfh_fh.nfs_fh4_len;
3968 ASSERT(fhp->fh_len <= NFS4_FHSIZE);
3969 bcopy(sfh->sfh_fh.nfs_fh4_val, fhp->fh_buf, fhp->fh_len);
H A Dnfs4_vfsops.c2019 svp->sv_pfhandle.fh_len = tmpfhp->nfs_fh4_len;
2023 svp->sv_fhandle.fh_len = resfhp->nfs_fh4_len;
2244 rootfh.nfs_fh4_len = svp->sv_fhandle.fh_len;
2553 fh.nfs_fh4_len = svp->sv_fhandle.fh_len;
2556 fh.nfs_fh4_len = svp->sv_pfhandle.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.c4448 if (fidp->fid_len < (ushort_t)rp->r_fh.fh_len) {
4449 fidp->fid_len = rp->r_fh.fh_len;
4452 fidp->fid_len = rp->r_fh.fh_len;
H A Dnfs_client.c2578 ip < (int *)&fhp->fh_buf[fhp->fh_len];
H A Dnfs_server.c1587 fid = (fid_t *)&fh2->fh_len;
H A Dnfs_srv.c387 EQFID(&exi->exi_fid, (fid_t *)&fhp->fh_len)) {
H A Dnfs4_vnops.c14803 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len;

Completed in 397 milliseconds