Lines Matching refs:nr_up
73 int nr_up; /* # lines up in history. */ member
197 str = (tp->nr_up != 0) ? "History" : "Running"; in tty3270_update_status()
246 int line, nr_up; in tty3270_rebuild_update() local
255 nr_up = tp->nr_up; in tty3270_rebuild_update()
257 if (nr_up > 0) { in tty3270_rebuild_update()
258 nr_up--; in tty3270_rebuild_update()
292 if (tp->nr_up != 0 && in tty3270_alloc_string()
293 tp->nr_up + tp->view.rows - 2 >= tp->nr_lines) { in tty3270_alloc_string()
294 tp->nr_up = tp->nr_lines - tp->view.rows + 2; in tty3270_alloc_string()
317 if (tp->nr_up != 0) in tty3270_blank_line()
318 tp->nr_up++; in tty3270_blank_line()
491 int nr_up; in tty3270_scroll_forward() local
494 nr_up = tp->nr_up - tp->view.rows + 2; in tty3270_scroll_forward()
495 if (nr_up < 0) in tty3270_scroll_forward()
496 nr_up = 0; in tty3270_scroll_forward()
497 if (nr_up != tp->nr_up) { in tty3270_scroll_forward()
498 tp->nr_up = nr_up; in tty3270_scroll_forward()
513 int nr_up; in tty3270_scroll_backward() local
516 nr_up = tp->nr_up + tp->view.rows - 2; in tty3270_scroll_backward()
517 if (nr_up + tp->view.rows - 2 > tp->nr_lines) in tty3270_scroll_backward()
518 nr_up = tp->nr_lines - tp->view.rows + 2; in tty3270_scroll_backward()
519 if (nr_up != tp->nr_up) { in tty3270_scroll_backward()
520 tp->nr_up = nr_up; in tty3270_scroll_backward()
553 if (tp->nr_up > 0) { in tty3270_read_tasklet()
554 tp->nr_up = 0; in tty3270_read_tasklet()
823 tp->nr_up = 0; in tty3270_resize_work()
1154 if (tp->nr_up + line_nr < tp->view.rows - 2) { in tty3270_convert_line()