Lines Matching refs:ndevs
207 int connects, ndevs, cl_opens; member
276 static int ndevs; variable
1274 ndevs++; in add_devpath()
1295 ndevs--; in rel_devpaths()
1657 tp->ios = calloc(ndevs, sizeof(struct io_info)); in open_ios()
1658 memset(tp->ios, 0, ndevs * sizeof(struct io_info)); in open_ios()
1660 tp->pfds = calloc(ndevs, sizeof(struct pollfd)); in open_ios()
1661 memset(tp->pfds, 0, ndevs * sizeof(struct pollfd)); in open_ios()
1724 for (i = 0; nevs > 0 && i < ndevs; i++, pfd++, iop++) { in handle_pfds_file()
1767 for (i = 0; i < ndevs; i++, pfd++, iop++) { in handle_pfds_netclient()
1802 for (i = 0; i < ndevs; i++, pfd++, iop++) { in handle_pfds_entries()
1856 ndone = poll(tp->pfds, ndevs, to_val); in thread_main()
1867 while (handle_pfds(tp, ndevs, 1) > 0) in thread_main()
2225 if (net_mode != Net_server && ndevs == 0) { in handle_args()
2420 nc->ch->ndevs++; in nc_add_dpp()
2423 memset(dpp->ios, 0, ndevs * sizeof(*iop)); in nc_add_dpp()
2804 if (ndevs > 1 && output_name && strcmp(output_name, "-") != 0) { in main()