/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | dbtab.c | 202 (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 D | fhtab.h | 161 (((fh)->fh_len > 0) ? fh : &public_fh)
|
H A D | fhtab.c | 463 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 D | nfslogd.c | 347 public_fh.fh_len = NFS_FHMAXDATA;
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | rnode.h | 66 int fh_len; member in struct:nfs_fhandle
|
H A D | nfs4.h | 71 int fh_len; member in struct:nfs4_fhandle
|
H A D | nfs.h | 423 ushort_t fh_len; /* file number length */ member in struct:svcfh
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_vfsops.c | 652 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 D | nfs_vfsops.c | 384 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 D | nfs_subr.c | 2285 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 D | nfs4_rnode.c | 324 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 D | nfs4_subr.c | 181 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 D | nfs4_callback.c | 253 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 D | nfs4_srv_ns.c | 176 exi->exi_fh.fh_len = sizeof (exi->exi_fh.fh_data);
|
H A D | nfs_export.c | 851 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 D | nfs4_vfsops.c | 2021 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 D | nfs4_client.c | 3795 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 D | nfs4_recovery.c | 1710 fh.nfs_fh4_len = svp->sv_fhandle.fh_len; 1713 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len;
|
H A D | nfs3_vnops.c | 4461 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 D | nfs_client.c | 2578 ip < (int *)&fhp->fh_buf[fhp->fh_len];
|
H A D | nfs_srv.c | 389 EQFID(&exi->exi_fid, (fid_t *)&fhp->fh_len)) {
|
H A D | nfs_server.c | 1594 fid = (fid_t *)&fh2->fh_len;
|
H A D | nfs4_vnops.c | 14830 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len;
|