Lines Matching refs:so_pcb
807 so->so_pcb = (caddr_t)unp;
1100 if (so2->so_pcb == NULL) {
1404 if ((((struct unpcb *)waitso->so_pcb)->unp_flags & UNP_DONTDISCONNECT) != 0) {
1410 (void)msleep(waitso->so_pcb, &unp->unp_mtx,
2312 if (so->so_pcb) {
2313 lck_mtx_lock(&((struct unpcb *)so->so_pcb)->unp_mtx);
2320 panic("unp_lock: so=%p so_pcb=%p lr=%p ref=0x%x\n",
2321 so, so->so_pcb, lr_saved, so->so_usecount);
2347 if (so->so_pcb == NULL) {
2350 mutex_held = &((struct unpcb *)so->so_pcb)->unp_mtx;
2378 struct unpcb *unp = (struct unpcb *)so->so_pcb;
2381 if (so->so_pcb) {
2386 panic("unp_getlock: so=%p NULL so_pcb\n", so);