Lines Matching refs:pfd
51 struct zsock_pollfd *pfd, in zvfs_eventfd_poll_prepare() argument
55 if (pfd->events & ZSOCK_POLLIN) { in zvfs_eventfd_poll_prepare()
68 if (pfd->events & ZSOCK_POLLOUT) { in zvfs_eventfd_poll_prepare()
85 struct zsock_pollfd *pfd, in zvfs_eventfd_poll_update() argument
88 if (pfd->events & ZSOCK_POLLIN) { in zvfs_eventfd_poll_update()
89 pfd->revents |= ZSOCK_POLLIN * (efd->cnt > 0); in zvfs_eventfd_poll_update()
93 if (pfd->events & ZSOCK_POLLOUT) { in zvfs_eventfd_poll_update()
94 pfd->revents |= ZSOCK_POLLOUT * (efd->cnt < UINT64_MAX - 1); in zvfs_eventfd_poll_update()
259 struct zsock_pollfd *pfd; in zvfs_eventfd_ioctl_op() local
263 pfd = va_arg(args, struct zsock_pollfd *); in zvfs_eventfd_ioctl_op()
267 ret = zvfs_eventfd_poll_prepare(obj, pfd, pev, pev_end); in zvfs_eventfd_ioctl_op()
271 struct zsock_pollfd *pfd; in zvfs_eventfd_ioctl_op() local
274 pfd = va_arg(args, struct zsock_pollfd *); in zvfs_eventfd_ioctl_op()
277 ret = zvfs_eventfd_poll_update(obj, pfd, pev); in zvfs_eventfd_ioctl_op()