Lines Matching refs:smbstat_ws
295 static struct winsize smbstat_ws; variable
467 (smbstat_rows == 0) || (smbstat_rows >= smbstat_ws.ws_row)) { in smbstat_print_counters()
494 (smbstat_rows == 0) || (smbstat_rows >= smbstat_ws.ws_row)) { in smbstat_print_throughput()
519 (smbstat_rows == 0) || (smbstat_rows >= smbstat_ws.ws_row)) { in smbstat_print_utilization()
1214 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &smbstat_ws) != -1) { in smbstat_termio_init()
1215 if (smbstat_ws.ws_row == 0) { in smbstat_termio_init()
1218 smbstat_ws.ws_row = atoi(envp); in smbstat_termio_init()
1221 if (smbstat_ws.ws_col == 0) { in smbstat_termio_init()
1224 smbstat_ws.ws_row = atoi(envp); in smbstat_termio_init()
1227 if (smbstat_ws.ws_col == 0) in smbstat_termio_init()
1228 smbstat_ws.ws_col = 80; in smbstat_termio_init()
1229 if (smbstat_ws.ws_row == 0) in smbstat_termio_init()
1230 smbstat_ws.ws_row = 25; in smbstat_termio_init()