Lines Matching refs:vb_curroffset
79 if (vb->vb_roffset != vb->vb_curroffset) { in vthistory_seek()
80 vb->vb_roffset = vb->vb_curroffset; in vthistory_seek()
87 bottom = vb->vb_curroffset; in vthistory_seek()
118 roffset = vb->vb_curroffset; in vthistory_seek()
135 vb->vb_curroffset += offset; in vthistory_addlines()
136 if (vb->vb_curroffset + vb->vb_scr_size.tp_row >= vb->vb_history_size) { in vthistory_addlines()
138 vb->vb_curroffset %= vb->vb_history_size; in vthistory_addlines()
141 vb->vb_roffset = vb->vb_curroffset; in vthistory_addlines()
377 row = vb->vb_rows[(vb->vb_curroffset + pr) % in vtbuf_do_fill()
439 vb->vb_curroffset = 0; in vtbuf_reset_scrollback()
531 vb->vb_curroffset + h >= history_size; in vtbuf_grow()
558 (vb->vb_curroffset + h + r) % in vtbuf_grow()
603 vb->vb_curroffset = old_history_size - h; in vtbuf_grow()
620 (vb->vb_curroffset + h + r + in vtbuf_grow()
640 vb->vb_curroffset = history_size - h; in vtbuf_grow()
645 vb->vb_roffset = vb->vb_curroffset; in vtbuf_grow()
655 if (vb->vb_curroffset > 0 || vb->vb_cursor.tp_row > p->tp_row - 1) in vtbuf_grow()
678 row = vb->vb_rows[(vb->vb_curroffset + p->tp_row) % in vtbuf_putchar()