Lines Matching refs:so_pcb
301 so->so_pcb = (caddr_t)kcb; in ctl_attach()
318 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_sofreelastref()
320 so->so_pcb = 0; in ctl_sofreelastref()
384 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_detach()
422 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_setup_kctl()
546 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_bind()
584 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_connect()
660 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_disconnect()
662 if ((kcb = (struct ctl_cb *)so->so_pcb)) { in ctl_disconnect()
701 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_peeraddr()
761 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_usr_rcvd()
796 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_send()
839 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_send_list()
1070 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_enqueuembuf_list()
1311 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_ctloutput()
2020 if (so->so_pcb != NULL) { in ctl_lock()
2021 lck_mtx_lock(&((struct ctl_cb *)so->so_pcb)->mtx); in ctl_lock()
2030 so, so->so_pcb, lr_saved, so->so_usecount, in ctl_lock()
2059 (uint64_t)VM_KERNEL_ADDRPERM(so->so_pcb, in ctl_unlock()
2060 (uint64_t)VM_KERNEL_ADDRPERM(&((struct ctl_cb *)so->so_pcb)->mtx), in ctl_unlock()
2072 if (so->so_pcb == NULL) { in ctl_unlock()
2078 mutex_held = &((struct ctl_cb *)so->so_pcb)->mtx; in ctl_unlock()
2096 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
2098 if (so->so_pcb) {
2352 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;