Lines Matching refs:__ASSERT
46 __ASSERT(mode == K_POLL_MODE_NOTIFY_ONLY, in k_poll_event_init()
48 __ASSERT(type < (BIT(_POLL_NUM_TYPES)), "invalid type\n"); in k_poll_event_init()
49 __ASSERT(obj != NULL, "must provide an object\n"); in k_poll_event_init()
100 __ASSERT(false, "invalid event type (0x%x)\n", event->type); in is_condition_met()
142 __ASSERT(event->sem != NULL, "invalid semaphore\n"); in register_event()
146 __ASSERT(event->queue != NULL, "invalid queue\n"); in register_event()
150 __ASSERT(event->signal != NULL, "invalid poll signal\n"); in register_event()
154 __ASSERT(event->msgq != NULL, "invalid message queue\n"); in register_event()
159 __ASSERT(event->pipe != NULL, "invalid pipe\n"); in register_event()
167 __ASSERT(false, "invalid event type\n"); in register_event()
183 __ASSERT(event->sem != NULL, "invalid semaphore\n"); in clear_event_registration()
187 __ASSERT(event->queue != NULL, "invalid queue\n"); in clear_event_registration()
191 __ASSERT(event->signal != NULL, "invalid poll signal\n"); in clear_event_registration()
195 __ASSERT(event->msgq != NULL, "invalid message queue\n"); in clear_event_registration()
200 __ASSERT(event->pipe != NULL, "invalid pipe\n"); in clear_event_registration()
208 __ASSERT(false, "invalid event type\n"); in clear_event_registration()
269 __ASSERT(thread != NULL, "poller should have a thread\n"); in signal_poller()
298 __ASSERT(!arch_is_in_isr(), ""); in z_impl_k_poll()
299 __ASSERT(events != NULL, "NULL events\n"); in z_impl_k_poll()
300 __ASSERT(num_events >= 0, "<0 events\n"); in z_impl_k_poll()
675 __ASSERT(work_q != NULL, "NULL work_q\n"); in k_work_poll_submit_to_queue()
676 __ASSERT(work != NULL, "NULL work\n"); in k_work_poll_submit_to_queue()
677 __ASSERT(events != NULL, "NULL events\n"); in k_work_poll_submit_to_queue()
678 __ASSERT(num_events > 0, "zero events\n"); in k_work_poll_submit_to_queue()
730 __ASSERT(num_events == events_registered, in k_work_poll_submit_to_queue()