Home
last modified time | relevance | path

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

/external/libevent/
Ddevpoll.c53 struct devpollop { struct
82 devpoll_commit(struct devpollop *devpollop) in devpoll_commit() argument
88 if (pwrite(devpollop->dpfd, devpollop->changes, in devpoll_commit()
89 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit()
92 devpollop->nchanges = 0; in devpoll_commit()
97 devpoll_queue(struct devpollop *devpollop, int fd, int events) { in devpoll_queue() argument
100 if (devpollop->nchanges >= devpollop->nevents) { in devpoll_queue()
105 if (devpoll_commit(devpollop) != 0) in devpoll_queue()
109 pfd = &devpollop->changes[devpollop->nchanges++]; in devpoll_queue()
122 struct devpollop *devpollop; in devpoll_init() local
[all …]