Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_devpoll_engine.c425 pfd->fd = ev->fd; in nxt_devpoll_commit_changes()
427 pfd->revents = 0; in nxt_devpoll_commit_changes()
499 struct pollfd pfd; in nxt_devpoll_remove() local
501 pfd.fd = fd; in nxt_devpoll_remove()
502 pfd.events = 0; in nxt_devpoll_remove()
503 pfd.revents = 0; in nxt_devpoll_remove()
526 pfd.fd = fd; in nxt_devpoll_remove()
527 pfd.events = POLLREMOVE; in nxt_devpoll_remove()
528 pfd.revents = 0; in nxt_devpoll_remove()
564 struct pollfd *pfd; in nxt_devpoll_poll() local
[all …]
H A Dnxt_poll_engine.c390 struct pollfd *pfd; in nxt_poll_set_add() local
404 engine->u.poll.set = pfd; in nxt_poll_set_add()
418 pfd->fd = ev->fd; in nxt_poll_set_add()
419 pfd->events = events; in nxt_poll_set_add()
420 pfd->revents = 0; in nxt_poll_set_add()
507 struct pollfd *pfd; in nxt_poll() local
537 pfd = &engine->u.poll.set[i]; in nxt_poll()
538 events = pfd->revents; in nxt_poll()
544 fd = pfd->fd; in nxt_poll()
554 pfd->fd = -1; in nxt_poll()
[all …]
H A Dnxt_pollset_engine.c485 struct pollfd pfd; in nxt_pollset_remove() local
488 pfd.fd = fd; in nxt_pollset_remove()
489 pfd.events = 0; in nxt_pollset_remove()
490 pfd.revents = 0; in nxt_pollset_remove()
492 n = pollset_query(engine->u.pollset.ps, &pfd); in nxt_pollset_remove()
552 struct pollfd *pfd; in nxt_pollset_poll() local
586 pfd = &engine->u.pollset.events[i]; in nxt_pollset_poll()
587 fd = pfd->fd; in nxt_pollset_poll()
588 events = pfd->revents; in nxt_pollset_poll()
597 engine->u.pollset.ps, fd, pfd->events, events); in nxt_pollset_poll()
[all …]