Lines Matching defs:dynbuf
245 isc_buffer_t *dynbuf;
247 dynbuf = NULL;
248 result = isc_buffer_allocate(msg->mctx, &dynbuf, size);
252 ISC_LIST_APPEND(msg->scratchpad, dynbuf, link);
258 isc_buffer_t *dynbuf;
260 dynbuf = ISC_LIST_TAIL(msg->scratchpad);
261 INSIST(dynbuf != NULL);
263 return (dynbuf);
528 isc_buffer_t *dynbuf, *next_dynbuf;
556 dynbuf = ISC_LIST_HEAD(msg->scratchpad);
557 INSIST(dynbuf != NULL);
559 isc_buffer_clear(dynbuf);
560 dynbuf = ISC_LIST_NEXT(dynbuf, link);
562 while (dynbuf != NULL) {
563 next_dynbuf = ISC_LIST_NEXT(dynbuf, link);
564 ISC_LIST_UNLINK(msg->scratchpad, dynbuf, link);
565 isc_buffer_free(&dynbuf);
566 dynbuf = next_dynbuf;
636 dynbuf = ISC_LIST_HEAD(msg->cleanup);
637 while (dynbuf != NULL) {
638 next_dynbuf = ISC_LIST_NEXT(dynbuf, link);
639 ISC_LIST_UNLINK(msg->cleanup, dynbuf, link);
640 isc_buffer_free(&dynbuf);
641 dynbuf = next_dynbuf;
698 isc_buffer_t *dynbuf;
755 dynbuf = NULL;
756 result = isc_buffer_allocate(mctx, &dynbuf, SCRATCHPAD_SIZE);
759 ISC_LIST_APPEND(m->scratchpad, dynbuf, link);
770 dynbuf = ISC_LIST_HEAD(m->scratchpad);
771 if (dynbuf != NULL) {
772 ISC_LIST_UNLINK(m->scratchpad, dynbuf, link);
773 isc_buffer_free(&dynbuf);
3032 isc_buffer_t *dynbuf = NULL;
3033 result = isc_buffer_allocate(msg->mctx, &dynbuf, 512);
3036 dns_name_setbuffer(signer, dynbuf);
3037 dns_message_takebuffer(msg, &dynbuf);