Lines Matching refs:scratchpad
161 + regional_get_mem(worker->scratchpad)
576 worker->scratchpad, &msg, timenow, 0, NULL, 0);
598 msg->rep, LDNS_RCODE_SERVFAIL, edns, repinfo, worker->scratchpad,
605 worker->scratchpad, msg->rep->reason_bogus,
638 (int)(flags&LDNS_RCODE_MASK), edns, repinfo, worker->scratchpad,
649 worker->scratchpad, msg->rep->reason_bogus,
653 repinfo->c->buffer, 0, 1, worker->scratchpad,
656 LDNS_RCODE_SERVFAIL, edns, repinfo, worker->scratchpad,
690 alias_rrset, 0, worker->scratchpad, az, NULL,
802 LDNS_RCODE_SERVFAIL, edns, repinfo, worker->scratchpad,
808 worker->scratchpad, rep->reason_bogus,
814 worker->scratchpad, rep->ref, rep->rrset_count);
851 must_validate, &encode_rep, worker->scratchpad,
865 * make a copy of the reply in the scratchpad so we
868 worker->scratchpad);
876 worker->scratchpad, LDNS_EDE_STALE_ANSWER, "");
884 worker->scratchpad, encode_rep->reason_bogus,
888 (int)(flags&LDNS_RCODE_MASK), edns, repinfo, worker->scratchpad,
892 repinfo->c->buffer, timenow, 1, worker->scratchpad,
897 worker->scratchpad, worker->env.now_tv))
905 rrset_array_unlock_touch(worker->env.rrset_cache, worker->scratchpad,
912 worker->scratchpad, rep->ref, rep->rrset_count);
976 LDNS_RCODE_NOERROR, edns, repinfo, worker->scratchpad,
1052 str = (char*)regional_alloc(w->scratchpad, str_len);
1077 regional_free_all(w->scratchpad);
1661 worker->scratchpad,
1672 regional_free_all(worker->scratchpad);
1686 regional_free_all(worker->scratchpad);
1733 regional_free_all(worker->scratchpad);
1742 worker->scratchpad, LDNS_EDE_OTHER,
1750 regional_free_all(worker->scratchpad);
1775 regional_free_all(worker->scratchpad);
1785 regional_free_all(worker->scratchpad);
1792 regional_free_all(worker->scratchpad);
1796 &edns, c->buffer, worker->scratchpad, repinfo, acladdr->taglist,
1801 regional_free_all(worker->scratchpad);
1810 &worker->env, &qinfo, &edns, c->buffer, worker->scratchpad,
1813 regional_free_all(worker->scratchpad);
1822 &qinfo, &edns, repinfo, c->buffer, worker->scratchpad)) {
1823 regional_free_all(worker->scratchpad);
1841 regional_free_all(worker->scratchpad);
1860 worker->scratchpad, LDNS_EDE_NOT_AUTHORITATIVE, "");
1865 regional_free_all(worker->scratchpad);
1884 regional_free_all(worker->scratchpad);
1954 regional_free_all(worker->scratchpad);
1959 regional_free_all(worker->scratchpad);
1977 regional_free_all(worker->scratchpad);
1994 regional_free_all(worker->scratchpad);
2017 regional_free_all(worker->scratchpad);
2310 worker->scratchpad = regional_create_custom(cfg->msg_buffer_size);
2311 if(!worker->scratchpad) {
2329 * the scratchpad for the module env in the middle of request handling.
2331 * sharing it with worker's own scratchpad at the cost of having
2458 regional_destroy(worker->scratchpad);