Lines Matching defs:kcp
355 struct kdp_callout *kcp;
358 kcp = kalloc(sizeof(*kcp));
359 if (kcp == NULL)
362 kcp->callout_fn = fn;
363 kcp->callout_arg = arg;
368 kcp->callout_next = list_head;
369 } while (!OSCompareAndSwapPtr(list_head, kcp, (void * volatile *)&kdp_callout_list));
379 struct kdp_callout *kcp = kdp_callout_list;
381 while (kcp) {
382 kcp->callout_fn(kcp->callout_arg, event);
383 kcp = kcp->callout_next;