Lines Matching refs:so_pcb
1025 so->so_pcb = (caddr_t)unp; in unp_attach()
1365 if (so2->so_pcb == NULL) { in unp_connect()
1667 if ((((struct unpcb *)waitso->so_pcb)->unp_flags & UNP_DONTDISCONNECT) != 0) { in unp_disconnect()
1673 (void)msleep(waitso->so_pcb, &unp->unp_mtx, in unp_disconnect()
2849 if (so->so_pcb) { in unp_lock()
2850 lck_mtx_lock(&((struct unpcb *)so->so_pcb)->unp_mtx); in unp_lock()
2858 so, so->so_pcb, lr_saved, so->so_usecount); in unp_lock()
2890 if (so->so_pcb == NULL) { in unp_unlock()
2893 mutex_held = &((struct unpcb *)so->so_pcb)->unp_mtx; in unp_unlock()
2921 struct unpcb *unp = (struct unpcb *)so->so_pcb; in unp_getlock()
2924 if (so->so_pcb) { in unp_getlock()