Lines Matching defs:resbuf
447 typedef struct resbuf {
584 resbuf_t resbuf;
585 resbuf.rb_size = RES_BUF_CHUNK_SIZE;
586 resbuf.rb_base = xmalloc(resbuf.rb_size);
587 bcopy(h, resbuf.rb_base, sizeof (ctf_header_t));
588 resbuf.rb_ptr = resbuf.rb_base + sizeof (ctf_header_t);
590 compress_start(&resbuf);
592 &resbuf);
593 compress_flush(&resbuf, Z_FULL_FLUSH);
594 (void) strtab_write(&buf->ctb_strtab, compress_buffer, &resbuf);
595 compress_end(&resbuf);
597 *resszp = (resbuf.rb_ptr - resbuf.rb_base);
598 return (resbuf.rb_base);