Lines Matching refs:so_pcb
995 so->so_pcb = (caddr_t)unp; in unp_attach()
1333 if (so2->so_pcb == NULL) { in unp_connect()
1636 if ((((struct unpcb *)waitso->so_pcb)->unp_flags & UNP_DONTDISCONNECT) != 0) { in unp_disconnect()
1642 (void)msleep(waitso->so_pcb, &unp->unp_mtx, in unp_disconnect()
2801 if (so->so_pcb) { in unp_lock()
2802 lck_mtx_lock(&((struct unpcb *)so->so_pcb)->unp_mtx); in unp_lock()
2810 so, so->so_pcb, lr_saved, so->so_usecount); in unp_lock()
2842 if (so->so_pcb == NULL) { in unp_unlock()
2845 mutex_held = &((struct unpcb *)so->so_pcb)->unp_mtx; in unp_unlock()
2873 struct unpcb *unp = (struct unpcb *)so->so_pcb; in unp_getlock()
2876 if (so->so_pcb) { in unp_getlock()