Lines Matching defs:kcp
663 struct kdp_callout *kcp;
666 kcp = kalloc(sizeof(*kcp));
667 if (kcp == NULL)
670 kcp->callout_fn = fn;
671 kcp->callout_arg = arg;
676 kcp->callout_next = list_head;
677 } while (!OSCompareAndSwapPtr(list_head, kcp, (void * volatile *)&kdp_callout_list));
687 struct kdp_callout *kcp = kdp_callout_list;
689 while (kcp) {
690 kcp->callout_fn(kcp->callout_arg, event);
691 kcp = kcp->callout_next;