Searched defs:nfds (Results 1 - 3 of 3) sorted by relevance

/lxc/src/lxc/
H A Dmainloop.c43 int i, nfds; local
49 nfds = epoll_wait(descr->epfd, events, MAX_EVENTS, timeout_ms);
50 if (nfds < 0) {
56 for (i = 0; i < nfds; i++) {
67 if (nfds == 0 && timeout_ms != 0)
H A Dmonitor.c255 int lxc_monitor_read_fdset(struct pollfd *fds, nfds_t nfds, struct lxc_msg *msg, argument
261 ret = poll(fds, nfds, timeout * 1000);
270 for (i = 0; i < nfds; i++) {
/lxc/src/lxc/tools/
H A Dlxc_monitor.c74 static void close_fds(struct pollfd *fds, nfds_t nfds) argument
78 if (nfds < 1)
81 for (i = 0; i < nfds; ++i) {
92 nfds_t nfds; local
153 nfds = my_args.lxcpath_cnt;
154 for (i = 0; i < nfds; i++) {
172 if (lxc_monitor_read_fdset(fds, nfds, &msg, -1) < 0) {
197 close_fds(fds, nfds);

Completed in 7 milliseconds