/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | dbtab.c | 202 (void) memcpy(linkkey, &dfh->fh_data, dfh->fh_len); in fill_link_key() 203 (void) strcpy(&linkkey[dfh->fh_len], name); in fill_link_key() 204 linksize = dfh->fh_len + strlen(name) + 1; in fill_link_key() 689 *errorp = store_record(dbp, &fh->fh_data, fh->fh_len, new_fhrecp, in create_primary_struct() 719 bcopy(&fh->fh_data, fhkey, fh->fh_len); in db_add_primary() 720 new_fhrecp = fetch_record(dbp, fhkey, fh->fh_len, (void *)fhrecp, in db_add_primary() 725 *errorp = db_update_fhrec(dbp, fhkey, fh->fh_len, new_fhrecp, in db_add_primary() 931 linkp->name_offset = linkp->fhkey_offset + fhrecp->fh.fh_len; in create_link_struct() 1003 bcopy(&fh->fh_data, fhkey, fh->fh_len); in db_add_secondary() 1006 new_fhrecp = fetch_record(dbp, fhkey, fh->fh_len, NULL, in db_add_secondary() [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) in sprint_fid() 466 fhlen = fh->fh_len; in sprint_fid() 813 if ((fh == NULL) || memcmp(&fh->fh_data, &fh->fh_xdata, fh->fh_len)) { in update_export_point() 942 len = 2 * (NFS_FHMAXDATA + fh->fh_len); /* fid instead */ in fh_print_absolute()
|
H A D | nfslogd.c | 347 public_fh.fh_len = NFS_FHMAXDATA; in main()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_vfsops.c | 652 if (fhandle->fh_len > NFS3_FHSIZE || fhandle->fh_len == 0) { in nfs3_mount() 657 fhandle->fh_len); in nfs3_mount() 658 fhandle->fh_len = NFS_FHANDLE_LEN; in nfs3_mount() 664 bcopy(&fhandle->fh_buf, &svp->sv_fhandle.fh_buf, fhandle->fh_len); in nfs3_mount() 665 svp->sv_fhandle.fh_len = fhandle->fh_len; in nfs3_mount()
|
H A D | nfs_vfsops.c | 384 fh->fh_len = NFS_FHSIZE; in nfs_copyin() 683 bcopy(&fhandle->fh_buf, &svp->sv_fhandle.fh_buf, fhandle->fh_len); in nfs_mount() 684 svp->sv_fhandle.fh_len = fhandle->fh_len; in nfs_mount() 1729 svp->sv_fhandle.fh_len = NFS_FHSIZE; in nfs_mountroot()
|
H A D | nfs_subr.c | 2285 nfh.fh_len = NFS_FHSIZE; in makenfsnode() 2444 len = (ulong_t)fh->fh_len; in rtablehash() 2554 rp->r_fh.fh_len = fh->fh_len; in make_rnode() 2555 bcopy(fh->fh_buf, rp->r_fh.fh_buf, fh->fh_len); in make_rnode() 2642 if (rootfh->fh_len == rp->r_fh.fh_len && in nfs_set_vroot() 2643 bcmp(rootfh->fh_buf, rp->r_fh.fh_buf, rp->r_fh.fh_len) == 0) { in nfs_set_vroot() 2900 rp->r_fh.fh_len == fh->fh_len && in rfind() 2901 bcmp(rp->r_fh.fh_buf, fh->fh_buf, fh->fh_len) == 0) { in rfind()
|
H A D | nfs4_rnode.c | 324 fhandle.fh_len = fh->sfh_fh.nfs_fh4_len; in badrootfh_check() 326 fhandle.fh_len); in badrootfh_check() 330 fhandle.fh_len = mi->mi_rootfh->sfh_fh.nfs_fh4_len; in badrootfh_check() 332 fhandle.fh_len); in badrootfh_check()
|
H A D | nfs4_subr.c | 181 if (fh1->fh_len == fh2->fh_len) in nfs4cmpfhandle() 182 return (bcmp(fh1->fh_buf, fh2->fh_buf, fh1->fh_len)); in nfs4cmpfhandle() 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 D | nfs4_callback.c | 253 if ((fhandle.fh_len == args->fh.nfs_fh4_len && in cb_getattr() 255 fhandle.fh_len) == 0)) { in cb_getattr() 438 if ((fhandle.fh_len == args->fh.nfs_fh4_len && in cb_recall() 440 fhandle.fh_len) == 0)) { in cb_recall()
|
H A D | nfs_export.c | 851 exi_root->exi_fh.fh_len = sizeof (exi_root->exi_fh.fh_data); in nfs_exportinit() 1219 exi->exi_fh.fh_len = sizeof (exi->exi_fh.fh_data); in exportfs() 2012 error = VOP_FID(vp, (fid_t *)&fh->fh_len, NULL); in makefh() 2310 fidp = (fid_t *)&fh->fh_len; in nfs_fhtovp()
|
H A D | nfs4_client.c | 3779 fhandle.fh_len = fh->nfs_fh4_len; in sfh4_get() 3780 bcopy(fh->nfs_fh4_val, fhandle.fh_buf, fhandle.fh_len); in sfh4_get() 3961 fhp->fh_len = sfh->sfh_fh.nfs_fh4_len; in sfh4_copyval() 3962 ASSERT(fhp->fh_len <= NFS4_FHSIZE); in sfh4_copyval() 3963 bcopy(sfh->sfh_fh.nfs_fh4_val, fhp->fh_buf, fhp->fh_len); in sfh4_copyval()
|
H A D | nfs4_vfsops.c | 2021 svp->sv_pfhandle.fh_len = tmpfhp->nfs_fh4_len; in nfs4getfh_otw() 2025 svp->sv_fhandle.fh_len = resfhp->nfs_fh4_len; in nfs4getfh_otw() 2246 rootfh.nfs_fh4_len = svp->sv_fhandle.fh_len; in nfs4_remap_root() 2559 fh.nfs_fh4_len = svp->sv_fhandle.fh_len; in nfs4rootvp() 2562 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len; in nfs4rootvp()
|
H A D | nfs4_srv_ns.c | 179 exi->exi_fh.fh_len = sizeof (exi->exi_fh.fh_data); in pseudo_exportfs()
|
H A D | nfs4_recovery.c | 1710 fh.nfs_fh4_len = svp->sv_fhandle.fh_len; in recov_newserver() 1713 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len; in recov_newserver()
|
H A D | nfs3_vnops.c | 4461 if (fidp->fid_len < (ushort_t)rp->r_fh.fh_len) { in nfs3_fid() 4462 fidp->fid_len = rp->r_fh.fh_len; in nfs3_fid() 4465 fidp->fid_len = rp->r_fh.fh_len; in nfs3_fid()
|
H A D | nfs_server.c | 1596 fid = (fid_t *)&fh2->fh_len; in common_dispatch()
|
H A D | nfs_srv.c | 389 EQFID(&exi->exi_fid, (fid_t *)&fhp->fh_len)) { in rfs_lookup()
|
H A D | nfs_client.c | 2577 ip < (int *)&fhp->fh_buf[fhp->fh_len]; in nfs_printfhandle()
|
H A D | nfs4_vnops.c | 14850 fh.nfs_fh4_len = svp->sv_pfhandle.fh_len; in vtodv()
|
/titanic_41/usr/src/uts/common/nfs/ |
H A D | rnode.h | 66 int fh_len; member
|
H A D | nfs4.h | 71 int fh_len; member
|
H A D | nfs.h | 423 ushort_t fh_len; /* file number length */ member
|