Lines Matching full:saved
237 } saved; variable
242 saved.x = boot_params.screen_info.orig_video_cols; in save_screen()
243 saved.y = boot_params.screen_info.orig_video_lines; in save_screen()
244 saved.curx = boot_params.screen_info.orig_x; in save_screen()
245 saved.cury = boot_params.screen_info.orig_y; in save_screen()
247 if (!heap_free(saved.x*saved.y*sizeof(u16)+512)) in save_screen()
250 saved.data = GET_HEAP(u16, saved.x*saved.y); in save_screen()
253 copy_from_fs(saved.data, 0, saved.x*saved.y*sizeof(u16)); in save_screen()
263 u16 *src = saved.data; in restore_screen()
270 return; /* No saved screen contents */ in restore_screen()
278 if (y < saved.y) { in restore_screen()
279 int copy = (xs < saved.x) ? xs : saved.x; in restore_screen()
282 src += saved.x; in restore_screen()
283 npad = (xs < saved.x) ? 0 : xs-saved.x; in restore_screen()
303 if (saved.curx >= xs) in restore_screen()
304 saved.curx = xs-1; in restore_screen()
305 if (saved.cury >= ys) in restore_screen()
306 saved.cury = ys-1; in restore_screen()
310 ireg.dh = saved.cury; in restore_screen()
311 ireg.dl = saved.curx; in restore_screen()