Lines Matching refs:v_type
518 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, vp->v_flag);
1792 panic("vnode_rele_ext: vp %p writecount -ve : %d. v_tag = %d, v_type = %d, v_flag = %x.", vp, vp->v_writecount, vp->v_tag, vp->v_type, vp->v_flag);
1796 panic("vnode_rele_ext: vp %p kusecount -ve : %d. v_tag = %d, v_type = %d, v_flag = %x.", vp, vp->v_kusecount, vp->v_tag, vp->v_type, vp->v_flag);
1799 panic("vnode_rele_ext: vp %p kusecount(%d) out of balance with usecount(%d). v_tag = %d, v_type = %d, v_flag = %x.",vp, vp->v_kusecount, vp->v_usecount, vp->v_tag, vp->v_type, vp->v_flag);
1880 if (vp->v_usecount == 0 && vp->v_type == VREG && !(vp->v_flag & VSYSTEM)) {
1994 (vp->v_writecount == 0 || vp->v_type != VREG)) {
2028 if (vp->v_type != VBLK && vp->v_type != VCHR) {
2267 vq->v_type != vp->v_type || vp == vq)
2347 if ((vp->v_type == VBLK || vp->v_type == VCHR) && vp->v_specinfo != 0) {
2365 vq->v_type != vp->v_type)
2399 if (dev != vp->v_rdev || type != vp->v_type)
2452 if (vq->v_rdev == vp->v_rdev && vq->v_type == vp->v_type) {
2501 typename[vp->v_type], vp->v_usecount, vp->v_writecount);
2866 vq->v_type != vp->v_type)
3646 if (vp->v_type != VBAD) {
4177 if ((vp->v_type != VREG) && ((vp->v_usecount - vp->v_kusecount) > refcnt)) {
4181 if (vp->v_type == VREG) {
4294 if (nodead && (vp->v_lflag & VL_DEAD) && ((vp->v_type == VBAD) || (vp->v_data == 0))) {
4394 isfifo = (vp->v_type == VFIFO);
4396 if (vp->v_type != VBAD)
4429 vp->v_type = VBAD;
4519 vp->v_type = param->vnfs_vtype;
4526 if (vp->v_type == VREG) {
4536 vp->v_type = VBAD;
4551 if ((vp->v_type == VDIR) && (tinfo != NULL)) {
4567 vp->v_type = VBAD;
4577 if (vp->v_type == VCHR || vp->v_type == VBLK) {
4589 vp->v_type = VBAD;
4603 vp->v_type = param->vnfs_vtype;
4612 if (VCHR == vp->v_type) {
4621 if (vp->v_type == VFIFO) {
5369 if ((vp->v_type == VDIR) &&
5408 if ( (fmode & O_DIRECTORY) && vp->v_type != VDIR ) {
5412 if (vp->v_type == VSOCK && vp->v_tag != VT_FDESC) {
5416 if (vp->v_type == VLNK && (fmode & O_NOFOLLOW) != 0) {
5426 if (vp->v_type != VDIR) {
5529 if (fvp->v_type == VDIR &&
5560 if (fvp->v_type == VDIR && tvp->v_type != VDIR) {
5563 } else if (fvp->v_type != VDIR && tvp->v_type == VDIR) {
5691 if (vp->v_type != VDIR) {
5742 if (vp->v_type == VBAD)
6517 switch(vp->v_type) {
6553 if (vp->v_type == VDIR) {
6593 switch(vp->v_type) {
6624 if ((action & KAUTH_VNODE_EXECUTE) && (vp->v_type == VREG)) {
6847 ((vp->v_type == VREG) || (vp->v_type == VDIR) ||
6848 (vp->v_type == VLNK) || (vp->v_type == VCPLX) ||
6857 if ((rights & KAUTH_VNODE_EXECUTE) && (vp->v_type == VREG) && (vp->v_mount->mnt_flag & MNT_NOEXEC)) {
6974 (vp->v_type == VREG) &&
6997 if ((rights & KAUTH_VNODE_SEARCH) && found_deny == FALSE && vp->v_type == VDIR) {