Lines Matching refs:ctl_cb

85 	TAILQ_HEAD(, ctl_cb)    kcb_head;
97 struct ctl_cb { struct
98 TAILQ_ENTRY(ctl_cb) next; /* controller chain */
160 static struct ctl_cb *kcb_find(struct kctl *, u_int32_t unit);
279 kcb_delete(struct ctl_cb *kcb) in kcb_delete()
283 kfree_type(struct ctl_cb, kcb); in kcb_delete()
297 struct ctl_cb *kcb = 0; in ctl_attach()
299 kcb = kalloc_type(struct ctl_cb, Z_WAITOK | Z_ZERO | Z_NOFAIL); in ctl_attach()
311 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_sofreelastref()
335 ctl_kcb_increment_use_count(struct ctl_cb *kcb, lck_mtx_t *mutex_held) in ctl_kcb_increment_use_count()
345 ctl_kcb_require_clearing(struct ctl_cb *kcb, lck_mtx_t *mutex_held) in ctl_kcb_require_clearing()
357 ctl_kcb_done_clearing(struct ctl_cb *kcb) in ctl_kcb_done_clearing()
365 ctl_kcb_decrement_use_count(struct ctl_cb *kcb) in ctl_kcb_decrement_use_count()
375 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_detach()
413 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_setup_kctl()
414 struct ctl_cb *kcb_next = NULL; in ctl_setup_kctl()
555 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_bind()
593 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_connect()
669 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_disconnect()
671 if ((kcb = (struct ctl_cb *)so->so_pcb)) { in ctl_disconnect()
710 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_peeraddr()
770 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_usr_rcvd()
805 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_send()
850 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_send_list()
1318 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_ctloutput()
1907 static struct ctl_cb *
1910 struct ctl_cb *kcb; in kcb_find()
1926 struct ctl_cb *kcb; in kcb_find_socket()
2028 lck_mtx_lock(&((struct ctl_cb *)so->so_pcb)->mtx); in ctl_lock()
2067 (uint64_t)VM_KERNEL_ADDRPERM(&((struct ctl_cb *)so->so_pcb)->mtx), in ctl_unlock()
2085 mutex_held = &((struct ctl_cb *)so->so_pcb)->mtx; in ctl_unlock()
2103 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
2163 struct ctl_cb *kcb;
2269 struct ctl_cb *kcb;
2359 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;