Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/dev/vt/
HDvt_buf.c77 if (vb->vb_roffset != vb->vb_curroffset) { in vthistory_seek()
78 vb->vb_roffset = vb->vb_curroffset; in vthistory_seek()
85 bottom = vb->vb_curroffset; in vthistory_seek()
116 roffset = vb->vb_curroffset; in vthistory_seek()
133 vb->vb_curroffset += offset; in vthistory_addlines()
134 if (vb->vb_curroffset + vb->vb_scr_size.tp_row >= vb->vb_history_size) { in vthistory_addlines()
136 vb->vb_curroffset %= vb->vb_history_size; in vthistory_addlines()
139 vb->vb_roffset = vb->vb_curroffset; in vthistory_addlines()
375 row = vb->vb_rows[(vb->vb_curroffset + pr) % in vtbuf_do_fill()
437 vb->vb_curroffset = 0; in vtbuf_reset_scrollback()
[all …]
HDvt.h216 unsigned int vb_curroffset; /* (b) Saved rows offset. */ member
272 ((vb)->vb_rows[((vb)->vb_curroffset + (r)) % VTBUF_MAX_HEIGHT(vb)][(c)])
HDvt_core.c246 .vb_curroffset = 0,