Home
last modified time | relevance | path

Searched refs:vtype (Results 1 – 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/
H A Dptrmap.h6 #define DECLARE_PTRMAP(name, ktype, vtype) \ argument
7 struct name ## _pair { ktype key; vtype val; }; \
10 void name##_add(struct name **map, ktype k, vtype v) { \
14 void name##_update(struct name **map, ktype k, vtype v) { \
18 vtype name##_lookup(struct name *map, ktype k) { \
19 vtype val = __ptrmap_lookup((struct ptrmap*)map, k); \
/illumos-gate/usr/src/uts/common/sys/
H A Dlofi.h216 #define V_ISLOFIABLE(vtype) \ argument
217 ((vtype == VREG) || (vtype == VBLK) || (vtype == VCHR))
H A Dmode.h48 extern enum vtype iftovt_tab[];
H A Dvnode.h161 typedef enum vtype { enum
291 enum vtype v_type; /* vnode type */
/illumos-gate/usr/src/lib/libnvpair/
H A Dlibnvpair.c47 #define DEFINEOP(opname, vtype) \ argument
50 const char *, vtype); \
54 #define DEFINEARROP(opname, vtype) \ argument
57 const char *, vtype, uint_t); \
189 #define NVLIST_PRTFUNC(type_and_variant, vtype, ptype, vfmt) \ argument
192 nvlist_t *nvl, const char *name, vtype value) \
222 #define NVLIST_ARRPRTFUNC(type_and_variant, vtype, ptype, vfmt) \ argument
225 nvlist_t *nvl, const char *name, vtype *valuep, uint_t count) \
420 #define NVLIST_PRINTCTL_REPLACE(type, vtype) \ argument
423 int (*func)(nvlist_prtctl_t, void *, nvlist_t *, const char *, vtype), \
[all …]
H A Dlibnvpair.h172 #define NVLIST_PRINTCTL_AVDECL(funcname, vtype) \ argument
174 int (*)(nvlist_prtctl_t, void *, nvlist_t *, const char *, vtype, uint_t), \
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_client.c260 vtype_t vtype, oldvt; in smbfs_attrcache_fa() local
271 vtype = VDIR; in smbfs_attrcache_fa()
274 vtype = VREG; in smbfs_attrcache_fa()
305 if (vtype == VDIR) { in smbfs_attrcache_fa()
322 vp->v_type = vtype; in smbfs_attrcache_fa()
337 if (vtype == VDIR && newsize < DEV_BSIZE) in smbfs_attrcache_fa()
357 if (oldvt != vtype) { in smbfs_attrcache_fa()
358 SMBVDEBUG("vtype change %d to %d\n", oldvt, vtype); in smbfs_attrcache_fa()
H A Dsmbfs_node.h226 enum vtype n_ovtype; /* vnode type opened */
H A Dsmbfs_vnops.c1865 smbfs_access_rwx(vfs_t *vfsp, int vtype, int mode, cred_t *cr) in smbfs_access_rwx() argument
1880 va.va_type = vtype; in smbfs_access_rwx()
1881 va.va_mode = (vtype == VDIR) ? in smbfs_access_rwx()
1895 !(vtype == VCHR || vtype == VBLK || vtype == VFIFO)) in smbfs_access_rwx()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dsdev_plugin.h92 extern enum vtype sdev_ctx_vtype(sdev_ctx_t);
H A Dpc_node.h138 extern int pc_dirremove(struct pcnode *, char *, struct vnode *, enum vtype,
H A Dhsfs_node.h44 enum vtype type; /* file type */
H A Dsdev_impl.h483 extern struct vattr *sdev_getdefault_attr(enum vtype type);
H A Dufs_inode.h506 extern enum vtype iftovt_tab[];
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_internal.c579 internal_property_create(const char *name, scf_type_t vtype, uint_t nvals, ...) in internal_property_create() argument
588 p->sc_value_type = vtype; in internal_property_create()
594 v->sc_type = vtype; in internal_property_create()
596 switch (vtype) { in internal_property_create()
618 uu_die(gettext("unknown property type (%d)\n"), vtype); in internal_property_create()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c1358 zfs_acl_chmod(vtype_t vtype, uint64_t mode, boolean_t split, boolean_t trim, in zfs_acl_chmod() argument
1377 isdir = (vtype == VDIR); in zfs_acl_chmod()
1507 zfs_ace_can_use(vtype_t vtype, uint16_t acep_flags) in zfs_ace_can_use() argument
1511 if ((vtype == VDIR) && (iflags & ACE_DIRECTORY_INHERIT_ACE)) in zfs_ace_can_use()
1514 return (!((vtype == VDIR) && in zfs_ace_can_use()
1523 zfs_acl_inherit(zfsvfs_t *zfsvfs, vtype_t vtype, zfs_acl_t *paclp, in zfs_acl_inherit() argument
1537 boolean_t isdir = (vtype == VDIR); in zfs_acl_inherit()
1538 boolean_t isreg = (vtype == VREG); in zfs_acl_inherit()
1545 if (aclinherit == ZFS_ACL_DISCARD || vtype == VLNK) in zfs_acl_inherit()
1562 !zfs_ace_can_use(vtype, iflags)) in zfs_acl_inherit()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h121 enum vtype v_type;
/illumos-gate/usr/src/uts/common/syscall/
H A Dopen.c66 enum vtype type; in copen()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_vfsops.c2177 vtype_t vtype; in nfs4_remap_root() local
2218 nfs4getfh_otw(mi, svp, &vtype, getfh_flags, CRED(), ep); in nfs4_remap_root()
2237 if (vtype != VNON && vtype != mi->mi_type) { in nfs4_remap_root()
2241 "match mount info (%d)", vtype, mi->mi_type); in nfs4_remap_root()
2274 vtype_t vtype = VNON; in nfs4rootvp() local
2535 if (vtype == VNON) { in nfs4rootvp()
2536 vtype = tmp_vtype; in nfs4rootvp()
2537 } else if (vtype != tmp_vtype) { in nfs4rootvp()
2579 rtvp->v_type = vtype; in nfs4rootvp()
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_zvolops.c607 enum vtype expected_type = VDIR; in devzvol_mk_ngz_node()
697 enum vtype expected_type = VDIR; in devzvol_lookup()
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs_clnt.h337 enum vtype mi_type; /* file type of the root vnode */
/illumos-gate/usr/src/uts/common/os/
H A Dpolicy.c1354 secpolicy_xvattr(xvattr_t *xvap, uid_t owner, cred_t *cr, vtype_t vtype) in secpolicy_xvattr() argument
1397 if (error == 0 && vtype != VREG && xoap->xoa_av_quarantined) in secpolicy_xvattr()
1406 if (error == 0 && vtype != VREG) in secpolicy_xvattr()
/illumos-gate/usr/src/uts/common/fs/
H A Dvnode.c216 enum vtype iftovt_tab[] = {
1847 enum vtype vtype; in vn_removeat() local
1962 vtype = vp->v_type; in vn_removeat()
1992 if (vtype != VDIR) { in vn_removeat()
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c451 spec_clone(struct vnode **vpp, dev_t newdev, int vtype, struct stdata *stp) in spec_clone() argument
482 newvp = makespecvp(newdev, vtype); in spec_clone()
884 enum vtype type; in spec_close()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvnops.c241 vtype_t vtype; in propen() local
265 vtype = rvp->v_type; in propen()
267 (type == PR_FD && vtype != VREG && vtype != VDIR)) in propen()
3469 vtype_t vtype; in praccess() local
3490 vtype = rvp->v_type; in praccess()
3493 (type == PR_FD && vtype != VREG && vtype != VDIR) || in praccess()

12