Lines Matching full:row
162 int row; in labeliostat() local
164 row = 0; in labeliostat()
165 wmove(wnd, row, 0); wclrtobot(wnd); in labeliostat()
166 mvwaddstr(wnd, row++, INSET, in labeliostat()
168 mvwaddstr(wnd, row++, 0, "cpu user|"); in labeliostat()
169 mvwaddstr(wnd, row++, 0, " nice|"); in labeliostat()
170 mvwaddstr(wnd, row++, 0, " system|"); in labeliostat()
171 mvwaddstr(wnd, row++, 0, "interrupt|"); in labeliostat()
172 mvwaddstr(wnd, row++, 0, " idle|"); in labeliostat()
174 row = numlabels(row + 1); in labeliostat()
176 row = barlabels(row + 1); in labeliostat()
180 numlabels(int row) in numlabels() argument
194 linesperregion = (getmaxy(wnd) - 1 - row - regions) / regions; in numlabels()
205 _col = INSET, row += linesperregion + 1; in numlabels()
206 if (row > getmaxy(wnd) - 1 - (linesperregion + 1)) in numlabels()
211 mvwaddstr(wnd, row, _col + 4, tmpstr); in numlabels()
212 mvwaddstr(wnd, row + 1, _col, " KB/t tps MB/s "); in numlabels()
216 row += linesperregion + 1; in numlabels()
217 return (row); in numlabels()
221 barlabels(int row) in barlabels() argument
226 mvwaddstr(wnd, row++, INSET, in barlabels()
231 if (row > getmaxy(wnd) - 1 - linesperregion) in barlabels()
235 mvwprintw(wnd, row++, 0, "%-5.5s MB/s|", in barlabels()
237 mvwaddstr(wnd, row++, 0, " tps|"); in barlabels()
239 mvwaddstr(wnd, row++, 0, " KB/t|"); in barlabels()
241 return (row); in barlabels()
248 int i, row, _col; in showiostat() local
259 row = 1; in showiostat()
261 stat1(row++, i); in showiostat()
263 row += 2; in showiostat()
266 if (row > getmaxy(wnd) - linesperregion) in showiostat()
268 row = devstats(row, INSET, i); in showiostat()
273 wmove(wnd, row + linesperregion, 0); in showiostat()
275 wmove(wnd, row + 3, 0); in showiostat()
280 _col = INSET, row += linesperregion + 1; in showiostat()
281 if (row > getmaxy(wnd) - 1 - (linesperregion + 1)) in showiostat()
283 wmove(wnd, row + linesperregion, 0); in showiostat()
285 wmove(wnd, row + 3, 0); in showiostat()
288 (void) devstats(row + 3, _col, i); in showiostat()
294 devstats(int row, int _col, int dn) in devstats() argument
313 mvwprintw(wnd, row, _col, " %5.2Lf %3.0Lf %5.2Lf ", in devstats()
316 return(row); in devstats()
318 wmove(wnd, row++, _col); in devstats()
320 wmove(wnd, row++, _col); in devstats()
323 wmove(wnd, row++, _col); in devstats()
327 return(row); in devstats()
332 stat1(int row, int o) in stat1() argument
342 wmove(wnd, row, INSET); in stat1()