Lines Matching defs:cb

936 	if(w && w->cb) {
937 fptr_ok(fptr_whitelist_pending_tcp(w->cb));
938 (void)(*w->cb)(c, w->cb_arg, error, reply_info);
1233 if(w->cb)
1287 verbose(VERB_ALGO, "outnettcp cb");
1383 verbose(VERB_CLIENT, "outnet_tcp_cb reuse after cb");
1385 verbose(VERB_CLIENT, "outnet_tcp_cb reuse after cb: keep it");
1397 verbose(VERB_CLIENT, "outnet_tcp_cb reuse after cb: decommission it");
1452 if(pend->cb) {
1453 fptr_ok(fptr_whitelist_pending_udp(pend->cb));
1454 (void)(*pend->cb)(outnet->unused_fds->cp, pend->cb_arg,
1471 verbose(VERB_ALGO, "answer cb");
1535 if(p->cb) {
1536 fptr_ok(fptr_whitelist_pending_udp(p->cb));
1537 (void)(*p->cb)(p->pc->cp, p->cb_arg, NETEVENT_NOERROR, reply_info);
1590 if(p->cb) {
1591 fptr_ok(fptr_whitelist_pending_udp(p->cb));
1592 (void)(*p->cb)(p->pc->cp, p->cb_arg, NETEVENT_TIMEOUT, NULL);
1599 p->cb = NULL;
2249 int timeout, comm_point_callback_type* cb, void* cb_arg)
2257 pend->cb = cb;
2463 w->cb = callback;
2579 /* By the time this cb is called, if we don't have any registered
2692 w->cb = NULL;
2764 w->cb = NULL;
2977 int dobackup = (sq->cblist && sq->cblist->next); /* >1 cb*/
3050 fptr_ok(fptr_whitelist_serviced_query(p->cb));
3051 (void)(*p->cb)(c, p->cb_arg, error, rep);
3406 struct service_callback* cb;
3488 if(!(cb = (struct service_callback*)regional_alloc(
3489 sq->region, sizeof(*cb)))) {
3506 if(!(cb = (struct service_callback*)regional_alloc(
3507 sq->region, sizeof(*cb)))) {
3512 cb->cb = callback;
3513 cb->cb_arg = callback_arg;
3514 cb->next = sq->cblist;
3515 sq->cblist = cb;
3626 comm_point_callback_type* cb, void* cb_arg,
3635 cb, cb_arg, NULL);
3702 comm_point_callback_type* cb, void* cb_arg,
3716 cp = comm_point_create_tcp_out(outnet->base, 65552, cb, cb_arg);
3776 comm_point_callback_type* cb, void* cb_arg,
3780 /* cp calls cb with err=NETEVENT_DONE when transfer is done */
3791 cp = comm_point_create_http_out(outnet->base, 65552, cb, cb_arg,