Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/uts/common/sys/
H A Dlofi.h182 #define V_ISLOFIABLE(vtype) \ argument
183 ((vtype == VREG) || (vtype == VBLK) || (vtype == VCHR))
H A Dmode.h48 extern enum vtype iftovt_tab[];
H A Dvnode.h158 typedef enum vtype { enum
235 enum vtype v_type; /* vnode type */
/titanic_41/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.h225 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()
/titanic_41/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), \
/titanic_41/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()
/titanic_41/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()
/titanic_41/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.h476 extern struct vattr *sdev_getdefault_attr(enum vtype type);
H A Dufs_inode.h506 extern enum vtype iftovt_tab[];
/titanic_41/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()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c1336 zfs_acl_chmod(vtype_t vtype, uint64_t mode, boolean_t trim, zfs_acl_t *aclp) in zfs_acl_chmod() argument
1353 isdir = (vtype == VDIR); in zfs_acl_chmod()
1487 zfs_ace_can_use(vtype_t vtype, uint16_t acep_flags) in zfs_ace_can_use() argument
1491 if ((vtype == VDIR) && (iflags & ACE_DIRECTORY_INHERIT_ACE)) in zfs_ace_can_use()
1494 return (!((vtype == VDIR) && in zfs_ace_can_use()
1503 zfs_acl_inherit(zfsvfs_t *zfsvfs, vtype_t vtype, zfs_acl_t *paclp, in zfs_acl_inherit() argument
1516 boolean_t vdir = vtype == VDIR; in zfs_acl_inherit()
1517 boolean_t vreg = vtype == VREG; in zfs_acl_inherit()
1530 if (zfsvfs->z_acl_inherit == ZFS_ACL_DISCARD || vtype == VLNK) in zfs_acl_inherit()
1546 if (!zfs_ace_can_use(vtype, iflags)) in zfs_acl_inherit()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h121 enum vtype v_type;
/titanic_41/usr/src/uts/common/syscall/
H A Dopen.c65 enum vtype type; in copen()
/titanic_41/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()
/titanic_41/usr/src/uts/common/fs/dev/
H A Dsdev_zvolops.c506 enum vtype expected_type = VDIR; in devzvol_mk_ngz_node()
576 enum vtype expected_type = VDIR; in devzvol_lookup()
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs_clnt.h337 enum vtype mi_type; /* file type of the root vnode */
/titanic_41/usr/src/uts/common/os/
H A Dpolicy.c1296 secpolicy_xvattr(xvattr_t *xvap, uid_t owner, cred_t *cr, vtype_t vtype) in secpolicy_xvattr() argument
1339 if (error == 0 && vtype != VREG && xoap->xoa_av_quarantined) in secpolicy_xvattr()
1348 if (error == 0 && vtype != VREG) in secpolicy_xvattr()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprvnops.c230 vtype_t vtype; in propen() local
254 vtype = rvp->v_type; in propen()
256 (type == PR_FD && vtype != VREG && vtype != VDIR)) in propen()
3187 vtype_t vtype; in praccess() local
3208 vtype = rvp->v_type; in praccess()
3211 (type == PR_FD && vtype != VREG && vtype != VDIR) || in praccess()
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h159 typedef enum vtype { enum
236 enum vtype v_type; /* vnode type */

12