Lines Matching refs:new_rows
1202 unsigned int new_cols, new_rows, new_row_size, new_screen_size; in vc_do_resize() local
1219 new_rows = (lines ? lines : vc->vc_rows); in vc_do_resize()
1221 new_screen_size = new_row_size * new_rows; in vc_do_resize()
1223 if (new_cols == vc->vc_cols && new_rows == vc->vc_rows) { in vc_do_resize()
1240 return resize_screen(vc, new_cols, new_rows, user); in vc_do_resize()
1250 new_uniscr = vc_uniscr_alloc(new_cols, new_rows); in vc_do_resize()
1263 err = resize_screen(vc, new_cols, new_rows, user); in vc_do_resize()
1270 vc->vc_rows = new_rows; in vc_do_resize()
1281 if (vc->state.y > new_rows) { in vc_do_resize()
1282 if (old_rows - vc->state.y < new_rows) { in vc_do_resize()
1287 first_copied_row = (old_rows - new_rows); in vc_do_resize()
1293 first_copied_row = (vc->state.y - new_rows/2); in vc_do_resize()
1298 end = old_origin + old_row_size * min(old_rows, new_rows); in vc_do_resize()
1300 vc_uniscr_copy_area(new_uniscr, new_cols, new_rows, in vc_do_resize()
1302 min(old_rows, new_rows)); in vc_do_resize()