Lines Matching refs:pfd
752 struct zsock_pollfd *const pfd, in zsock_poll_prepare_ctx() argument
761 if (pfd->events & ZSOCK_POLLIN) { in zsock_poll_prepare_ctx()
778 if (pfd->events & ZSOCK_POLLOUT) { in zsock_poll_prepare_ctx()
826 struct zsock_pollfd *const pfd, in zsock_poll_update_ctx() argument
835 if (pfd->events & ZSOCK_POLLOUT) { in zsock_poll_update_ctx()
837 pfd->revents |= ZSOCK_POLLHUP; in zsock_poll_update_ctx()
855 pfd->revents |= ZSOCK_POLLOUT; in zsock_poll_update_ctx()
869 pfd->revents |= ZSOCK_POLLHUP; in zsock_poll_update_ctx()
875 if (pfd->events & ZSOCK_POLLIN) { in zsock_poll_update_ctx()
877 pfd->revents |= ZSOCK_POLLIN; in zsock_poll_update_ctx()
882 pfd->revents |= ZSOCK_POLLIN; in zsock_poll_update_ctx()
896 pfd->revents |= ZSOCK_POLLIN; in zsock_poll_update_ctx()
915 struct zsock_pollfd *pfd; in spair_ioctl() local
977 pfd = va_arg(args, struct zsock_pollfd *); in spair_ioctl()
981 res = zsock_poll_prepare_ctx(obj, pfd, pev, pev_end); in spair_ioctl()
986 pfd = va_arg(args, struct zsock_pollfd *); in spair_ioctl()
989 res = zsock_poll_update_ctx(obj, pfd, pev); in spair_ioctl()