Lines Matching refs:kcp
671 struct kdp_callout *kcp;
674 kcp = kalloc(sizeof(*kcp));
675 if (kcp == NULL)
678 kcp->callout_fn = fn;
679 kcp->callout_arg = arg;
684 kcp->callout_next = list_head;
685 } while (!OSCompareAndSwapPtr(list_head, kcp, (void * volatile *)&kdp_callout_list));
695 struct kdp_callout *kcp = kdp_callout_list;
697 while (kcp) {
698 kcp->callout_fn(kcp->callout_arg, event);
699 kcp = kcp->callout_next;