Lines Matching defs:vp

114 	register struct vnode *vp = ap->a_vp;
115 register struct hpfsnode *hp = VTOHP(vp);
279 register struct vnode *vp = ap->a_vp;
280 register struct hpfsnode *hp = VTOHP(vp);
338 register struct vnode *vp = ap->a_vp;
339 register struct hpfsnode *hp = VTOHP(vp);
414 register struct vnode *vp = ap->a_vp;
415 register struct hpfsnode *hp = VTOHP(vp);
444 vap->va_type = vp->v_type;
461 struct vnode *vp = ap->a_vp;
462 struct hpfsnode *hp = VTOHP(vp);
501 if (vp->v_mount->mnt_flag & MNT_RDONLY)
504 error = VOP_ACCESS(vp, VADMIN, cred, td);
506 error = VOP_ACCESS(vp, VWRITE, cred, td);
508 error = VOP_ACCESS(vp, VADMIN, cred, td);
518 switch (vp->v_type) {
522 if (vp->v_mount->mnt_flag & MNT_RDONLY)
531 error = vtruncbuf(vp, cred, td, vap->va_size, DEV_BSIZE);
539 vnode_pager_setsize(vp, vap->va_size);
558 register struct vnode *vp = ap->a_vp;
559 register struct hpfsnode *hp = VTOHP(vp);
579 vrecycle(vp, ap->a_td);
595 register struct vnode *vp = ap->a_vp;
596 register struct hpfsnode *hp = VTOHP(vp);
603 vnode_destroy_vobject(vp);
605 vfs_hash_remove(vp);
609 vp->v_data = NULL;
622 register struct vnode *vp = ap->a_vp;
623 register struct hpfsnode *hp = VTOHP(vp);
643 register struct vnode *vp = ap->a_vp;
651 if (vp->v_type == VBLK || vp->v_type == VCHR)
688 struct vnode *vp = ap->a_vp;
689 struct hpfsnode *hp = VTOHP(vp);
700 switch ((int)vp->v_type) {
704 if (vp->v_mount->mnt_flag & MNT_RDONLY)
710 return (vaccess(vp->v_type, hp->h_mode, hp->h_uid, hp->h_gid,
730 register struct vnode *vp = ap->a_vp;
731 register struct hpfsnode *hp = VTOHP(vp);
759 register struct vnode *vp = ap->a_vp;
760 register struct hpfsnode *hp = VTOHP(vp);
814 register struct vnode *vp = ap->a_vp;
815 register struct hpfsnode *hp = VTOHP(vp);