Home
last modified time | relevance | path

Searched refs:fidp (Results 1 – 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_fid.c33 __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 Dpass1.c100 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()
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()
455 dump16((char *)fidp, "\n"); in getdir()
[all …]
/illumos-gate/usr/src/ucbhead/sys/
H A Dvfs.h69 #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 Dxattr.c180 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()
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()
1703 xfidp = (xattr_fid_t *)fidp; in xattr_dir_vget()
1704 orig_len = fidp->fid_len; in xattr_dir_vget()
[all …]
H A Dfem.c1013 vhead_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) in vhead_fid() argument
1025 errc = (*func)(arg0, fidp, ct); in vhead_fid()
1032 errc = (*func)(arg0, fidp, ct); in vhead_fid()
1847 fshead_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) in fshead_vget() argument
1860 errc = (*func)(vfsp, vpp, fidp); in fshead_vget()
1867 errc = (*func)(arg0, vpp, fidp); in fshead_vget()
2362 vnext_fid(femarg_t *vf, fid_t *fidp, caller_context_t *ct) in vnext_fid() argument
2372 return ((*func)(arg0, fidp, ct)); in vnext_fid()
2808 vfsnext_vget(fsemarg_t *vf, vnode_t **vpp, fid_t *fidp) in vfsnext_vget() argument
2818 return ((*func)(arg0, vpp, fidp)); in vfsnext_vget()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c56 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 Dnfs_export.c2542 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 Dnfs_vfsops.c1612 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 Dnfs3_vfsops.c1611 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 Dsmb_subr.h197 struct smb_cred *scrp, uint16_t *fidp,
205 struct smb_cred *scrp, uint16_t *fidp);
230 struct smb_cred *scrp, smb2fid_t *fidp,
H A Dsmb_smb.c885 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 Dzfs_ctldir.h62 fid_t *fidp);
/illumos-gate/usr/src/uts/common/sys/
H A Dfem.h203 int (*femop_fid)(femarg_t *vf, fid_t *fidp, \
289 int (*fsemop_vget)(fsemarg_t *vf, vnode_t **vpp, fid_t *fidp); \
348 extern int vnext_fid(femarg_t *vf, fid_t *fidp, caller_context_t *ct);
412 extern int vfsnext_vget(fsemarg_t *vf, vnode_t **vpp, fid_t *fidp);
H A Dvfs.h358 #define VFS_VGET(vfsp, vpp, fidp) fsop_vget(vfsp, vpp, fidp) argument
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c349 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 Dzfs_vfsops.c90 static int zfs_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp);
2360 zfs_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) in zfs_vget() argument
2374 if (fidp->fid_len == LONG_FID_LEN) { in zfs_vget()
2375 zfid_long_t *zlfid = (zfid_long_t *)fidp; in zfs_vget()
2393 if (fidp->fid_len == SHORT_FID_LEN || fidp->fid_len == LONG_FID_LEN) { in zfs_vget()
2394 zfid_short_t *zfid = (zfid_short_t *)fidp; in zfs_vget()
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vfsops.c525 lo_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp) in lo_vget() argument
534 return (VFS_VGET(realrootvp->v_vfsp, vpp, fidp)); in lo_vget()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/sys/
H A Dvfs.h361 #define VFS_VGET(vfsp, vpp, fidp) fsop_vget(vfsp, vpp, fidp) argument
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c1081 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 Dtmp_vfsops.c672 tmp_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp) in tmp_vget() argument
678 tfid = (struct tfid *)fidp; in tmp_vget()
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c1472 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 Dpc_vnops.c110 static int pcfs_fid(struct vnode *vp, struct fid *fidp, caller_context_t *);
2403 pcfs_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in pcfs_fid() argument
2420 if (fidp->fid_len < (sizeof (struct pc_fid) - sizeof (ushort_t))) { in pcfs_fid()
2421 fidp->fid_len = sizeof (struct pc_fid) - sizeof (ushort_t); in pcfs_fid()
2426 pcfid = (struct pc_fid *)fidp; in pcfs_fid()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c228 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 Dhsfs_vnops.c581 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 Dsockcommon_vnops.c470 socket_vop_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in socket_vop_fid() argument

12