Home
last modified time | relevance | path

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

12

/onnv-gate/usr/src/uts/common/sys/
H A Dlofi.h180 #define V_ISLOFIABLE(vtype) \ argument
181 ((vtype == VREG) || (vtype == VBLK) || (vtype == VCHR))
H A Dmode.h46 extern enum vtype iftovt_tab[];
H A Dvnode.h157 typedef enum vtype { enum
234 enum vtype v_type; /* vnode type */
/onnv-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_client.c216 vtype_t vtype, oldvt; in smbfs_attrcache_fa() local
227 vtype = VDIR; in smbfs_attrcache_fa()
230 vtype = VREG; in smbfs_attrcache_fa()
261 if (vtype == VDIR) { in smbfs_attrcache_fa()
278 vp->v_type = vtype; in smbfs_attrcache_fa()
293 if (vtype == VDIR && newsize < DEV_BSIZE) in smbfs_attrcache_fa()
310 if (oldvt != vtype) { in smbfs_attrcache_fa()
311 SMBVDEBUG("vtype change %d to %d\n", oldvt, vtype); in smbfs_attrcache_fa()
H A Dsmbfs_node.h246 enum vtype n_ovtype; /* vnode type opened */
H A Dsmbfs_vnops.c1157 smbfs_access_rwx(vfs_t *vfsp, int vtype, int mode, cred_t *cr) in smbfs_access_rwx() argument
1174 va.va_type = vtype; in smbfs_access_rwx()
1175 va.va_mode = (vtype == VDIR) ? in smbfs_access_rwx()
1189 !(vtype == VCHR || vtype == VBLK || vtype == VFIFO)) in smbfs_access_rwx()
/onnv-gate/usr/src/lib/libnvpair/
H A Dlibnvpair.c46 #define DEFINEOP(opname, vtype) \ argument
49 const char *, vtype); \
53 #define DEFINEARROP(opname, vtype) \ argument
56 const char *, vtype, uint_t); \
188 #define NVLIST_PRTFUNC(type_and_variant, vtype, ptype, vfmt) \ argument
191 nvlist_t *nvl, const char *name, vtype value) \
221 #define NVLIST_ARRPRTFUNC(type_and_variant, vtype, ptype, vfmt) \ argument
224 nvlist_t *nvl, const char *name, vtype *valuep, uint_t count) \
419 #define NVLIST_PRINTCTL_REPLACE(type, vtype) \ argument
422 int (*func)(nvlist_prtctl_t, void *, nvlist_t *, const char *, vtype), \
[all …]
H A Dlibnvpair.h170 #define NVLIST_PRINTCTL_AVDECL(funcname, vtype) \ argument
172 int (*)(nvlist_prtctl_t, void *, nvlist_t *, const char *, vtype, uint_t), \
/onnv-gate/usr/src/cmd/avs/dsstat/
H A Dsndr_stats.c395 char vtype[STAT_HDR_SIZE]; in sndr_report() local
399 (void) sprintf(vtype, DATA_C2, c); in sndr_report()
400 (void) strcat(data, vtype); in sndr_report()
658 getType(kstat_t *ksp, char *vtype) in getType() argument
665 (void) strcpy(vtype, "P"); in getType()
667 (void) strcpy(vtype, "S"); in getType()
H A Dii_stats.c418 char vtype[STAT_HDR_SIZE]; in ii_report() local
426 (void) sprintf(vtype, DATA_C2, c); in ii_report()
427 (void) strcat(data, vtype); in ii_report()
/onnv-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Ddebug.c153 static char *snmp_vtypestr_lookup(int vtype);
535 snmp_vtypestr_lookup(int vtype) in snmp_vtypestr_lookup() argument
541 if (snmp_vartypes[i].key == vtype) in snmp_vtypestr_lookup()
/onnv-gate/usr/src/uts/common/sys/fs/
H A Dpc_node.h138 extern int pc_dirremove(struct pcnode *, char *, struct vnode *, enum vtype,
H A Dhsfs_node.h46 enum vtype type; /* file type */
H A Dsdev_impl.h504 extern struct vattr *sdev_getdefault_attr(enum vtype type);
H A Dufs_inode.h506 extern enum vtype iftovt_tab[];
/onnv-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()
/onnv-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c1540 zfs_ace_can_use(vtype_t vtype, uint16_t acep_flags) in zfs_ace_can_use() argument
1544 if ((vtype == VDIR) && (iflags & ACE_DIRECTORY_INHERIT_ACE)) in zfs_ace_can_use()
1547 return (!((vtype == VDIR) && in zfs_ace_can_use()
1556 zfs_acl_inherit(zfsvfs_t *zfsvfs, vtype_t vtype, zfs_acl_t *paclp, in zfs_acl_inherit() argument
1569 boolean_t vdir = vtype == VDIR; in zfs_acl_inherit()
1570 boolean_t vreg = vtype == VREG; in zfs_acl_inherit()
1583 if (zfsvfs->z_acl_inherit == ZFS_ACL_DISCARD || vtype == VLNK) in zfs_acl_inherit()
1599 if (!zfs_ace_can_use(vtype, iflags)) in zfs_acl_inherit()
/onnv-gate/usr/src/uts/common/syscall/
H A Dopen.c62 enum vtype type; in copen()
/onnv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_vfsops.c2175 vtype_t vtype; in nfs4_remap_root() local
2216 nfs4getfh_otw(mi, svp, &vtype, getfh_flags, CRED(), ep); in nfs4_remap_root()
2235 if (vtype != VNON && vtype != mi->mi_type) { in nfs4_remap_root()
2239 "match mount info (%d)", vtype, mi->mi_type); in nfs4_remap_root()
2272 vtype_t vtype = VNON; in nfs4rootvp() local
2529 if (vtype == VNON) { in nfs4rootvp()
2530 vtype = tmp_vtype; in nfs4rootvp()
2531 } else if (vtype != tmp_vtype) { in nfs4rootvp()
2573 rtvp->v_type = vtype; in nfs4rootvp()
/onnv-gate/usr/src/uts/common/nfs/
H A Dnfs_clnt.h337 enum vtype mi_type; /* file type of the root vnode */
/onnv-gate/usr/src/uts/common/os/
H A Dpolicy.c1284 secpolicy_xvattr(xvattr_t *xvap, uid_t owner, cred_t *cr, vtype_t vtype) in secpolicy_xvattr() argument
1327 if (error == 0 && vtype != VREG && xoap->xoa_av_quarantined) in secpolicy_xvattr()
1336 if (error == 0 && vtype != VREG) in secpolicy_xvattr()
/onnv-gate/usr/src/uts/common/fs/
H A Dvnode.c206 enum vtype iftovt_tab[] = {
1788 enum vtype vtype; in vn_removeat() local
1903 vtype = vp->v_type; in vn_removeat()
1933 if (vtype != VDIR) { in vn_removeat()
/onnv-gate/usr/src/uts/common/fs/proc/
H A Dprvnops.c227 vtype_t vtype; in propen() local
251 vtype = rvp->v_type; in propen()
253 (type == PR_FD && vtype != VREG && vtype != VDIR)) in propen()
3115 vtype_t vtype; in praccess() local
3136 vtype = rvp->v_type; in praccess()
3139 (type == PR_FD && vtype != VREG && vtype != VDIR) || in praccess()
/onnv-gate/usr/src/uts/common/fs/dev/
H A Dsdev_zvolops.c495 enum vtype expected_type = VDIR; in devzvol_lookup()
/onnv-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c448 spec_clone(struct vnode **vpp, dev_t newdev, int vtype, struct stdata *stp) in spec_clone() argument
479 newvp = makespecvp(newdev, vtype); in spec_clone()
880 enum vtype type; in spec_close()

12