Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libevent/
Ddevpoll.c58 struct event *evread; member
250 struct event *evread = NULL, *evwrite = NULL; in devpoll_dispatch() local
261 evread = evdp->evread; in devpoll_dispatch()
273 if (evread != NULL && !(evread->ev_events & EV_PERSIST)) in devpoll_dispatch()
274 event_del(evread); in devpoll_dispatch()
275 if (evwrite != NULL && evwrite != evread && in devpoll_dispatch()
279 if (evread != NULL) in devpoll_dispatch()
280 event_active(evread, EV_READ, 1); in devpoll_dispatch()
316 if (evdp->evread && evdp->evread != ev) { in devpoll_add()
336 evdp->evread = ev; in devpoll_add()
[all …]
Depoll.c60 struct event *evread; member
216 struct event *evread = NULL, *evwrite = NULL; in epoll_dispatch() local
224 evread = evep->evread; in epoll_dispatch()
228 evread = evep->evread; in epoll_dispatch()
236 if (!(evread||evwrite)) in epoll_dispatch()
239 if (evread != NULL) in epoll_dispatch()
240 event_active(evread, EV_READ, 1); in epoll_dispatch()
283 if (evep->evread != NULL) { in epoll_add()
304 evep->evread = ev; in epoll_add()
341 } else if ((events & EPOLLOUT) && evep->evread != NULL) { in epoll_del()
[all …]