Home
last modified time | relevance | path

Searched refs:maxfds (Results 1 – 2 of 2) sorted by relevance

/lighttpd1.4/src/
H A Dfdevent_impl.c169 uint32_t maxfds = (0 != *max_fds) in fdevent_init() local
182 if (maxfds > (uint32_t)FD_SETSIZE - 200) in fdevent_init()
183 maxfds = (uint32_t)FD_SETSIZE - 200; in fdevent_init()
186 *max_fds = (int)maxfds; in fdevent_init()
187 ++maxfds; /*(+1 for event-handler fd)*/ in fdevent_init()
193 ev->fdarray = ck_calloc(maxfds, sizeof(*ev->fdarray)); in fdevent_init()
194 ev->maxfds = maxfds; in fdevent_init()
249 for (uint32_t i = 0; i < ev->maxfds; ++i) { in fdevent_free()
379 if (-1 == (ev->epoll_fd = epoll_create(ev->maxfds))) return -1; in fdevent_linux_sysepoll_init()
514 ev->kq_results = ck_calloc(ev->maxfds, sizeof(*ev->kq_results)); in fdevent_freebsd_kqueue_init()
[all …]
H A Dfdevent_impl.h85 uint32_t maxfds; member