Home
last modified time | relevance | path

Searched refs:epollop (Results 1 – 3 of 3) sorted by relevance

/netbsd/src/external/bsd/libevent/dist/
Depoll.c89 struct epollop { struct
147 struct epollop *epollop; in epoll_init() local
164 if (!(epollop = mm_calloc(1, sizeof(struct epollop)))) { in epoll_init()
169 epollop->epfd = epfd; in epoll_init()
172 epollop->events = mm_calloc(INITIAL_NEVENT, sizeof(struct epoll_event)); in epoll_init()
173 if (epollop->events == NULL) { in epoll_init()
174 mm_free(epollop); in epoll_init()
178 epollop->nevents = INITIAL_NEVENT; in epoll_init()
197 … fd = epollop->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK|TFD_CLOEXEC); in epoll_init()
198 if (epollop->timerfd >= 0) { in epoll_init()
[all …]
/netbsd/src/external/bsd/ntp/dist/sntp/libevent/
Depoll.c88 struct epollop { struct
146 struct epollop *epollop; in epoll_init() local
163 if (!(epollop = mm_calloc(1, sizeof(struct epollop)))) { in epoll_init()
168 epollop->epfd = epfd; in epoll_init()
171 epollop->events = mm_calloc(INITIAL_NEVENT, sizeof(struct epoll_event)); in epoll_init()
172 if (epollop->events == NULL) { in epoll_init()
173 mm_free(epollop); in epoll_init()
177 epollop->nevents = INITIAL_NEVENT; in epoll_init()
196 … fd = epollop->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK|TFD_CLOEXEC); in epoll_init()
197 if (epollop->timerfd >= 0) { in epoll_init()
[all …]
/netbsd/src/external/bsd/ntp/dist/
DCommitLog105299 regress output in that case, and set epollop->timerfd = -1. Suggested
105306 regress output in that case, and set epollop->timerfd = -1. Suggested