/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_fid.c | 33 __os_fileid(dbenv, fname, timestamp, fidp) in __os_fileid() argument 37 u_int8_t *fidp; 45 memset(fidp, 0, DB_FILE_ID_LEN); 64 *fidp++ = *--p; 67 *fidp++ = *--p; 73 *fidp++ = *--p;
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | pass1.c | 100 struct file_id *fidp; in pass1() local 144 offset += FID_LENGTH(fidp)) { in pass1() 145 err = getdir(fp, &fbp, &offset, &fidp); in pass1() 152 if (fidp->fid_flags & FID_DELETED) in pass1() 154 (void) cachefile(fidp->fid_icb.lad_ext_loc, in pass1() 155 fidp->fid_icb.lad_ext_len); in pass1() 301 struct file_id *fidp = (struct file_id *)fidbuf; in getdir() local 445 if (xoff < sizeof (fidp->fid_tag) || in getdir() 446 xoff < sizeof (fidp->fid_tag) + SWAP16(fidp->fid_tag.tag_crc_len)) { in getdir() 453 err = verifytag(&fidp->fid_tag, block, &fidp->fid_tag, UD_FILE_ID_DESC); in getdir() [all …]
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | vfs.h | 69 #define freefid(fidp) \ argument 70 kmem_free((caddr_t)(fidp), sizeof (struct fid) - MAXFIDSZ + (fidp)->fid_len) 160 #define VFS_VGET(vfsp, vpp, fidp) \ argument 161 (*(vfsp)->vfs_op->vfs_vget)(vfsp, vpp, fidp)
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | xattr.c | 173 xattr_common_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) in xattr_common_fid() argument 180 if (fidp->fid_len < XATTR_FIDSZ) { in xattr_common_fid() 181 fidp->fid_len = XATTR_FIDSZ; in xattr_common_fid() 192 xfidp = (xattr_fid_t *)fidp; in xattr_common_fid() 193 orig_len = fidp->fid_len; in xattr_common_fid() 194 fidp->fid_len = sizeof (xfidp->parent_fid); in xattr_common_fid() 196 error = VOP_FID(pvp, fidp, ct); in xattr_common_fid() 198 fidp->fid_len = orig_len; in xattr_common_fid() 202 xfidp->parent_len = fidp->fid_len; in xattr_common_fid() 203 fidp->fid_len = XATTR_FIDSZ; in xattr_common_fid() [all …]
|
H A D | fem.c | 1015 vhead_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) in vhead_fid() argument 1027 errc = (*func)(arg0, fidp, ct); in vhead_fid() 1034 errc = (*func)(arg0, fidp, ct); in vhead_fid() 1877 fshead_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) in fshead_vget() argument 1890 errc = (*func)(vfsp, vpp, fidp); in fshead_vget() 1897 errc = (*func)(arg0, vpp, fidp); in fshead_vget() 2393 vnext_fid(femarg_t *vf, fid_t *fidp, caller_context_t *ct) in vnext_fid() argument 2403 return ((*func)(arg0, fidp, ct)); in vnext_fid() 2839 vfsnext_vget(fsemarg_t *vf, vnode_t **vpp, fid_t *fidp) in vfsnext_vget() argument 2849 return ((*func)(arg0, vpp, fidp)); in vfsnext_vget()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_ns.c | 56 vop_fid_pseudo(vnode_t *vp, fid_t *fidp) in vop_fid_pseudo() argument 61 error = VOP_FID(vp, fidp, NULL); in vop_fid_pseudo() 73 (error == 0 && fidp->fid_len > NFS_FH4MAXDATA)) { in vop_fid_pseudo() 80 fidp->fid_len = sizeof (va.va_nodeid); in vop_fid_pseudo() 81 bcopy(&va.va_nodeid, fidp->fid_data, fidp->fid_len); in vop_fid_pseudo() 93 nfs4_vget_pseudo(struct exportinfo *exi, vnode_t **vpp, fid_t *fidp) in nfs4_vget_pseudo() argument 102 if (EQFID(fidp, &visp->vis_fid)) { in nfs4_vget_pseudo() 117 if (EQFID(fidp, &exp_fid)) { in nfs4_vget_pseudo()
|
H A D | nfs_export.c | 2542 fid_t *fidp; in nfs_fhtovp() local 2568 fidp = (fid_t *)&fh->fh_len; in nfs_fhtovp() 2570 error = VFS_VGET(vfsp, &vp, fidp); in nfs_fhtovp() 2593 fid_t *fidp; in nfs3_fhtovp() local 2614 fidp = FH3TOFIDP(fh); in nfs3_fhtovp() 2616 error = VFS_VGET(vfsp, &vp, fidp); in nfs3_fhtovp() 2635 fid_t *fidp; in nfs4_fhtovp() local 2653 fidp = (fid_t *)&fh_fmtp->fh4_len; in nfs4_fhtovp() 2678 error = VFS_VGET(vfsp, &vp, fidp); in nfs4_fhtovp() 2685 error = nfs4_vget_pseudo(exi, &vp, fidp); in nfs4_fhtovp()
|
H A D | nfs_vfsops.c | 1612 nfs_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) in nfs_vget() argument 1617 struct nfs_fid *nfsfidp = (struct nfs_fid *)fidp; in nfs_vget() 1622 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 D | nfs3_vfsops.c | 1611 nfs3_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) in nfs3_vget() argument 1618 if (fidp->fid_len > NFS3_FHSIZE) { in nfs3_vget() 1625 fh.fh3_length = fidp->fid_len; in nfs3_vget() 1626 bcopy(fidp->fid_data, fh.fh3_u.data, fh.fh3_length); in nfs3_vget()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_subr.h | 205 struct smb_cred *scrp, uint16_t *fidp, 213 struct smb_cred *scrp, uint16_t *fidp); 238 struct smb_cred *scrp, smb2fid_t *fidp,
|
H A D | smb_smb.c | 885 uint16_t *fidp, /* returned FID */ in smb1_smb_ntcreate() argument 987 *fidp = fid; in smb1_smb_ntcreate() 1036 uint16_t *fidp) in smb_smb_open_prjob() argument 1089 *fidp = fid; in smb_smb_open_prjob()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_ctldir.h | 62 fid_t *fidp);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 349 zfsctl_common_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) in zfsctl_common_fid() argument 359 if (fidp->fid_len < SHORT_FID_LEN) { in zfsctl_common_fid() 360 fidp->fid_len = SHORT_FID_LEN; in zfsctl_common_fid() 365 zfid = (zfid_short_t *)fidp; in zfsctl_common_fid() 383 zfsctl_shares_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) in zfsctl_shares_fid() argument 397 error = VOP_FID(ZTOV(dzp), fidp, ct); in zfsctl_shares_fid()
|
H A D | zfs_vfsops.c | 92 static int zfs_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp); 2384 zfs_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) in zfs_vget() argument 2398 if (fidp->fid_len == LONG_FID_LEN) { in zfs_vget() 2399 zfid_long_t *zlfid = (zfid_long_t *)fidp; in zfs_vget() 2417 if (fidp->fid_len == SHORT_FID_LEN || fidp->fid_len == LONG_FID_LEN) { in zfs_vget() 2418 zfid_short_t *zfid = (zfid_short_t *)fidp; in zfs_vget()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fem.h | 203 int (*femop_fid)(femarg_t *vf, fid_t *fidp, \ 289 int (*fsemop_vget)(fsemarg_t *vf, vnode_t **vpp, fid_t *fidp); \ 349 extern int vnext_fid(femarg_t *vf, fid_t *fidp, caller_context_t *ct); 413 extern int vfsnext_vget(fsemarg_t *vf, vnode_t **vpp, fid_t *fidp);
|
H A D | vfs.h | 360 #define VFS_VGET(vfsp, vpp, fidp) fsop_vget(vfsp, vpp, fidp) argument
|
/illumos-gate/usr/src/uts/common/fs/lofs/ |
H A D | lofs_vfsops.c | 544 lo_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp) in lo_vget() argument 553 return (VFS_VGET(realrootvp->v_vfsp, vpp, fidp)); in lo_vget()
|
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vnops.c | 1081 devfs_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in devfs_fid() argument 1086 if (fidp->fid_len < (sizeof (struct dv_fid) - sizeof (ushort_t))) { in devfs_fid() 1087 fidp->fid_len = sizeof (struct dv_fid) - sizeof (ushort_t); in devfs_fid() 1091 dv_fid = (struct dv_fid *)fidp; in devfs_fid()
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vfsops.c | 673 tmp_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp) in tmp_vget() argument 679 tfid = (struct tfid *)fidp; in tmp_vget()
|
H A D | tmp_vnops.c | 1747 tmp_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in tmp_fid() argument 1752 if (fidp->fid_len < (sizeof (struct tfid) - sizeof (ushort_t))) { in tmp_fid() 1753 fidp->fid_len = sizeof (struct tfid) - sizeof (ushort_t); in tmp_fid() 1757 tfid = (struct tfid *)fidp; in tmp_fid()
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vnops.c | 1472 sdev_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in sdev_fid() argument 1477 if (fidp->fid_len < (sizeof (struct sdev_fid) - sizeof (ushort_t))) { in sdev_fid() 1478 fidp->fid_len = sizeof (struct sdev_fid) - sizeof (ushort_t); in sdev_fid() 1482 sdev_fid = (struct sdev_fid *)fidp; in sdev_fid()
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 108 static int pcfs_fid(struct vnode *vp, struct fid *fidp, caller_context_t *); 2401 pcfs_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in pcfs_fid() argument 2418 if (fidp->fid_len < (sizeof (struct pc_fid) - sizeof (ushort_t))) { in pcfs_fid() 2419 fidp->fid_len = sizeof (struct pc_fid) - sizeof (ushort_t); in pcfs_fid() 2424 pcfid = (struct pc_fid *)fidp; in pcfs_fid()
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_vfsops.c | 228 static int hsfs_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp); 482 hsfs_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp) in hsfs_vget() argument 490 fid = (struct hsfid *)fidp; in hsfs_vget()
|
H A D | hsfs_vnops.c | 581 hsfs_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in hsfs_fid() argument 586 if (fidp->fid_len < (sizeof (*fid) - sizeof (fid->hf_len))) { in hsfs_fid() 587 fidp->fid_len = sizeof (*fid) - sizeof (fid->hf_len); in hsfs_fid() 591 fid = (struct hsfid *)fidp; in hsfs_fid()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon_vnops.c | 470 socket_vop_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in socket_vop_fid() argument
|