Home
last modified time | relevance | path

Searched refs:fid_len (Results 1 – 25 of 31) sorted by relevance

12

/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c69 (error == 0 && fidp->fid_len > NFS_FH4MAXDATA)) { in vop_fid_pseudo()
76 fidp->fid_len = sizeof (va.va_nodeid); in vop_fid_pseudo()
77 bcopy(&va.va_nodeid, fidp->fid_data, fidp->fid_len); in vop_fid_pseudo()
111 exp_fid.fid_len = MAXFIDSZ; in nfs4_vget_pseudo()
175 ASSERT(exi->exi_fid.fid_len <= sizeof (exi->exi_fh.fh_xdata)); in pseudo_exportfs()
176 exi->exi_fh.fh_xlen = exi->exi_fid.fid_len; in pseudo_exportfs()
178 exi->exi_fid.fid_len); in pseudo_exportfs()
644 fid.fid_len = MAXFIDSZ; in treeclimb_export()
989 fid.fid_len = MAXFIDSZ; in has_visible()
1064 fid.fid_len = MAXFIDSZ; in nfs_visible()
[all …]
H A Dnfs_export.c146 len = fid->fid_len > NFS_FH4MAXDATA ? 0 : fid->fid_len; in nfs_fhhash()
826 exi_rootfid.fid_len = MAXFIDSZ; in nfs_exportinit()
848 exi_root->exi_fh.fh_xlen = exi_rootfid.fid_len; in nfs_exportinit()
850 exi_rootfid.fid_len); in nfs_exportinit()
1144 fid.fid_len = MAXFIDSZ; in exportfs()
1211 if (exi->exi_fid.fid_len > sizeof (exi->exi_fh.fh_xdata)) { in exportfs()
1215 exi->exi_fh.fh_xlen = exi->exi_fid.fid_len; in exportfs()
1217 exi->exi_fid.fid_len); in exportfs()
1921 fid.fid_len = MAXFIDSZ; in nfs_vptoexi()
2115 fid.fid_len = sizeof (fh->fh3_data); in makefh3()
[all …]
H A Dnfs_vfsops.c1622 if (fidp->fid_len != (sizeof (*nfsfidp) - sizeof (short))) { in nfs_vget()
1625 "nfs_vget: bad fid len, %d/%d", fidp->fid_len, in nfs_vget()
H A Dnfs3_vfsops.c1618 if (fidp->fid_len > NFS3_FHSIZE) { in nfs3_vget()
1625 fh.fh3_length = fidp->fid_len; in nfs3_vget()
H A Dnfs4_srv_readdir.c171 fid.fid_len = MAXFIDSZ; in nfs4_readdir_getvp()
H A Dnfs3_vnops.c4461 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()
4466 bcopy(rp->r_fh.fh_buf, fidp->fid_data, fidp->fid_len); in nfs3_fid()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dvfs.h45 kmem_free((caddr_t)(fidp), sizeof (struct fid) - MAXFIDSZ + (fidp)->fid_len)
48 u_short fid_len; /* length of data in bytes */ member
/titanic_44/usr/src/uts/common/fs/
H A Dxattr.c109 if (fidp->fid_len < XATTR_FIDSZ) { in xattr_common_fid()
110 fidp->fid_len = XATTR_FIDSZ; in xattr_common_fid()
122 orig_len = fidp->fid_len; in xattr_common_fid()
123 fidp->fid_len = sizeof (xfidp->parent_fid); in xattr_common_fid()
127 fidp->fid_len = orig_len; in xattr_common_fid()
131 xfidp->parent_len = fidp->fid_len; in xattr_common_fid()
132 fidp->fid_len = XATTR_FIDSZ; in xattr_common_fid()
1591 if (fidp->fid_len < XATTR_FIDSZ) in xattr_dir_vget()
1595 orig_len = fidp->fid_len; in xattr_dir_vget()
1596 fidp->fid_len = xfidp->parent_len; in xattr_dir_vget()
[all …]
/titanic_44/usr/src/ucbhead/sys/
H A Dvfs.h72 kmem_free((caddr_t)(fidp), sizeof (struct fid) - MAXFIDSZ + (fidp)->fid_len)
75 ushort_t fid_len; /* length of data in bytes */ member
/titanic_44/usr/src/uts/common/nfs/
H A Dexport.h586 ((fidp1)->fid_len == (fidp2)->fid_len && \
588 (uint_t)(fidp1)->fid_len) == 0)
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_logelem.c236 for (index = 0; index < (int)fidp->fid_len; index += sizeof (uint_t)) { in logelem_format_fid()
341 if (fp->fid_len) { in logelem_lostfound()
375 if (fp->fid_len) { in logelem_lostfound()
1220 dbug_assert(filefid.fid_len); in logelem_roll_setattr()
1410 dbug_assert(filefid.fid_len); in logelem_roll_setsecattr()
1621 dbug_assert(dirfid.fid_len); in logelem_roll_create()
1803 dbug_assert(dirfid.fid_len); in logelem_roll_remove()
1950 dbug_assert(dirfid.fid_len); in logelem_roll_rmdir()
2028 dbug_assert(dirfid.fid_len); in logelem_roll_mkdir()
2132 dbug_assert(linkfid.fid_len); in logelem_roll_link()
[all …]
H A Dcfsd_kmod.c1451 for (index = 0; index < (int)fidp->fid_len; index += sizeof (uint_t)) { in kmod_format_fid()
/titanic_44/usr/src/uts/common/fs/cachefs/
H A Dcachefs_cnode.c646 ((cookiep->fid_len != cp->c_cookie.fid_len) || in cachefs_cnode_find()
648 (caddr_t)&cp->c_cookie.fid_data, cookiep->fid_len)) != 0)) { in cachefs_cnode_find()
823 if ((cookiep->fid_len != cp->c_cookie.fid_len) || in cachefs_cnode_init()
825 (size_t)cookiep->fid_len) != 0)) { in cachefs_cnode_init()
954 ((cookiep->fid_len != cookie.fid_len) || in cachefs_cnode_make()
956 (size_t)cookiep->fid_len) != 0))) { in cachefs_cnode_make()
1773 (size_t)cp->c_cookie.fid_len) == 0 && in cnode_enable_caching()
H A Dcachefs_ioctl.c1313 tmpfidp->fid_len = MAXFIDSZ; in cachefs_io_getattrname()
1535 tmpfidp->fid_len = MAXFIDSZ; in cachefs_io_create()
1619 child_fid.fid_len = MAXFIDSZ; in cachefs_io_remove()
1780 child_fid.fid_len = MAXFIDSZ; in cachefs_io_rename()
1903 tmpfidp->fid_len = MAXFIDSZ; in cachefs_io_mkdir()
2046 tmpfidp->fid_len = MAXFIDSZ; in cachefs_io_symlink()
H A Dcachefs_vnops.c5327 gone.fid_len = MAXFIDSZ; in cachefs_rename()
7262 if (fidp->fid_len < cp->c_metadata.md_cookie.fid_len) { in cachefs_fid()
7263 fidp->fid_len = cp->c_metadata.md_cookie.fid_len; in cachefs_fid()
7267 cp->c_metadata.md_cookie.fid_len); in cachefs_fid()
7268 fidp->fid_len = cp->c_metadata.md_cookie.fid_len; in cachefs_fid()
H A Dcachefs_subr.c991 cp->c_metadata.md_fid.fid_len = MAXFIDSZ; in cachefs_createfrontfile()
2024 cookiep->fid_len = MAXFIDSZ; in cachefs_getcookie()
/titanic_44/usr/src/uts/common/sys/fs/
H A Dcachefs_fs.h251 (out_fidp)->fid_len = (in_fidp)->fid_len; \
252 bcopy((in_fidp)->fid_data, (out_fidp)->fid_data, (in_fidp)->fid_len)
/titanic_44/usr/src/uts/common/sys/
H A Dvfs.h120 #define fid_len un._fid.len macro
/titanic_44/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c1076 if (fidp->fid_len < (sizeof (struct dv_fid) - sizeof (ushort_t))) { in devfs_fid()
1077 fidp->fid_len = sizeof (struct dv_fid) - sizeof (ushort_t); in devfs_fid()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c364 if (fidp->fid_len < SHORT_FID_LEN) { in zfsctl_common_fid()
365 fidp->fid_len = SHORT_FID_LEN; in zfsctl_common_fid()
H A Dzfs_vfsops.c1984 if (fidp->fid_len == LONG_FID_LEN) { in zfs_vget()
2003 if (fidp->fid_len == SHORT_FID_LEN || fidp->fid_len == LONG_FID_LEN) { in zfs_vget()
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c1455 if (fidp->fid_len < (sizeof (struct sdev_fid) - sizeof (ushort_t))) { in sdev_fid()
1456 fidp->fid_len = sizeof (struct sdev_fid) - sizeof (ushort_t); in sdev_fid()
/titanic_44/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c661 if (fidp->fid_len < (sizeof (*fid) - sizeof (fid->hf_len))) { in hsfs_fid()
662 fidp->fid_len = sizeof (*fid) - sizeof (fid->hf_len); in hsfs_fid()
/titanic_44/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c2419 if (fidp->fid_len < (sizeof (struct pc_fid) - sizeof (ushort_t))) { in pcfs_fid()
2420 fidp->fid_len = sizeof (struct pc_fid) - sizeof (ushort_t); in pcfs_fid()
/titanic_44/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c1737 if (fidp->fid_len < (sizeof (struct tfid) - sizeof (ushort_t))) { in tmp_fid()
1738 fidp->fid_len = sizeof (struct tfid) - sizeof (ushort_t); in tmp_fid()

12