Lines Matching refs:so_pcb

309 	so->so_pcb = (caddr_t)kcb;  in ctl_attach()
326 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb; in ctl_sofreelastref()
328 so->so_pcb = 0; in ctl_sofreelastref()
392 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb; in ctl_detach()
430 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb; in ctl_setup_kctl()
554 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb; in ctl_bind()
592 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb; in ctl_connect()
668 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb; in ctl_disconnect()
670 if ((kcb = (struct ctl_cb *)so->so_pcb)) { in ctl_disconnect()
714 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb; in ctl_peeraddr()
774 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_usr_rcvd()
809 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_send()
852 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_send_list()
1088 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_enqueuembuf_list()
1328 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb; in ctl_ctloutput()
2051 if (so->so_pcb != NULL) { in ctl_lock()
2052 lck_mtx_lock(&((struct ctl_cb *)so->so_pcb)->mtx); in ctl_lock()
2061 so, so->so_pcb, lr_saved, so->so_usecount, in ctl_lock()
2090 (uint64_t)VM_KERNEL_ADDRPERM(so->so_pcb, in ctl_unlock()
2091 (uint64_t)VM_KERNEL_ADDRPERM(&((struct ctl_cb *)so->so_pcb)->mtx), in ctl_unlock()
2103 if (so->so_pcb == NULL) { in ctl_unlock()
2109 mutex_held = &((struct ctl_cb *)so->so_pcb)->mtx; in ctl_unlock()
2127 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb;
2129 if (so->so_pcb) {
2382 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb;