Lines Matching refs:nr_up
50 int nr_up; /* # lines up in history. */ member
95 str = (cp->nr_up != 0) ? "History" : "Running"; in con3270_update_status()
154 nr = cp->view.rows - 2 + cp->nr_up; in con3270_rebuild_update()
186 if (cp->nr_up != 0 && cp->nr_up + cp->view.rows > cp->nr_lines) { in con3270_alloc_string()
187 cp->nr_up = cp->nr_lines - cp->view.rows + 1; in con3270_alloc_string()
299 int nr_up, deactivate; in con3270_read_tasklet() local
303 nr_up = cp->nr_up; in con3270_read_tasklet()
308 nr_up = 0; in con3270_read_tasklet()
318 nr_up += cp->view.rows - 2; in con3270_read_tasklet()
319 if (nr_up + cp->view.rows - 1 > cp->nr_lines) { in con3270_read_tasklet()
320 nr_up = cp->nr_lines - cp->view.rows + 1; in con3270_read_tasklet()
321 if (nr_up < 0) in con3270_read_tasklet()
322 nr_up = 0; in con3270_read_tasklet()
326 nr_up -= cp->view.rows - 2; in con3270_read_tasklet()
327 if (nr_up < 0) in con3270_read_tasklet()
328 nr_up = 0; in con3270_read_tasklet()
331 if (nr_up != cp->nr_up) { in con3270_read_tasklet()
332 cp->nr_up = nr_up; in con3270_read_tasklet()
509 cp->nr_up = 0; in con3270_write()
551 cp->nr_up = 0; in con3270_flush()