• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/unbound/daemon/

Lines Matching refs:scratchpad

158 		+ regional_get_mem(worker->scratchpad) 
494 worker->scratchpad, &msg, timenow);
516 msg->rep, LDNS_RCODE_SERVFAIL, edns, repinfo, worker->scratchpad,
548 (int)(flags&LDNS_RCODE_MASK), edns, repinfo, worker->scratchpad,
553 repinfo->c, worker->scratchpad) ||
555 repinfo->c->buffer, 0, 1, worker->scratchpad,
558 LDNS_RCODE_SERVFAIL, edns, repinfo, worker->scratchpad,
591 alias_rrset, 0, worker->scratchpad, az))
690 LDNS_RCODE_SERVFAIL, edns, repinfo, worker->scratchpad,
696 worker->scratchpad, rep->ref, rep->rrset_count);
725 (int)(flags&LDNS_RCODE_MASK), edns, repinfo, worker->scratchpad,
736 must_validate, &encode_rep, worker->scratchpad,
749 * make a copy of the reply in the scratchpad so we
752 worker->scratchpad);
757 repinfo->c, worker->scratchpad) ||
759 repinfo->c->buffer, timenow, 1, worker->scratchpad,
762 LDNS_RCODE_SERVFAIL, edns, repinfo, worker->scratchpad,
770 rrset_array_unlock_touch(worker->env.rrset_cache, worker->scratchpad,
777 worker->scratchpad, rep->ref, rep->rrset_count);
851 LDNS_RCODE_NOERROR, edns, repinfo, worker->scratchpad,
897 str = (char*)regional_alloc(w->scratchpad, str_len);
922 regional_free_all(w->scratchpad);
1270 if((ret=parse_edns_from_pkt(c->buffer, &edns, worker->scratchpad)) != 0) {
1281 regional_free_all(worker->scratchpad);
1301 regional_free_all(worker->scratchpad);
1327 regional_free_all(worker->scratchpad);
1351 regional_free_all(worker->scratchpad);
1361 regional_free_all(worker->scratchpad);
1367 regional_free_all(worker->scratchpad);
1371 &edns, c->buffer, worker->scratchpad, repinfo, acladdr->taglist,
1376 regional_free_all(worker->scratchpad);
1385 &worker->env, &qinfo, &edns, c->buffer, worker->scratchpad,
1387 regional_free_all(worker->scratchpad);
1396 &qinfo, &edns, repinfo, c->buffer, worker->scratchpad)) {
1397 regional_free_all(worker->scratchpad);
1414 regional_free_all(worker->scratchpad);
1434 regional_free_all(worker->scratchpad);
1452 regional_free_all(worker->scratchpad);
1515 regional_free_all(worker->scratchpad);
1520 regional_free_all(worker->scratchpad);
1538 regional_free_all(worker->scratchpad);
1554 regional_free_all(worker->scratchpad);
1576 regional_free_all(worker->scratchpad);
1839 worker->scratchpad = regional_create_custom(cfg->msg_buffer_size);
1840 if(!worker->scratchpad) {
1859 * the scratchpad for the module env in the middle of request handling.
1861 * sharing it with worker's own scratchpad at the cost of having
1993 regional_destroy(worker->scratchpad);