Lines Matching refs:pfd
26 struct zsock_pollfd *pfd, in eventfd_poll_prepare() argument
30 if (pfd->events & ZSOCK_POLLIN) { in eventfd_poll_prepare()
43 if (pfd->events & ZSOCK_POLLOUT) { in eventfd_poll_prepare()
60 struct zsock_pollfd *pfd, in eventfd_poll_update() argument
65 if (pfd->events & ZSOCK_POLLIN) { in eventfd_poll_update()
67 pfd->revents |= ZSOCK_POLLIN; in eventfd_poll_update()
72 if (pfd->events & ZSOCK_POLLOUT) { in eventfd_poll_update()
74 pfd->revents |= ZSOCK_POLLOUT; in eventfd_poll_update()
215 struct zsock_pollfd *pfd; in eventfd_ioctl_op() local
219 pfd = va_arg(args, struct zsock_pollfd *); in eventfd_ioctl_op()
223 return eventfd_poll_prepare(obj, pfd, pev, pev_end); in eventfd_ioctl_op()
227 struct zsock_pollfd *pfd; in eventfd_ioctl_op() local
230 pfd = va_arg(args, struct zsock_pollfd *); in eventfd_ioctl_op()
233 return eventfd_poll_update(obj, pfd, pev); in eventfd_ioctl_op()