Home
last modified time | relevance | path

Searched refs:ctb_ptr (Results 1 – 1 of 1) sorted by relevance

/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c59 caddr_t ctb_ptr; /* pointer to empty buffer space */ member
94 off_t ptroff = b->ctb_ptr - b->ctb_base; in ctf_buf_grow()
99 b->ctb_ptr = b->ctb_base + ptroff; in ctf_buf_grow()
124 return (b->ctb_ptr - b->ctb_base); in ctf_buf_cur()
133 if (b->ctb_ptr == b->ctb_end) in ctf_buf_write()
136 len = MIN((size_t)(b->ctb_end - b->ctb_ptr), n); in ctf_buf_write()
137 bcopy(p, b->ctb_ptr, len); in ctf_buf_write()
138 b->ctb_ptr += len; in ctf_buf_write()
651 outbuf = xmalloc(sizeof (ctf_header_t) + (buf->ctb_ptr - buf->ctb_base) in write_buffer()
656 (void) bcopy_data(buf->ctb_base, buf->ctb_ptr - buf->ctb_base, in write_buffer()
[all …]