Lines Matching refs:t_maxrows

108 		    (sp->t_maxrows - new->rows) * sizeof(SMAP));  in vs_split()
116 sp->t_maxrows = IS_ONELINE(sp) ? 1 : sp->rows - 1; in vs_split()
117 new->t_maxrows = IS_ONELINE(new) ? 1 : new->rows - 1; in vs_split()
132 if (sp->t_rows > sp->t_maxrows) in vs_split()
133 sp->t_rows = sp->t_maxrows; in vs_split()
134 if (sp->t_minrows > sp->t_maxrows) in vs_split()
135 sp->t_minrows = sp->t_maxrows; in vs_split()
139 if (new->t_rows > new->t_maxrows) in vs_split()
140 new->t_rows = new->t_maxrows; in vs_split()
141 if (new->t_minrows > new->t_maxrows) in vs_split()
142 new->t_minrows = new->t_maxrows; in vs_split()
165 if ((sp->defscroll = sp->t_maxrows / 2) == 0) in vs_split()
167 if ((new->defscroll = new->t_maxrows / 2) == 0) in vs_split()
252 new->t_maxrows = sp->t_maxrows; in vs_vsplit()
399 tsp->t_maxrows = tsp->rows - 1; in vs_discard()
401 tsp->defscroll = tsp->t_maxrows / 2; in vs_discard()
746 if (nsp->t_rows > sp->t_maxrows) in vs_swap()
747 nsp->t_rows = nsp->t_maxrows; in vs_swap()
748 if (nsp->t_minrows > sp->t_maxrows) in vs_swap()
749 nsp->t_minrows = nsp->t_maxrows; in vs_swap()
751 nsp->t_rows = nsp->t_maxrows = nsp->t_minrows = nsp->rows - 1; in vs_swap()
754 nsp->defscroll = nsp->t_maxrows / 2; in vs_swap()
811 if (sp->t_maxrows == count) in vs_resize()
813 if (sp->t_maxrows > count) { in vs_resize()
815 count = sp->t_maxrows - count; in vs_resize()
818 count = count - sp->t_maxrows; in vs_resize()
844 if (s->t_maxrows < MINIMUM_SCREEN_ROWS + count) in vs_resize()
855 s->t_maxrows >= MINIMUM_SCREEN_ROWS + count) in vs_resize()
866 if (s->t_maxrows < MINIMUM_SCREEN_ROWS + count) { in vs_resize()
887 if (g->t_minrows == g->t_maxrows) in vs_resize()
889 g->t_maxrows += count; in vs_resize()
894 s->t_maxrows -= count; in vs_resize()
895 if (s->t_minrows > s->t_maxrows) in vs_resize()
896 s->t_minrows = s->t_maxrows; in vs_resize()