Lines Matching refs:so_pcb
237 so->so_pcb = (caddr_t)kcb;
250 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
252 so->so_pcb = 0;
270 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
287 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
291 panic("ctl_connect so_pcb null\n");
393 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
395 if ((kcb = (struct ctl_cb *)so->so_pcb)) {
423 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
451 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
578 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
1017 if (so->so_pcb != NULL) {
1018 lck_mtx_lock(((struct ctl_cb *)so->so_pcb)->mtx);
1026 panic("ctl_lock: so=%p so_pcb=%p lr=%p ref=%x lrh= %s\n",
1027 so, so->so_pcb, lr_saved, so->so_usecount, solockhistory_nr(so));
1052 so, so->so_pcb, ((struct ctl_cb *)so->so_pcb)->mtx,
1063 if (so->so_pcb == NULL) {
1068 mutex_held = ((struct ctl_cb *)so->so_pcb)->mtx;
1084 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
1086 if (so->so_pcb) {
1092 panic("ctl_getlock: so=%p NULL NO so_pcb %s\n",