Searched refs:event_list (Results 1 - 5 of 5) sorted by relevance

/tldk/app/nginx/src/event/modules/
H A Dngx_poll_module.c24 static struct pollfd *event_list; variable in typeref:struct:pollfd
72 if (event_list == NULL) {
86 if (event_list) {
87 ngx_memcpy(list, event_list, sizeof(ngx_event_t *) * nevents);
88 ngx_free(event_list);
91 event_list = list;
107 ngx_free(event_list);
109 event_list = NULL;
146 event_list[nevents].fd = c->fd;
147 event_list[nevent
[all...]
H A Dngx_eventport_module.c151 static port_event_t *event_list; variable
232 if (event_list) {
233 ngx_free(event_list);
236 event_list = ngx_alloc(sizeof(port_event_t) * epcf->events,
238 if (event_list == NULL) {
304 ngx_free(event_list);
306 event_list = NULL;
463 n = port_getn(ep, event_list, (u_int) nevents, &events, tp);
499 if (event_list[i].portev_source == PORT_SOURCE_TIMER) {
504 ev = event_list[
[all...]
H A Dngx_kqueue_module.c45 static struct kevent *event_list; variable in typeref:struct:kevent
172 if (event_list) {
173 ngx_free(event_list);
176 event_list = ngx_alloc(kcf->events * sizeof(struct kevent), cycle->log);
177 if (event_list == NULL) {
272 ngx_free(event_list);
275 event_list = NULL;
536 events = kevent(ngx_kqueue, change_list, n, event_list, (int) nevents, tp);
577 ngx_kqueue_dump_event(cycle->log, &event_list[i]);
579 if (event_list[
[all...]
H A Dngx_devpoll_module.c53 static struct pollfd *change_list, *event_list; variable in typeref:struct:
171 if (event_list) {
172 ngx_free(event_list);
175 event_list = ngx_alloc(sizeof(struct pollfd) * dpcf->events,
177 if (event_list == NULL) {
205 ngx_free(event_list);
209 event_list = NULL;
371 dvp.dp_fds = event_list;
412 fd = event_list[i].fd;
413 revents = event_list[
[all...]
H A Dngx_epoll_module.c134 static struct epoll_event *event_list; variable in typeref:struct:epoll_event
354 if (event_list) {
355 ngx_free(event_list);
358 event_list = ngx_alloc(sizeof(struct epoll_event) * epcf->events,
360 if (event_list == NULL) {
571 ngx_free(event_list);
573 event_list = NULL;
800 events = epoll_wait(ep, event_list, (int) nevents, timer);
837 c = event_list[i].data.ptr;
856 revents = event_list[
[all...]

Completed in 6 milliseconds