Lines Matching refs:ctl_cb

89 	TAILQ_HEAD(, ctl_cb)    kcb_head;
101 struct ctl_cb { struct
102 TAILQ_ENTRY(ctl_cb) next; /* controller chain */
164 static struct ctl_cb *kcb_find(struct kctl *, u_int32_t unit);
285 kcb_delete(struct ctl_cb *kcb) in kcb_delete()
289 kfree_type(struct ctl_cb, kcb); in kcb_delete()
303 struct ctl_cb *__single kcb = 0; in ctl_attach()
305 kcb = kalloc_type(struct ctl_cb, Z_WAITOK | Z_ZERO | Z_NOFAIL); in ctl_attach()
326 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb; in ctl_sofreelastref()
350 ctl_kcb_increment_use_count(struct ctl_cb *kcb, lck_mtx_t *mutex_held) in ctl_kcb_increment_use_count()
360 ctl_kcb_require_clearing(struct ctl_cb *kcb, lck_mtx_t *mutex_held) in ctl_kcb_require_clearing()
372 ctl_kcb_done_clearing(struct ctl_cb *kcb) in ctl_kcb_done_clearing()
380 ctl_kcb_decrement_use_count(struct ctl_cb *kcb) in ctl_kcb_decrement_use_count()
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()
431 struct ctl_cb *__single kcb_next = NULL; 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()
1931 static struct ctl_cb *
1934 struct ctl_cb *__single kcb; in kcb_find()
1950 struct ctl_cb *__single kcb; in kcb_find_socket()
2052 lck_mtx_lock(&((struct ctl_cb *)so->so_pcb)->mtx); in ctl_lock()
2091 (uint64_t)VM_KERNEL_ADDRPERM(&((struct ctl_cb *)so->so_pcb)->mtx), 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;
2187 struct ctl_cb *__single kcb;
2293 struct ctl_cb *__single kcb;
2382 struct ctl_cb *__single kcb = (struct ctl_cb *)so->so_pcb;