Home
last modified time | relevance | path

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

12

/titanic_50/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;
/titanic_50/usr/src/cmd/fs.d/udfs/fsck/
H A Dpass1.c100 struct file_id *fidp; in pass1() local
145 offset += FID_LENGTH(fidp)) { in pass1()
146 err = getdir(fp, &fbp, &offset, &fidp); in pass1()
153 if (fidp->fid_flags & FID_DELETED) in pass1()
155 (void) cachefile(fidp->fid_icb.lad_ext_loc, in pass1()
156 fidp->fid_icb.lad_ext_len); in pass1()
305 register struct file_id *fidp = (struct file_id *)fidbuf; in getdir() local
451 if (xoff < sizeof (fidp->fid_tag) || in getdir()
452 xoff < sizeof (fidp->fid_tag) + SWAP16(fidp->fid_tag.tag_crc_len)) { in getdir()
459 err = verifytag(&fidp->fid_tag, block, &fidp->fid_tag, UD_FILE_ID_DESC); in getdir()
[all …]
/titanic_50/usr/src/ucbhead/sys/
H A Dvfs.h71 #define freefid(fidp) \ argument
72 kmem_free((caddr_t)(fidp), sizeof (struct fid) - MAXFIDSZ + (fidp)->fid_len)
162 #define VFS_VGET(vfsp, vpp, fidp) \ argument
163 (*(vfsp)->vfs_op->vfs_vget)(vfsp, vpp, fidp)
/titanic_50/usr/src/lib/libbc/inc/include/sys/
H A Dvfs.h44 #define freefid(fidp) \ argument
45 kmem_free((caddr_t)(fidp), sizeof (struct fid) - MAXFIDSZ + (fidp)->fid_len)
/titanic_50/usr/src/uts/common/fs/
H A Dxattr.c102 xattr_common_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) in xattr_common_fid() argument
109 if (fidp->fid_len < XATTR_FIDSZ) { in xattr_common_fid()
110 fidp->fid_len = XATTR_FIDSZ; in xattr_common_fid()
121 xfidp = (xattr_fid_t *)fidp; 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()
125 error = VOP_FID(pvp, fidp, ct); 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()
[all …]
H A Dfem.c1012 vhead_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) in vhead_fid() argument
1024 errc = (*func)(arg0, fidp, ct); in vhead_fid()
1031 errc = (*func)(arg0, fidp, ct); in vhead_fid()
1844 fshead_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) in fshead_vget() argument
1857 errc = (*func)(vfsp, vpp, fidp); in fshead_vget()
1864 errc = (*func)(arg0, vpp, fidp); in fshead_vget()
2358 vnext_fid(femarg_t *vf, fid_t *fidp, caller_context_t *ct) in vnext_fid() argument
2368 return ((*func)(arg0, fidp, ct)); in vnext_fid()
2804 vfsnext_vget(fsemarg_t *vf, vnode_t **vpp, fid_t *fidp) in vfsnext_vget() argument
2814 return ((*func)(arg0, vpp, fidp)); in vfsnext_vget()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c52 vop_fid_pseudo(vnode_t *vp, fid_t *fidp) in vop_fid_pseudo() argument
57 error = VOP_FID(vp, fidp, NULL); in vop_fid_pseudo()
69 (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()
89 nfs4_vget_pseudo(struct exportinfo *exi, vnode_t **vpp, fid_t *fidp) in nfs4_vget_pseudo() argument
99 if (EQFID(fidp, &visp->vis_fid)) { in nfs4_vget_pseudo()
116 if (EQFID(fidp, &exp_fid)) { in nfs4_vget_pseudo()
H A Dnfs_export.c2284 fid_t *fidp; in nfs_fhtovp() local
2310 fidp = (fid_t *)&fh->fh_len; in nfs_fhtovp()
2312 error = VFS_VGET(vfsp, &vp, fidp); in nfs_fhtovp()
2335 fid_t *fidp; in nfs3_fhtovp() local
2356 fidp = FH3TOFIDP(fh); in nfs3_fhtovp()
2358 error = VFS_VGET(vfsp, &vp, fidp); in nfs3_fhtovp()
2377 fid_t *fidp; in nfs4_fhtovp() local
2395 fidp = (fid_t *)&fh_fmtp->fh4_len; in nfs4_fhtovp()
2420 error = VFS_VGET(vfsp, &vp, fidp); in nfs4_fhtovp()
2427 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()
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_subr.h167 struct smb_cred *scrp, uint16_t *fidp,
176 struct smb_cred *scrp, uint16_t *fidp);
H A Dsmb_smb.c366 uint16_t *fidp, /* returned FID */ in smb_smb_ntcreate() argument
468 *fidp = fid; in smb_smb_ntcreate()
517 uint16_t *fidp) in smb_smb_open_prjob() argument
570 *fidp = fid; in smb_smb_open_prjob()
/titanic_50/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr.h176 uint16_t *fidp, uint32_t *rightsp, struct smbfattr *fap);
178 struct smb_cred *scrp, uint16_t *fidp);
184 int xattr, uint32_t disp, struct smb_cred *scrp, uint16_t *fidp);
H A Dsmbfs_smb.c1113 uint16_t *fidp, /* returned FID */ in smbfs_smb_ntcreatex() argument
1134 scrp, fidp, cr_act_p, fap); in smbfs_smb_ntcreatex()
1199 uint16_t *fidp, in smbfs_smb_oldopen() argument
1263 md_get_uint16le(mdp, fidp); in smbfs_smb_oldopen()
1291 uint16_t *fidp) in smbfs_smb_tmpopen() argument
1306 *fidp = np->n_fid; in smbfs_smb_tmpopen()
1320 scrp, fidp, in smbfs_smb_tmpopen()
1329 fidp, in smbfs_smb_tmpopen()
1379 uint16_t *fidp, in smbfs_smb_open() argument
1396 scrp, fidp, in smbfs_smb_open()
[all …]
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_ctldir.h62 fid_t *fidp);
/titanic_50/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.h364 #define VFS_VGET(vfsp, vpp, fidp) fsop_vget(vfsp, vpp, fidp) argument
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c355 zfsctl_common_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) in zfsctl_common_fid() argument
365 if (fidp->fid_len < SHORT_FID_LEN) { in zfsctl_common_fid()
366 fidp->fid_len = SHORT_FID_LEN; in zfsctl_common_fid()
371 zfid = (zfid_short_t *)fidp; in zfsctl_common_fid()
389 zfsctl_shares_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) in zfsctl_shares_fid() argument
403 error = VOP_FID(ZTOV(dzp), fidp, ct); in zfsctl_shares_fid()
H A Dzfs_vfsops.c84 static int zfs_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp);
1937 zfs_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) in zfs_vget() argument
1951 if (fidp->fid_len == LONG_FID_LEN) { in zfs_vget()
1952 zfid_long_t *zlfid = (zfid_long_t *)fidp; in zfs_vget()
1970 if (fidp->fid_len == SHORT_FID_LEN || fidp->fid_len == LONG_FID_LEN) { in zfs_vget()
1971 zfid_short_t *zfid = (zfid_short_t *)fidp; in zfs_vget()
/titanic_50/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()
/titanic_50/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c1071 devfs_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in devfs_fid() argument
1076 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()
1081 dv_fid = (struct dv_fid *)fidp; in devfs_fid()
/titanic_50/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vfsops.c640 tmp_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp) in tmp_vget() argument
646 tfid = (struct tfid *)fidp; in tmp_vget()
/titanic_50/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c1450 sdev_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in sdev_fid() argument
1455 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()
1460 sdev_fid = (struct sdev_fid *)fidp; in sdev_fid()
/titanic_50/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c227 static int hsfs_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp);
481 hsfs_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp) in hsfs_vget() argument
489 fid = (struct hsfid *)fidp; in hsfs_vget()
/titanic_50/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c109 static int pcfs_fid(struct vnode *vp, struct fid *fidp, caller_context_t *);
2402 pcfs_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in pcfs_fid() argument
2419 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()
2425 pcfid = (struct pc_fid *)fidp; in pcfs_fid()

12