Home
last modified time | relevance | path

Searched refs:vb_roffset (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()
101 roffset = vb->vb_roffset; in vthistory_seek()
119 diff = vb->vb_roffset != roffset; in vthistory_seek()
120 vb->vb_roffset = roffset; in vthistory_seek()
138 vb->vb_roffset = vb->vb_curroffset; in vthistory_addlines()
143 cur = vb->vb_roffset + vb->vb_scr_size.tp_row + sz - 1; in vthistory_addlines()
157 *offset = vb->vb_roffset; in vthistory_getpos()
172 return ((row - vb->vb_roffset + vb->vb_history_size) % in vtbuf_htw()
181 return ((vb->vb_roffset + row) % vb->vb_history_size); in vtbuf_wth()
[all …]
H A Dvt.h214 unsigned int vb_roffset; /* (b) History rows offset. */ member
267 ((vb)->vb_rows[((vb)->vb_roffset + (r)) % VTBUF_MAX_HEIGHT(vb)])
269 ((vb)->vb_rows[((vb)->vb_roffset + (r)) % VTBUF_MAX_HEIGHT(vb)][(c)])
H A Dvt_core.c249 .vb_roffset = 0,