• Home
  • Raw
  • Download

Lines Matching refs:rows

155 		off = tp->view.cols * tp->view.rows - 9;  in tty3270_update_prompt()
181 offset = tp->view.cols * (tp->view.rows - 2); in tty3270_create_prompt()
183 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_prompt()
220 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_status()
256 line = tp->view.rows - 3; in tty3270_rebuild_update()
284 BUG_ON(tp->nr_lines <= tp->view.rows - 2); in tty3270_alloc_string()
295 tp->nr_up + tp->view.rows - 2 >= tp->nr_lines) { in tty3270_alloc_string()
296 tp->nr_up = tp->nr_lines - tp->view.rows + 2; in tty3270_alloc_string()
332 for (i = 0; i < tp->view.rows - 2; i++) in tty3270_blank_screen()
521 nr_up = tp->nr_up - tp->view.rows + 2; in tty3270_scroll_forward()
543 nr_up = tp->nr_up + tp->view.rows - 2; in tty3270_scroll_backward()
544 if (nr_up + tp->view.rows - 2 > tp->nr_lines) in tty3270_scroll_backward()
545 nr_up = tp->nr_lines - tp->view.rows + 2; in tty3270_scroll_backward()
805 tty3270_alloc_screen(unsigned int rows, unsigned int cols) in tty3270_alloc_screen() argument
811 size = sizeof(struct tty3270_line) * (rows - 2); in tty3270_alloc_screen()
815 for (lines = 0; lines < rows - 2; lines++) { in tty3270_alloc_screen()
834 tty3270_free_screen(struct tty3270_line *screen, unsigned int rows) in tty3270_free_screen() argument
838 for (lines = 0; lines < rows - 2; lines++) in tty3270_free_screen()
861 orows = tp->view.rows; in tty3270_resize_work()
863 tp->view.rows = tp->n_rows; in tty3270_resize_work()
870 while (tp->nr_lines < tp->view.rows - 2) in tty3270_resize_work()
880 ws.ws_row = tp->view.rows - 2; in tty3270_resize_work()
887 tty3270_resize(struct raw3270_view *view, int model, int rows, int cols) in tty3270_resize() argument
891 if (tp->n_model == model && tp->n_rows == rows && tp->n_cols == cols) in tty3270_resize()
894 tp->n_rows = rows; in tty3270_resize()
926 tty3270_free_screen(tp->screen, tp->view.rows); in tty3270_free()
968 tty->winsize.ws_row = tp->view.rows - 2; in tty3270_install()
990 tp->screen = tty3270_alloc_screen(tp->view.rows, tp->view.cols); in tty3270_install()
1000 tty->winsize.ws_row = tp->view.rows - 2; in tty3270_install()
1008 for (i = 0; i < tp->view.rows - 2; i++) in tty3270_install()
1144 i = tp->view.rows - 2 - line_nr; in tty3270_convert_line()
1202 if (tp->nr_up + line_nr < tp->view.rows - 2) { in tty3270_convert_line()
1232 if (tp->cy < tp->view.rows - 3) { in tty3270_lf()
1240 for (i = 0; i < tp->view.rows - 3; i++) in tty3270_lf()
1242 tp->screen[tp->view.rows - 3] = temp; in tty3270_lf()
1370 for (i = tp->cy + 1; i < tp->view.rows - 2; i++) { in tty3270_erase_display()
1381 for (i = 0; i < tp->view.rows - 2; i++) { in tty3270_erase_display()
1460 cy = min_t(int, tp->view.rows - 3, max_cy); in tty3270_goto_xy()
1846 while (tp->nr_lines < tp->view.rows - 2) in tty3270_hangup()