Lines Matching refs:nfds
177 int nfds; in uv__io_poll() local
184 if (loop->nfds == 0) { in uv__io_poll()
286 nfds = kevent(loop->backend_fd, in uv__io_poll()
293 if (nfds == -1) in uv__io_poll()
295 else if (nfds == 0) in uv__io_poll()
308 if (nfds == 0 || nfds == -1) { in uv__io_poll()
321 } else if (nfds == 0) { in uv__io_poll()
334 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
335 for (i = 0; i < nfds; i++) { in uv__io_poll()
453 if (nfds == ARRAY_SIZE(events) && --count != 0) { in uv__io_poll()
482 uintptr_t nfds; in uv__platform_invalidate_fd() local
488 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
493 for (i = 0; i < nfds; i++) in uv__platform_invalidate_fd()