Lines Matching refs:vb_curroffset
80 if (vb->vb_roffset != vb->vb_curroffset) { in vthistory_seek()
81 vb->vb_roffset = vb->vb_curroffset; in vthistory_seek()
88 bottom = vb->vb_curroffset; in vthistory_seek()
119 roffset = vb->vb_curroffset; in vthistory_seek()
136 vb->vb_curroffset += offset; in vthistory_addlines()
137 if (vb->vb_curroffset + vb->vb_scr_size.tp_row >= vb->vb_history_size) { in vthistory_addlines()
139 vb->vb_curroffset %= vb->vb_history_size; in vthistory_addlines()
142 vb->vb_roffset = vb->vb_curroffset; in vthistory_addlines()
378 row = vb->vb_rows[(vb->vb_curroffset + pr) % in vtbuf_do_fill()
426 vb->vb_curroffset = 0; in vtbuf_init_early()
500 vb->vb_curroffset + h >= history_size; in vtbuf_grow()
527 (vb->vb_curroffset + h + r) % in vtbuf_grow()
572 vb->vb_curroffset = old_history_size - h; in vtbuf_grow()
589 (vb->vb_curroffset + h + r + in vtbuf_grow()
609 vb->vb_curroffset = history_size - h; in vtbuf_grow()
614 vb->vb_roffset = vb->vb_curroffset; in vtbuf_grow()
624 if (vb->vb_curroffset > 0 || vb->vb_cursor.tp_row > p->tp_row - 1) in vtbuf_grow()
647 row = vb->vb_rows[(vb->vb_curroffset + p->tp_row) % in vtbuf_putchar()