Lines Matching full: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()
523 nr_up = tp->nr_up - tp->view.rows + 2; in tty3270_scroll_forward()
545 nr_up = tp->nr_up + tp->view.rows - 2; in tty3270_scroll_backward()
546 if (nr_up + tp->view.rows - 2 > tp->nr_lines) in tty3270_scroll_backward()
547 nr_up = tp->nr_lines - tp->view.rows + 2; in tty3270_scroll_backward()
807 tty3270_alloc_screen(unsigned int rows, unsigned int cols) in tty3270_alloc_screen() argument
813 size = sizeof(struct tty3270_line) * (rows - 2); in tty3270_alloc_screen()
817 for (lines = 0; lines < rows - 2; lines++) { in tty3270_alloc_screen()
836 tty3270_free_screen(struct tty3270_line *screen, unsigned int rows) in tty3270_free_screen() argument
840 for (lines = 0; lines < rows - 2; lines++) in tty3270_free_screen()
863 orows = tp->view.rows; in tty3270_resize_work()
865 tp->view.rows = tp->n_rows; in tty3270_resize_work()
872 while (tp->nr_lines < tp->view.rows - 2) in tty3270_resize_work()
882 ws.ws_row = tp->view.rows - 2; in tty3270_resize_work()
889 tty3270_resize(struct raw3270_view *view, int model, int rows, int cols) in tty3270_resize() argument
893 if (tp->n_model == model && tp->n_rows == rows && tp->n_cols == cols) in tty3270_resize()
896 tp->n_rows = rows; in tty3270_resize()
928 tty3270_free_screen(tp->screen, tp->view.rows); in tty3270_free()
970 tty->winsize.ws_row = tp->view.rows - 2; in tty3270_install()
991 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()
1830 while (tp->nr_lines < tp->view.rows - 2) in tty3270_hangup()