Searched refs:v_type (Results 1 - 25 of 38) sorted by relevance

12

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_symfile.c115 if (ref->vp->v_type == VREG)
130 if (ref->vp->v_type == VREG)
140 else if ((ref->vp->v_type == VBLK) || (ref->vp->v_type == VCHR))
248 if (ref->vp->v_type == VREG)
274 else if ((ref->vp->v_type == VBLK) || (ref->vp->v_type == VCHR))
297 if (ref->vp->v_type != VREG)
321 if (ref->vp->v_type == VREG)
332 else if ((ref->vp->v_type
[all...]
H A Dkern_acct.c177 if (nd.ni_vp->v_type != VREG) {
378 if (suspend_acctp->v_type == VBAD) {
395 if (acctp->v_type == VBAD) {
H A Dkern_mman.c314 if (vp->v_type != VREG && vp->v_type != VCHR) {
336 if (vp->v_type == VCHR || vp->v_type == VSTR) {
1159 if (vp->v_type != VREG) {
H A Dkern_core.c293 if (vp->v_type != VREG ||
/darwin-on-arm/xnu/osfmk/console/
H A Dvideo_console.h66 unsigned int v_type; member in struct:vc_info
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_cnode.c180 enum vtype v_type; local
192 v_type = vnode_vtype(vp);
221 if ((v_type == VREG || v_type == VLNK) &&
240 if ((v_type == VREG) &&
265 if (v_type == VLNK) {
277 if (v_type == VDIR) {
311 if ((v_type == VREG || v_type == VLNK) &&
559 hfs_volupdate(hfsmp, (v_type
645 enum vtype v_type; local
845 enum vtype v_type; local
[all...]
H A Dhfs_link.c416 enum vtype v_type; local
420 v_type = vnode_vtype(vp);
427 if (v_type == VBLK || v_type == VCHR) {
430 if (v_type == VDIR) {
523 todesc.cd_flags = (v_type == VDIR) ? CD_ISDIR : 0;
560 if (v_type == VDIR) {
596 if (v_type == VDIR) {
617 if ((v_type == VDIR) &&
H A Dhfs_vnops.c602 if ((vp->v_type == VREG) && (cp->c_rsrc_vp)
687 enum vtype v_type; local
745 v_type = vnode_vtype(vp);
763 if (v_type == VDIR) {
846 if (v_type == VDIR) {
901 if (v_type == VDIR) {
990 vap->va_rdev = (v_type == VBLK || v_type == VCHR) ? cp->c_rdev : 0;
1358 if ((cp->c_flag & C_HARDLINK) && (vp->v_type != VDIR)){
2892 if ((vp->v_type
[all...]
/darwin-on-arm/xnu/bsd/vfs/
H A Dkpi_vfs.c1624 if ((vp->v_type == VDIR) && ((mp = vp->v_mountedhere) != NULL) &&
1635 return (vp->v_type);
1788 return ((vp->v_type == VREG)? 1 : 0);
1795 return ((vp->v_type == VDIR)? 1 : 0);
1802 return ((vp->v_type == VLNK)? 1 : 0);
1849 return ((vp->v_type == VFIFO)? 1 : 0);
1856 return ((vp->v_type == VBLK)? 1 : 0);
1862 return (((vp->v_type == VCHR) || (vp->v_type == VBLK)) ? 1 : 0);
1869 return ((vp->v_type
[all...]
H A Dvfs_subr.c518 if (vp->v_type == VDIR)
528 (vp->v_writecount == 0 || vp->v_type != VREG))
646 if ((vp->v_data == NULL) || (vp->v_type == VNON) || (vp->v_mount != mp)) {
1393 if (nvp_rdev == vp->v_rdev && nvp->v_type == vp->v_type) {
1441 if (nvp_rdev == vp->v_rdev && nvp->v_type == vp->v_type) {
1580 if (vp->v_usecount == 1 && vp->v_type == VREG && !(vp->v_flag & VSYSTEM)) {
1788 panic("vnode_rele_ext: vp %p usecount -ve : %d. v_tag = %d, v_type = %d, v_flag = %x.", vp, vp->v_usecount, vp->v_tag, vp->v_type, v
[all...]
H A Dvfs_lookup.c208 panic("We need to keep going on a continued lookup, but for vp type %d (tag %d)\n", ndp->ni_vp->v_type, ndp->ni_vp->v_tag);
480 if (dp->v_type != VREG) {
631 if ((dp->v_type == VLNK) &&
642 if (dp->v_type != VDIR) {
764 if (dp->v_type != VDIR) {
1000 if (dp->v_type != VDIR) {
1095 if ((dp->v_type == VLNK) &&
1183 while ((dp->v_type == VDIR) && dp->v_mountedhere &&
1195 if ((dp->v_type == VDIR) && (mp = dp->v_mountedhere)) {
1437 if (dp->v_type !
[all...]
H A Dvfs_vnops.c972 if (vp->v_type == VREG && (fp->f_fglob->fg_flag & O_APPEND))
1000 vfs_context_proc(ctx) && (vp->v_type == VREG) &&
1027 if (p && (vp->v_type == VREG) &&
1033 if (p && (vp->v_type == VREG) &&
1141 switch (vp->v_type) {
1297 switch (vp->v_type) {
1326 if (vp->v_type == VBLK) {
1333 } else if (vp->v_type == VCHR) {
H A Dvfs_xattr.c120 if (!(vp->v_type == VREG || vp->v_type == VDIR || vp->v_type == VLNK)) {
182 if (!(vp->v_type == VREG || vp->v_type == VDIR || vp->v_type == VLNK)) {
273 if (!(vp->v_type == VREG || vp->v_type == VDIR || vp->v_type == VLNK)) {
333 if (!(vp->v_type
[all...]
H A Dvfs_cache.c597 if (isstream && dvp && (dvp != vp) && (dvp != vp->v_parent) && (dvp->v_type == VREG)) {
683 if ((old_parentvp->v_type != VDIR) && (old_parentvp->v_kusecount > 0))
864 if (action != KAUTH_VNODE_SEARCH || vp->v_type != VDIR)
914 if ( (action & ~KAUTH_VNODE_SEARCH) || vp->v_type != VDIR )
1166 if (vp->v_type != VDIR) {
1167 if (vp->v_type != VLNK)
1209 if ((vp != NULLVP) && (vp->v_type != VLNK) &&
H A Dvfs_fsevents.c2317 if (vp->v_type == VDIR) {
2342 if (vp->v_type == VDIR) {
2381 if (vp->v_type == VDIR) {
2388 if (vp->v_type == VDIR) {
H A Dvfs_bio.c936 if ((vp->v_type != VBLK) && (vp->v_type != VCHR))
1205 if (vp == NULL || vp->v_type == VCHR || vp->v_type == VBLK)
1826 if (vp->v_type == VBLK || vp->v_type == VCHR)
4058 if (vp && (vp->v_type == VBLK || vp->v_type == VCHR))
H A Dvfs_syscalls.c678 if (devvp->v_type != VBLK) {
1059 if (vp->v_type != VDIR) {
2678 if (vp->v_type != VDIR) {
2924 if (vp->v_type != VDIR) {
3628 if (vp->v_type == VDIR) {
4232 if (offset < 0 && vp->v_type != VCHR) {
5012 if (vp->v_type != VLNK)
5897 if (fvp->v_type == VDIR || (tvp && tvp->v_type == VDIR)) {
6002 if (fvp && fvp->v_type
[all...]
H A Dvfs_attrlist.c1277 vtype = vp->v_type;
1500 switch (vp->v_type) {
1896 if ((vp->v_type == VCHR) || (vp->v_type == VBLK)) {
/darwin-on-arm/xnu/osfmk/i386/
H A Dmtrr.c642 uint32_t v_type; local
646 v_type = (uint32_t)(range->base & IA32_MTRR_PHYSBASE_TYPE);
653 if (v_address == address && v_length == length && v_type == type)
655 else if ( v_type == MTRR_TYPE_UNCACHEABLE &&
659 else if ((v_type == MTRR_TYPE_UNCACHEABLE &&
661 (v_type == MTRR_TYPE_WRITEBACK &&
/darwin-on-arm/xnu/bsd/miscfs/specfs/
H A Dspec_vnops.c227 if (vp->v_type == VBLK) {
261 switch (vp->v_type) {
423 switch (vp->v_type) {
516 switch (vp->v_type) {
626 (unsigned int)dev, (unsigned int)ap->a_command, (unsigned int)ap->a_fflag, (unsigned int)ap->a_vp->v_type, 0);
628 switch (ap->a_vp->v_type) {
669 switch (ap->a_vp->v_type) {
711 if (vp->v_type == VCHR)
1773 switch (vp->v_type) {
1917 switch (vp->v_type) {
[all...]
/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Ddevfs_vnops.c457 VATTR_RETURN(vap, va_type, vp->v_type);
466 if (vp->v_type == VBLK)
468 else if (vp->v_type == VCHR)
612 switch (ap->a_vp->v_type) {
619 printf("devfs_read(): bad file type %d", ap->a_vp->v_type);
763 switch (ap->a_vp->v_type) {
767 printf("devfs_write(): bad file type %d", ap->a_vp->v_type);
1040 if (fvp->v_type == VDIR) {
H A Ddevfs_fdesc_support.c229 (*vpp)->v_type = vtype;
481 vp->v_type = vap->va_type;
634 * Clear out the v_type field to avoid
637 vp->v_type = VNON;
/darwin-on-arm/xnu/bsd/vm/
H A Ddp_backing_file.c260 if (vp->v_type != VREG) {
450 if (vp->v_type != VREG) {
/darwin-on-arm/xnu/bsd/miscfs/deadfs/
H A Ddead_vnops.c192 if (ap->a_vp->v_type != VCHR)
/darwin-on-arm/xnu/bsd/sys/
H A Dvnode_internal.h151 uint16_t v_type; /* vnode type */ member in struct:vnode

Completed in 288 milliseconds

12