Lines Matching refs:vp
781 struct vnode *vp, *dvp;
807 vp = nd.ni_vp;
809 if (vp != NULL) {
817 vnode_put(vp);
841 error = vn_create(dvp, &vp, &nd.ni_cnd, &va, 0, ctx);
850 vnode_ref(vp); /* gain a longterm reference */
851 vp->v_socket = unp->unp_socket;
852 unp->unp_vnode = vp;
854 vnode_put(vp); /* drop the iocount */
880 struct vnode *vp;
907 vp = nd.ni_vp;
908 if (vp->v_type != VSOCK) {
913 error = vnode_authorize(vp, NULL, KAUTH_VNODE_WRITE_DATA, ctx);
916 so2 = vp->v_socket;
989 vnode_put(vp);