Lines Matching refs:ctb_ptr
59 caddr_t ctb_ptr; /* pointer to empty buffer space */ member
93 off_t ptroff = b->ctb_ptr - b->ctb_base; in ctf_buf_grow()
98 b->ctb_ptr = b->ctb_base + ptroff; in ctf_buf_grow()
123 return (b->ctb_ptr - b->ctb_base); in ctf_buf_cur()
132 if (b->ctb_ptr == b->ctb_end) in ctf_buf_write()
135 len = MIN((size_t)(b->ctb_end - b->ctb_ptr), n); in ctf_buf_write()
136 bcopy(p, b->ctb_ptr, len); in ctf_buf_write()
137 b->ctb_ptr += len; in ctf_buf_write()
644 outbuf = xmalloc(sizeof (ctf_header_t) + (buf->ctb_ptr - buf->ctb_base) in write_buffer()
649 (void) bcopy_data(buf->ctb_base, buf->ctb_ptr - buf->ctb_base, in write_buffer()
672 (void) compress_buffer(buf->ctb_base, buf->ctb_ptr - buf->ctb_base, in write_compressed_buffer()