Lines Matching refs:buf_ptr
253 buf->buf_ptr = 0; in ber_pvt_sb_buf_init()
301 max = sbb->buf_end - sbb->buf_ptr; in ber_pvt_sb_copy_out()
304 AC_MEMCPY( buf, sbb->buf_base + sbb->buf_ptr, max ); in ber_pvt_sb_copy_out()
305 sbb->buf_ptr += max; in ber_pvt_sb_copy_out()
306 if ( sbb->buf_ptr >= sbb->buf_end ) { in ber_pvt_sb_copy_out()
307 sbb->buf_ptr = sbb->buf_end = 0; in ber_pvt_sb_copy_out()
322 to_go = buf_out->buf_end - buf_out->buf_ptr; in ber_pvt_sb_do_write()
327 buf_out->buf_ptr, to_go ); in ber_pvt_sb_do_write()
336 buf_out->buf_ptr += ret; in ber_pvt_sb_do_write()
337 if (buf_out->buf_ptr == buf_out->buf_end) { in ber_pvt_sb_do_write()
338 buf_out->buf_end = buf_out->buf_ptr = 0; in ber_pvt_sb_do_write()
616 if ( p->buf_ptr != p->buf_end ) return -1; in sb_rdahead_remove()
693 if ( p->buf_ptr != p->buf_end ) { in sb_rdahead_ctrl()