Home
last modified time | relevance | path

Searched refs:poll_events (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/lib/os/zvfs/
Dzvfs_poll.c26 struct k_poll_event poll_events[CONFIG_ZVFS_POLL_MAX]; in zvfs_poll_internal() local
28 struct k_poll_event *pev_end = poll_events + ARRAY_SIZE(poll_events); in zvfs_poll_internal()
38 pev = poll_events; in zvfs_poll_internal()
109 ret = k_poll(poll_events, pev - poll_events, timeout); in zvfs_poll_internal()
119 pev = poll_events; in zvfs_poll_internal()
/Zephyr-latest/kernel/
Dpoll.c143 add_event(&event->sem->poll_events, event, poller); in register_event()
147 add_event(&event->queue->poll_events, event, poller); in register_event()
151 add_event(&event->signal->poll_events, event, poller); in register_event()
155 add_event(&event->msgq->poll_events, event, poller); in register_event()
160 add_event(&event->pipe->poll_events, event, poller); in register_event()
482 sys_dlist_init(&sig->poll_events); in z_impl_k_poll_signal_init()
535 poll_event = (struct k_poll_event *)sys_dlist_get(&sig->poll_events); in z_impl_k_poll_signal_raise()
Dsem.c64 sys_dlist_init(&sem->poll_events); in z_impl_k_sem_init()
88 z_handle_obj_poll_events(&sem->poll_events, K_POLL_STATE_SEM_AVAILABLE); in handle_poll_events()
Dmsg_q.c35 z_handle_obj_poll_events(&msgq->poll_events, state); in handle_poll_events()
53 sys_dlist_init(&msgq->poll_events); in k_msgq_init()
Dqueue.c64 sys_dlist_init(&queue->poll_events); in z_impl_k_queue_init()
90 z_handle_obj_poll_events(&queue->poll_events, state); in handle_poll_events()
Dpipes.c54 sys_dlist_init(&pipe->poll_events); in k_pipe_init()
102 z_handle_obj_poll_events(&pipe->poll_events, K_POLL_STATE_PIPE_DATA_AVAILABLE); in handle_poll_events()
/Zephyr-latest/tests/kernel/poll/src/
Dtest_poll.c789 static struct k_poll_event poll_events[1]; in high_prio_main() local
792 k_poll_event_init(&poll_events[0], K_POLL_TYPE_MSGQ_DATA_AVAILABLE, K_POLL_MODE_NOTIFY_ONLY, in high_prio_main()
794 (void)k_poll(poll_events, 1, K_FOREVER); in high_prio_main()
796 zassert_equal(poll_events[0].state, K_POLL_STATE_MSGQ_DATA_AVAILABLE); in high_prio_main()
/Zephyr-latest/drivers/net/
Dnsos_sockets.c564 struct k_poll_event poll_events[1]; in nsos_wait_for_poll() local
565 struct k_poll_event *pev = poll_events; in nsos_wait_for_poll()
566 struct k_poll_event *pev_end = poll_events + ARRAY_SIZE(poll_events); in nsos_wait_for_poll()
585 ret = k_poll(poll_events, ARRAY_SIZE(poll_events), timeout); in nsos_wait_for_poll()
593 pev = poll_events; in nsos_wait_for_poll()
/Zephyr-latest/include/zephyr/
Dkernel.h64 .poll_events = SYS_DLIST_STATIC_INIT(&obj.poll_events),
65 #define Z_DECL_POLL_EVENT sys_dlist_t poll_events;
5843 sys_dlist_t poll_events; member
5857 .poll_events = SYS_DLIST_STATIC_INIT(&obj.poll_events), \
/Zephyr-latest/doc/releases/
Drelease-notes-2.3.rst1419 * :github:`11998` - intermittent failures in tests/kernel/common: test_timeout_order: (poll_events[…
Drelease-notes-1.14.rst1803 * :github:`11998` - intermittent failures in tests/kernel/common: test_timeout_order: (poll_events[…