Lines Matching refs:vp

122 	struct vnode *vp = *vpp;  in socket_vop_open()  local
123 struct sonode *so = VTOSO(vp); in socket_vop_open()
131 ASSERT(vp->v_type == VSOCK); in socket_vop_open()
138 socket_vop_close(struct vnode *vp, int flag, int count, offset_t offset, in socket_vop_close() argument
144 so = VTOSO(vp); in socket_vop_close()
145 ASSERT(vp->v_type == VSOCK); in socket_vop_close()
147 cleanlocks(vp, ttoproc(curthread)->p_pid, 0); in socket_vop_close()
148 cleanshares(vp, ttoproc(curthread)->p_pid); in socket_vop_close()
150 if (vp->v_stream) in socket_vop_close()
151 strclean(vp); in socket_vop_close()
174 socket_vop_read(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cr, in socket_vop_read() argument
177 struct sonode *so = VTOSO(vp); in socket_vop_read()
180 ASSERT(vp->v_type == VSOCK); in socket_vop_read()
188 socket_vop_write(struct vnode *vp, struct uio *uiop, int ioflag, in socket_vop_write() argument
191 struct sonode *so = VTOSO(vp); in socket_vop_write()
194 ASSERT(vp->v_type == VSOCK); in socket_vop_write()
209 socket_vop_ioctl(struct vnode *vp, int cmd, intptr_t arg, int mode, in socket_vop_ioctl() argument
212 struct sonode *so = VTOSO(vp); in socket_vop_ioctl()
214 ASSERT(vp->v_type == VSOCK); in socket_vop_ioctl()
225 socket_vop_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, in socket_vop_setfl() argument
228 struct sonode *so = VTOSO(vp); in socket_vop_setfl()
231 ASSERT(vp->v_type == VSOCK); in socket_vop_setfl()
282 socket_vop_getattr(struct vnode *vp, struct vattr *vap, int flags, in socket_vop_getattr() argument
304 so = VTOSO(vp); in socket_vop_getattr()
315 vap->va_type = vp->v_type; in socket_vop_getattr()
377 socket_vop_setattr(struct vnode *vp, struct vattr *vap, int flags, in socket_vop_setattr() argument
380 struct sonode *so = VTOSO(vp); in socket_vop_setattr()
411 socket_vop_access(struct vnode *vp, int mode, int flags, struct cred *cr, in socket_vop_access() argument
414 struct sonode *so = VTOSO(vp); in socket_vop_access()
432 socket_vop_fsync(struct vnode *vp, int syncflag, struct cred *cr, in socket_vop_fsync() argument
440 socket_vop_inactive(struct vnode *vp, struct cred *cr, caller_context_t *ct) in socket_vop_inactive() argument
442 struct sonode *so = VTOSO(vp); in socket_vop_inactive()
444 ASSERT(vp->v_type == VSOCK); in socket_vop_inactive()
446 mutex_enter(&vp->v_lock); in socket_vop_inactive()
451 if (vp->v_count < 1) in socket_vop_inactive()
454 VN_RELE_LOCKED(vp); in socket_vop_inactive()
455 if (vp->v_count != 0) { in socket_vop_inactive()
456 mutex_exit(&vp->v_lock); in socket_vop_inactive()
459 mutex_exit(&vp->v_lock); in socket_vop_inactive()
462 ASSERT(!vn_has_cached_data(vp)); in socket_vop_inactive()
470 socket_vop_fid(struct vnode *vp, struct fid *fidp, caller_context_t *ct) in socket_vop_fid() argument
481 socket_vop_seek(struct vnode *vp, offset_t ooff, offset_t *noffp, in socket_vop_seek() argument
489 socket_vop_poll(struct vnode *vp, short events, int anyyet, short *reventsp, in socket_vop_poll() argument
492 struct sonode *so = VTOSO(vp); in socket_vop_poll()
494 ASSERT(vp->v_type == VSOCK); in socket_vop_poll()