Lines Matching refs:ctb_ptr
59 caddr_t ctb_ptr; /* pointer to empty buffer space */
94 off_t ptroff = b->ctb_ptr - b->ctb_base;
99 b->ctb_ptr = b->ctb_base + ptroff;
124 return (b->ctb_ptr - b->ctb_base);
133 if (b->ctb_ptr == b->ctb_end)
136 len = MIN((size_t)(b->ctb_end - b->ctb_ptr), n);
137 bcopy(p, b->ctb_ptr, len);
138 b->ctb_ptr += len;
651 outbuf = xmalloc(sizeof (ctf_header_t) + (buf->ctb_ptr - buf->ctb_base)
656 (void) bcopy_data(buf->ctb_base, buf->ctb_ptr - buf->ctb_base,
679 (void) compress_buffer(buf->ctb_base, buf->ctb_ptr - buf->ctb_base,