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 */
159 static struct ctl_cb *kcb_find(struct kctl *, u_int32_t unit);
281 kcb_delete(struct ctl_cb *kcb) in kcb_delete()
285 kfree_type(struct ctl_cb, kcb); in kcb_delete()
299 struct ctl_cb *kcb = 0; in ctl_attach()
301 kcb = kalloc_type(struct ctl_cb, Z_WAITOK | Z_ZERO | Z_NOFAIL); in ctl_attach()
322 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_sofreelastref()
346 ctl_kcb_increment_use_count(struct ctl_cb *kcb, lck_mtx_t *mutex_held) in ctl_kcb_increment_use_count()
356 ctl_kcb_require_clearing(struct ctl_cb *kcb, lck_mtx_t *mutex_held) in ctl_kcb_require_clearing()
368 ctl_kcb_done_clearing(struct ctl_cb *kcb) in ctl_kcb_done_clearing()
376 ctl_kcb_decrement_use_count(struct ctl_cb *kcb) in ctl_kcb_decrement_use_count()
386 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_detach()
424 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_setup_kctl()
425 struct ctl_cb *kcb_next = NULL; in ctl_setup_kctl()
563 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_bind()
601 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_connect()
677 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_disconnect()
679 if ((kcb = (struct ctl_cb *)so->so_pcb)) { in ctl_disconnect()
718 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_peeraddr()
778 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_usr_rcvd()
813 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_send()
856 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_send_list()
1325 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb; in ctl_ctloutput()
1914 static struct ctl_cb *
1917 struct ctl_cb *kcb; in kcb_find()
1933 struct ctl_cb *kcb; in kcb_find_socket()
2035 lck_mtx_lock(&((struct ctl_cb *)so->so_pcb)->mtx); in ctl_lock()
2074 (uint64_t)VM_KERNEL_ADDRPERM(&((struct ctl_cb *)so->so_pcb)->mtx), in ctl_unlock()
2092 mutex_held = &((struct ctl_cb *)so->so_pcb)->mtx; in ctl_unlock()
2110 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
2170 struct ctl_cb *kcb;
2276 struct ctl_cb *kcb;
2366 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;