Lines Matching defs:cbs
482 isc_cbsource_t *cbs = &source->sources.callback;
493 if (!cbs->start_called && cbs->startfunc != NULL) {
494 result = cbs->startfunc(source, cbs->arg, blocking);
497 cbs->start_called = ISC_TRUE;
503 result = cbs->getfunc(source, cbs->arg, blocking);
505 got = crunchsamples(ent, &cbs->samplequeue);
723 isc_cbsource_t *cbs;
747 cbs = &source->sources.callback;
748 if (cbs->start_called && cbs->stopfunc != NULL) {
749 cbs->stopfunc(source, cbs->arg);
750 cbs->start_called = ISC_FALSE;
752 samplequeue_release(ent, &cbs->samplequeue);
866 isc_cbsource_t *cbs;
881 cbs = &source->sources.callback;
883 result = samplesource_allocate(ent, &cbs->samplequeue);
887 cbs->start_called = ISC_FALSE;
888 cbs->startfunc = start;
889 cbs->getfunc = get;
890 cbs->stopfunc = stop;
891 cbs->arg = arg;
926 isc_cbsource_t *cbs;
935 cbs = &source->sources.callback;
936 if (cbs->start_called && cbs->stopfunc != NULL) {
937 cbs->stopfunc(source, cbs->arg);
938 cbs->start_called = ISC_FALSE;