Lines Matching refs:nr_up
74 int nr_up; /* # lines up in history. */ member
199 str = (tp->nr_up != 0) ? "History" : "Running"; in tty3270_update_status()
248 int line, nr_up; in tty3270_rebuild_update() local
257 nr_up = tp->nr_up; in tty3270_rebuild_update()
259 if (nr_up > 0) { in tty3270_rebuild_update()
260 nr_up--; in tty3270_rebuild_update()
294 if (tp->nr_up != 0 && 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()
319 if (tp->nr_up != 0) in tty3270_blank_line()
320 tp->nr_up++; in tty3270_blank_line()
334 tp->nr_up = 0; in tty3270_blank_screen()
518 int nr_up; in tty3270_scroll_forward() local
521 nr_up = tp->nr_up - tp->view.rows + 2; in tty3270_scroll_forward()
522 if (nr_up < 0) in tty3270_scroll_forward()
523 nr_up = 0; in tty3270_scroll_forward()
524 if (nr_up != tp->nr_up) { in tty3270_scroll_forward()
525 tp->nr_up = nr_up; in tty3270_scroll_forward()
540 int nr_up; in tty3270_scroll_backward() local
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()
546 if (nr_up != tp->nr_up) { in tty3270_scroll_backward()
547 tp->nr_up = nr_up; in tty3270_scroll_backward()
580 if (tp->nr_up > 0) { in tty3270_read_tasklet()
581 tp->nr_up = 0; in tty3270_read_tasklet()
1201 if (tp->nr_up + line_nr < tp->view.rows - 2) { in tty3270_convert_line()