Searched refs:vtype (Results 1 - 19 of 19) sorted by relevance

/xnu-2782.1.97/bsd/miscfs/devfs/
H A Dfdesc.h101 extern int fdesc_allocvp(fdntype, int, struct mount *, struct vnode **, enum vtype, int);
H A Ddevfs_tree.c1130 enum vtype vtype = 0; local
1226 vtype = VLNK;
1232 vtype = VDIR;
1236 vtype = (dnp->dn_type == DEV_BDEV) ? VBLK : VCHR;
1240 vtype = VDIR;
1245 vfsp.vnfs_vtype = vtype;
1252 if (vtype == VBLK || vtype == VCHR) {
H A Ddevfs_fdesc_support.c205 fdesc_allocvp(fdntype ftype, int ix, struct mount *mp, struct vnode **vpp, enum vtype vtype, int fdno) argument
228 (*vpp)->v_type = vtype;
247 vfsp.vnfs_vtype = vtype;
/xnu-2782.1.97/tools/lldbmacros/
H A Dioreg.py22 vtype = kern.SymbolicateFromAddress(vt)
26 out_string = "`object 0x{0: <16x}, vt 0x{1: <16x} <{2:s}>, retain count {3:d}, container retain {4:d}` ".format(obj, vt, vtype[0].GetName(), retCount, cntnrRetCount)
28 if len(vtype):
29 out_string = "`object 0x{0: <16x}, vt 0x{1: <16x} <{2:s}>` ".format(obj, vt, vtype[0].GetName())
96 vtype = kern.SymbolicateFromAddress(vtableAddr)
97 if vtype is None or len(vtype) < 1:
100 out_string += "<object 0x{0: <16x}, id 0x{1:x}, vtable 0x{2: <16x} <{3:s}>".format(entry, entry.reserved.fRegistryEntryID, vtableAddr, vtype[0].GetName())
H A Dmemory.py1419 vblk_type = GetEnumValue('vtype::VBLK')
1420 vchr_type = GetEnumValue('vtype::VCHR')
1623 @header("{0: <20s} {1: >8s} {2: >8s} {3: <20s} {4: <6s} {5: <20s} {6: <6s} {7: <6s} {8: <35s}".format('vnode', 'usecount', 'iocount', 'v_data', 'vtype', 'parent', 'mapped', 'cs_version', 'name'))
1632 vtype = int(vnode.v_type)
1633 vtype_str = "%d" % vtype
1635 if vtype >= 0 and vtype < len(vnode_types):
1636 vtype_str = vnode_types[vtype]
1647 if (vtype == 1) and (vnode.v_un.vu_ubcinfo != 0):
/xnu-2782.1.97/bsd/hfs/
H A Dhfs_cnode.c182 enum vtype v_type;
675 enum vtype v_type;
871 enum vtype v_type;
1010 enum vtype vtype; local
1028 vtype = IFTOVT(attrp->ca_mode);
1029 issystemfile = (descp->cd_flags & CD_ISMETA) && (vtype == VREG);
1032 /* Sanity check the vtype and mode */
1033 if (vtype == VBAD) {
1212 if ((vtype
[all...]
H A Dhfs_link.c431 enum vtype v_type;
H A Dhfs_vnops.c882 enum vtype v_type;
6114 enum vtype vnodetype;
H A Dhfs_readwrite.c4936 enum vtype vnodetype;
/xnu-2782.1.97/bsd/sys/
H A Dvnode.h84 enum vtype { enum
231 enum vtype vnfs_vtype; /* vnode type */
644 enum vtype va_type; /* file type (create only) */
712 extern enum vtype iftovt_tab[];
877 enum vtype vnode_vtype(vnode_t);
1949 int check_mountedon(dev_t dev, enum vtype type, int *errorp);
1966 enum vtype vnode_iftovt(int);
1967 int vnode_vttoif(enum vtype);
2019 errno_t vfs_setup_vattr_from_attrlist(struct attrlist * /* alp */, struct vnode_attr * /* vap */, enum vtype /* obj_vtype */, ssize_t * /* attr_fixed_sizep */, vfs_context_t /* ctx */);
/xnu-2782.1.97/bsd/nfs/
H A Dnfs_subs.c128 vtonfs_type(enum vtype vtype, int nfsvers) argument
130 switch (vtype) {
157 enum vtype
191 vtonfsv2_mode(enum vtype vtype, mode_t m) argument
193 switch (vtype) {
201 return vnode_makeimode(vtype, m);
1255 enum vtype vtype; local
[all...]
H A Dnfs.h1133 nfstype vtonfs_type(enum vtype, int);
1134 enum vtype nfstov_type(nfstype, int);
1135 int vtonfsv2_mode(enum vtype, mode_t);
H A Dnfs_vnops.c708 enum vtype vtype; local
719 vtype = vnode_vtype(vp);
720 if ((vtype != VREG) && (vtype != VDIR) && (vtype != VLNK))
730 if (vtype == VDIR)
737 if (vtype == VREG)
740 if (vtype == VDIR)
753 if (vtype !
947 enum vtype vtype; local
1630 enum vtype vtype = vnode_vtype(vp); local
[all...]
H A Dnfsnode.h315 enum vtype nva_type; /* vnode type (for create) */
H A Dnfs_serv.c1899 enum vtype v_type;
2147 enum vtype vtyp;
2529 enum vtype fvtype, tvtype;
H A Dnfs4_vnops.c4247 enum vtype vtype; local
4262 vtype = vnode_vtype(ap->a_vp);
4263 if (vtype == VDIR) /* ignore lock requests on directories */
4265 if (vtype != VREG) /* anything other than regular files is invalid */
/xnu-2782.1.97/bsd/vfs/
H A Dvfs_attrlist.c663 enum vtype obj_type, ssize_t *fixedsize, int is_64bit)
710 enum vtype obj_vtype, ssize_t *attrs_fixed_sizep, vfs_context_t ctx)
1414 ssize_t fullpathlen, int return_valid, int pack_invalid, int vtype,
1465 ATTR_PACK4((*abp), vtype);
1562 if (vtype == VDIR) {
2200 vfs_context_t ctx, int is_bulk, enum vtype vtype, ssize_t fixedsize)
2397 fullpathptr, fullpathlen, return_valid, pack_invalid, vtype, is_bulk);
2400 if (!error && alp->dirattr && (vtype == VDIR)) {
2405 if (!error && alp->fileattr && (vtype !
1411 attr_pack_common(vfs_context_t ctx, struct vnode *vp, struct attrlist *alp, struct _attrlist_buf *abp, struct vnode_attr *vap, int proc_is64, const char *cnp, ssize_t cnl, const char *fullpathptr, ssize_t fullpathlen, int return_valid, int pack_invalid, int vtype, int is_bulk) argument
2198 vfs_attr_pack_internal(vnode_t vp, uio_t auio, struct attrlist *alp, uint64_t options, struct vnode_attr *vap, __unused void *fndesc, vfs_context_t ctx, int is_bulk, enum vtype vtype, ssize_t fixedsize) argument
2546 int vtype = 0; local
[all...]
H A Dkpi_vfs.c1326 enum vtype
1333 vnode_vttoif(enum vtype indx)
1399 enum vtype
1650 enum vtype vt = vp->v_type;
H A Dvfs_subr.c155 enum vtype iftovt_tab[16] = {
2450 check_mountedon(dev_t dev, enum vtype type, int *errorp)
5431 panic("vnode_create: unknown vtype %d", vap->va_type);
8329 static const char *__vtype(uint16_t vtype) argument
8331 switch (vtype) {

Completed in 174 milliseconds