Home
last modified time | relevance | path

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

/external/libevent/
Ddevpoll.c56 struct devpollop { struct
85 devpoll_commit(struct devpollop *devpollop) in devpoll_commit() argument
91 if (pwrite(devpollop->dpfd, devpollop->changes, in devpoll_commit()
92 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit()
95 devpollop->nchanges = 0; in devpoll_commit()
100 devpoll_queue(struct devpollop *devpollop, int fd, int events) { in devpoll_queue() argument
103 if (devpollop->nchanges >= devpollop->nevents) { in devpoll_queue()
108 if (devpoll_commit(devpollop) != 0) in devpoll_queue()
112 pfd = &devpollop->changes[devpollop->nchanges++]; in devpoll_queue()
125 struct devpollop *devpollop; in devpoll_init() local
[all …]