vtype
enum vtype v_type;
internal_property_create(const char *name, scf_type_t vtype, uint_t nvals, ...)
p->sc_value_type = vtype;
v->sc_type = vtype;
switch (vtype) {
uu_die(gettext("unknown property type (%d)\n"), vtype);
lxml_get_value(property_t *prop, element_t vtype, xmlNodePtr value)
v = lxml_make_value(vtype, assigned_value);
#define NVLIST_PRTFUNC(type_and_variant, vtype, ptype, vfmt) \
nvlist_t *nvl, const char *name, vtype value) \
#define NVLIST_ARRPRTFUNC(type_and_variant, vtype, ptype, vfmt) \
nvlist_t *nvl, const char *name, vtype *valuep, uint_t count) \
#define NVLIST_PRINTCTL_REPLACE(type, vtype) \
int (*func)(nvlist_prtctl_t, void *, nvlist_t *, const char *, vtype), \
#define NVLIST_PRINTCTL_AREPLACE(type, vtype) \
int (*func)(nvlist_prtctl_t, void *, nvlist_t *, const char *, vtype, \
#define DEFINEOP(opname, vtype) \
const char *, vtype); \
#define DEFINEARROP(opname, vtype) \
const char *, vtype, uint_t); \
#define NVP(elem, type, vtype, ptype, format) { \
vtype value; \
#define NVPA(elem, type, vtype, ptype, format) { \
vtype *value; \
#define NVLIST_PRINTCTL_AVDECL(funcname, vtype) \
int (*)(nvlist_prtctl_t, void *, nvlist_t *, const char *, vtype, uint_t), \
enum vtype iftovt_tab[] = {
enum vtype iftovt_tab[] = {
static void update_range(struct range *range, unsigned long long uval, struct symbol *vtype)
if (is_signed_type(vtype) && (sval < 0)) {
static int val_in_range(struct range *range, long long sval, struct symbol *vtype)
if (is_signed_type(vtype) && (sval < 0))
void name##_add(struct name **map, ktype k, vtype v) { \
void name##_update(struct name **map, ktype k, vtype v) { \
vtype name##_lookup(struct name *map, ktype k) { \
vtype val = __ptrmap_lookup((struct ptrmap*)map, k); \
#define DECLARE_PTRMAP(name, ktype, vtype) \
struct name ## _pair { ktype key; vtype val; }; \
enum vtype
sdev_getdefault_attr(enum vtype type)
enum vtype expected_type = VDIR;
enum vtype expected_type = VDIR;
vap->va_type = IXDR_GET_ENUM(ptr, enum vtype);
vtype_t vtype;
nfs4getfh_otw(mi, svp, &vtype, getfh_flags, CRED(), ep);
if (vtype != VNON && vtype != mi->mi_type) {
"match mount info (%d)", vtype, mi->mi_type);
vtype_t vtype = VNON;
if (vtype == VNON) {
vtype = tmp_vtype;
} else if (vtype != tmp_vtype) {
rtvp->v_type = vtype;
enum vtype type,
vtype_t vtype;
vtype = rvp->v_type;
(type == PR_FD && vtype != VREG && vtype != VDIR))
vtype_t vtype;
vtype = rvp->v_type;
(type == PR_FD && vtype != VREG && vtype != VDIR) ||
vtype_t vtype, oldvt;
vtype = VDIR;
vtype = VREG;
if (vtype == VDIR) {
vp->v_type = vtype;
if (vtype == VDIR && newsize < DEV_BSIZE)
if (oldvt != vtype) {
SMBVDEBUG("vtype change %d to %d\n", oldvt, vtype);
enum vtype n_ovtype; /* vnode type opened */
smbfs_access_rwx(vfs_t *vfsp, int vtype, int mode, cred_t *cr)
va.va_type = vtype;
va.va_mode = (vtype == VDIR) ?
!(vtype == VCHR || vtype == VBLK || vtype == VFIFO))
enum vtype type = vp->v_type;
spec_clone(struct vnode **vpp, dev_t newdev, int vtype, struct stdata *stp)
newvp = makespecvp(newdev, vtype);
enum vtype type;
enum vtype type;
enum vtype type;
enum vtype vtype;
vtype = vp->v_type;
if (vtype != VDIR) {
enum vtype iftovt_tab[] = {
zfs_acl_chmod(vtype_t vtype, uint64_t mode, boolean_t split, boolean_t trim,
isdir = (vtype == VDIR);
zfs_ace_can_use(vtype_t vtype, uint16_t acep_flags)
if ((vtype == VDIR) && (iflags & ACE_DIRECTORY_INHERIT_ACE))
return (!((vtype == VDIR) &&
zfs_acl_inherit(zfsvfs_t *zfsvfs, vtype_t vtype, zfs_acl_t *paclp,
boolean_t isdir = (vtype == VDIR);
boolean_t isreg = (vtype == VREG);
if (aclinherit == ZFS_ACL_DISCARD || vtype == VLNK)
!zfs_ace_can_use(vtype, iflags))
enum vtype vt;
enum vtype vt;
enum vtype vt;
enum vtype mi_type; /* file type of the root vnode */
enum vtype mi_type; /* file type of the root vnode */
secpolicy_xvattr(xvattr_t *xvap, uid_t owner, cred_t *cr, vtype_t vtype)
if (error == 0 && vtype != VREG && xoap->xoa_av_quarantined)
if (error == 0 && vtype != VREG)
enum vtype type; /* file type */
extern int pc_dirremove(struct pcnode *, char *, struct vnode *, enum vtype,
extern struct vattr *sdev_getdefault_attr(enum vtype type);
extern enum vtype sdev_ctx_vtype(sdev_ctx_t);
extern enum vtype iftovt_tab[];
#define V_ISLOFIABLE(vtype) \
((vtype == VREG) || (vtype == VBLK) || (vtype == VCHR))
extern enum vtype iftovt_tab[];
enum vtype v_type; /* vnode type */
enum vtype type;