Lines Matching refs:dynbuf
267 isc_buffer_t *dynbuf;
269 dynbuf = NULL;
270 result = isc_buffer_allocate(msg->mctx, &dynbuf, size);
274 ISC_LIST_APPEND(msg->scratchpad, dynbuf, link);
280 isc_buffer_t *dynbuf;
282 dynbuf = ISC_LIST_TAIL(msg->scratchpad);
283 INSIST(dynbuf != NULL);
285 return (dynbuf);
541 isc_buffer_t *dynbuf, *next_dynbuf;
569 dynbuf = ISC_LIST_HEAD(msg->scratchpad);
570 INSIST(dynbuf != NULL);
572 isc_buffer_clear(dynbuf);
573 dynbuf = ISC_LIST_NEXT(dynbuf, link);
575 while (dynbuf != NULL) {
576 next_dynbuf = ISC_LIST_NEXT(dynbuf, link);
577 ISC_LIST_UNLINK(msg->scratchpad, dynbuf, link);
578 isc_buffer_free(&dynbuf);
579 dynbuf = next_dynbuf;
649 dynbuf = ISC_LIST_HEAD(msg->cleanup);
650 while (dynbuf != NULL) {
651 next_dynbuf = ISC_LIST_NEXT(dynbuf, link);
652 ISC_LIST_UNLINK(msg->cleanup, dynbuf, link);
653 isc_buffer_free(&dynbuf);
654 dynbuf = next_dynbuf;
711 isc_buffer_t *dynbuf;
764 dynbuf = NULL;
765 result = isc_buffer_allocate(mctx, &dynbuf, SCRATCHPAD_SIZE);
768 ISC_LIST_APPEND(m->scratchpad, dynbuf, link);
779 dynbuf = ISC_LIST_HEAD(m->scratchpad);
780 if (dynbuf != NULL) {
781 ISC_LIST_UNLINK(m->scratchpad, dynbuf, link);
782 isc_buffer_free(&dynbuf);
2858 isc_buffer_t *dynbuf = NULL;
2859 result = isc_buffer_allocate(msg->mctx, &dynbuf, 512);
2862 dns_name_setbuffer(signer, dynbuf);
2863 dns_message_takebuffer(msg, &dynbuf);