vgacon_scrollback_cur 181 drivers/video/console/vgacon.c static struct vgacon_scrollback_info *vgacon_scrollback_cur; vgacon_scrollback_cur 211 drivers/video/console/vgacon.c vgacon_scrollback_cur = &vgacon_scrollbacks[vc_num]; vgacon_scrollback_cur 213 drivers/video/console/vgacon.c vgacon_scrollback_cur->rows = rows - 1; vgacon_scrollback_cur 214 drivers/video/console/vgacon.c vgacon_scrollback_cur->size = rows * pitch; vgacon_scrollback_cur 228 drivers/video/console/vgacon.c vgacon_scrollback_cur = &vgacon_scrollbacks[vc_num]; vgacon_scrollback_cur 239 drivers/video/console/vgacon.c vgacon_scrollback_cur = &vgacon_scrollbacks[0]; vgacon_scrollback_cur 247 drivers/video/console/vgacon.c if (!vgacon_scrollback_cur->data || !vgacon_scrollback_cur->size || vgacon_scrollback_cur 254 drivers/video/console/vgacon.c scr_memcpyw(vgacon_scrollback_cur->data + vgacon_scrollback_cur 255 drivers/video/console/vgacon.c vgacon_scrollback_cur->tail, vgacon_scrollback_cur 258 drivers/video/console/vgacon.c vgacon_scrollback_cur->cnt++; vgacon_scrollback_cur 260 drivers/video/console/vgacon.c vgacon_scrollback_cur->tail += c->vc_size_row; vgacon_scrollback_cur 262 drivers/video/console/vgacon.c if (vgacon_scrollback_cur->tail >= vgacon_scrollback_cur->size) vgacon_scrollback_cur 263 drivers/video/console/vgacon.c vgacon_scrollback_cur->tail = 0; vgacon_scrollback_cur 265 drivers/video/console/vgacon.c if (vgacon_scrollback_cur->cnt > vgacon_scrollback_cur->rows) vgacon_scrollback_cur 266 drivers/video/console/vgacon.c vgacon_scrollback_cur->cnt = vgacon_scrollback_cur->rows; vgacon_scrollback_cur 268 drivers/video/console/vgacon.c vgacon_scrollback_cur->cur = vgacon_scrollback_cur->cnt; vgacon_scrollback_cur 275 drivers/video/console/vgacon.c vgacon_scrollback_cur->save = 0; vgacon_scrollback_cur 277 drivers/video/console/vgacon.c if (!vga_is_gfx && !vgacon_scrollback_cur->restore) { vgacon_scrollback_cur 281 drivers/video/console/vgacon.c vgacon_scrollback_cur->restore = 1; vgacon_scrollback_cur 282 drivers/video/console/vgacon.c vgacon_scrollback_cur->cur = vgacon_scrollback_cur->cnt; vgacon_scrollback_cur 295 drivers/video/console/vgacon.c if (!vgacon_scrollback_cur->data) vgacon_scrollback_cur 298 drivers/video/console/vgacon.c if (!vgacon_scrollback_cur->save) { vgacon_scrollback_cur 302 drivers/video/console/vgacon.c vgacon_scrollback_cur->save = 1; vgacon_scrollback_cur 305 drivers/video/console/vgacon.c vgacon_scrollback_cur->restore = 0; vgacon_scrollback_cur 306 drivers/video/console/vgacon.c start = vgacon_scrollback_cur->cur + lines; vgacon_scrollback_cur 312 drivers/video/console/vgacon.c if (start > vgacon_scrollback_cur->cnt) vgacon_scrollback_cur 313 drivers/video/console/vgacon.c start = vgacon_scrollback_cur->cnt; vgacon_scrollback_cur 318 drivers/video/console/vgacon.c if (end > vgacon_scrollback_cur->cnt) vgacon_scrollback_cur 319 drivers/video/console/vgacon.c end = vgacon_scrollback_cur->cnt; vgacon_scrollback_cur 321 drivers/video/console/vgacon.c vgacon_scrollback_cur->cur = start; vgacon_scrollback_cur 323 drivers/video/console/vgacon.c soff = vgacon_scrollback_cur->tail - vgacon_scrollback_cur 324 drivers/video/console/vgacon.c ((vgacon_scrollback_cur->cnt - end) * c->vc_size_row); vgacon_scrollback_cur 328 drivers/video/console/vgacon.c soff += vgacon_scrollback_cur->size; vgacon_scrollback_cur 330 drivers/video/console/vgacon.c count = vgacon_scrollback_cur->cnt - start; vgacon_scrollback_cur 344 drivers/video/console/vgacon.c copysize = min(count, vgacon_scrollback_cur->size - soff); vgacon_scrollback_cur 345 drivers/video/console/vgacon.c scr_memcpyw(d, vgacon_scrollback_cur->data + soff, copysize); vgacon_scrollback_cur 350 drivers/video/console/vgacon.c scr_memcpyw(d, vgacon_scrollback_cur->data, count);