Lines Matching refs:roffset
75 int diff, top, bottom, roffset; in vthistory_seek() local
92 roffset = 0; /* Make gcc happy. */ in vthistory_seek()
97 roffset = top + offset; in vthistory_seek()
104 roffset = vb->vb_roffset; in vthistory_seek()
105 if (roffset >= bottom + vb->vb_scr_size.tp_row) in vthistory_seek()
106 roffset -= vb->vb_history_size; in vthistory_seek()
108 roffset += offset; in vthistory_seek()
109 roffset = MAX(roffset, top); in vthistory_seek()
110 roffset = MIN(roffset, bottom); in vthistory_seek()
112 if (roffset < 0) in vthistory_seek()
113 roffset = vb->vb_history_size + roffset; in vthistory_seek()
118 roffset = vb->vb_curroffset; in vthistory_seek()
122 diff = vb->vb_roffset != roffset; in vthistory_seek()
123 vb->vb_roffset = roffset; in vthistory_seek()