Lines Matching refs:ndevs
207 int connects, ndevs, cl_opens; member
276 static int ndevs; variable
1229 dpp->idx = ndevs++; in add_devpath()
1250 ndevs--; in rel_devpaths()
1602 tp->ios = calloc(ndevs, sizeof(struct io_info)); in open_ios()
1603 memset(tp->ios, 0, ndevs * sizeof(struct io_info)); in open_ios()
1605 tp->pfds = calloc(ndevs, sizeof(struct pollfd)); in open_ios()
1606 memset(tp->pfds, 0, ndevs * sizeof(struct pollfd)); in open_ios()
1669 for (i = 0; nevs > 0 && i < ndevs; i++, pfd++, iop++) { in handle_pfds_file()
1713 for (i = 0; i < ndevs; i++, pfd++, iop++, sp++) { in handle_pfds_netclient()
1748 for (i = 0; i < ndevs; i++, pfd++, iop++) { in handle_pfds_entries()
1802 ndone = poll(tp->pfds, ndevs, to_val); in thread_main()
1813 while (handle_pfds(tp, ndevs, 1) > 0) in thread_main()
2131 if (net_mode != Net_server && ndevs == 0) { in handle_args()
2318 nc->ch->ndevs++; in nc_add_dpp()
2321 memset(dpp->ios, 0, ndevs * sizeof(*iop)); in nc_add_dpp()