Home
last modified time | relevance | path

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

/external/chromium/third_party/libevent/
Depoll.c64 struct epollop { struct
113 struct epollop *epollop; in epoll_init() local
128 if (!(epollop = calloc(1, sizeof(struct epollop)))) in epoll_init()
131 epollop->epfd = epfd; in epoll_init()
134 epollop->events = malloc(INITIAL_NEVENTS * sizeof(struct epoll_event)); in epoll_init()
135 if (epollop->events == NULL) { in epoll_init()
136 free(epollop); in epoll_init()
139 epollop->nevents = INITIAL_NEVENTS; in epoll_init()
141 epollop->fds = calloc(INITIAL_NFILES, sizeof(struct evepoll)); in epoll_init()
142 if (epollop->fds == NULL) { in epoll_init()
[all …]