Lines Matching refs:roffset
76 int diff, top, bottom, roffset; in vthistory_seek() local
93 roffset = 0; /* Make gcc happy. */ in vthistory_seek()
98 roffset = top + offset; in vthistory_seek()
105 roffset = vb->vb_roffset; in vthistory_seek()
106 if (roffset >= bottom + vb->vb_scr_size.tp_row) in vthistory_seek()
107 roffset -= vb->vb_history_size; in vthistory_seek()
109 roffset += offset; in vthistory_seek()
110 roffset = MAX(roffset, top); in vthistory_seek()
111 roffset = MIN(roffset, bottom); in vthistory_seek()
113 if (roffset < 0) in vthistory_seek()
114 roffset = vb->vb_history_size + roffset; in vthistory_seek()
119 roffset = vb->vb_curroffset; in vthistory_seek()
123 diff = vb->vb_roffset != roffset; in vthistory_seek()
124 vb->vb_roffset = roffset; in vthistory_seek()