Lines Matching refs:ctl_cb
95 static struct ctl_cb *kcb_find(struct kctl *, u_int32_t unit);
202 kcb_delete(struct ctl_cb *kcb)
222 struct ctl_cb *kcb = 0;
224 MALLOC(kcb, struct ctl_cb *, sizeof(struct ctl_cb), M_TEMP, M_WAITOK);
229 bzero(kcb, sizeof(struct ctl_cb));
250 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
270 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
287 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
288 struct ctl_cb *kcb_next = NULL;
393 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
395 if ((kcb = (struct ctl_cb *)so->so_pcb)) {
423 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
451 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
578 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;
932 static struct ctl_cb *
935 struct ctl_cb *kcb;
950 struct ctl_cb *kcb = kcb_find(kctl, unit);
1018 lck_mtx_lock(((struct ctl_cb *)so->so_pcb)->mtx);
1052 so, so->so_pcb, ((struct ctl_cb *)so->so_pcb)->mtx,
1068 mutex_held = ((struct ctl_cb *)so->so_pcb)->mtx;
1084 struct ctl_cb *kcb = (struct ctl_cb *)so->so_pcb;