Searched refs:devpollop (Results 1 – 1 of 1) sorted by relevance
56 struct devpollop { struct85 devpoll_commit(struct devpollop *devpollop) in devpoll_commit() argument91 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() argument103 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 …]