Home
last modified time | relevance | path

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

/freebsd/sys/dev/vt/
H A Dvt_buf.c76 if (vb->vb_roffset != vb->vb_curroffset) { in vthistory_seek()
77 vb->vb_roffset = vb->vb_curroffset; in vthistory_seek()
84 bottom = vb->vb_curroffset; in vthistory_seek()
115 roffset = vb->vb_curroffset; in vthistory_seek()
132 vb->vb_curroffset += offset; in vthistory_addlines()
133 if (vb->vb_curroffset + vb->vb_scr_size.tp_row >= vb->vb_history_size) { in vthistory_addlines()
135 vb->vb_curroffset %= vb->vb_history_size; in vthistory_addlines()
138 vb->vb_roffset = vb->vb_curroffset; in vthistory_addlines()
374 row = vb->vb_rows[(vb->vb_curroffset + pr) % in vtbuf_do_fill()
436 vb->vb_curroffset = 0; in vtbuf_reset_scrollback()
[all …]
H A Dvt.h215 unsigned int vb_curroffset; /* (b) Saved rows offset. */ member
271 ((vb)->vb_rows[((vb)->vb_curroffset + (r)) % VTBUF_MAX_HEIGHT(vb)][(c)])
H A Dvt_core.c248 .vb_curroffset = 0,