/Zephyr-latest/tests/kernel/timer/timepoints/src/ |
D | main.c | 19 zassert_true(K_TIMEOUT_EQ(remaining, K_NO_WAIT)); in ZTEST() 25 zassert_true(K_TIMEOUT_EQ(remaining, K_FOREVER)); in ZTEST() 35 zassert_true(K_TIMEOUT_EQ(remaining, K_NO_WAIT)); in ZTEST()
|
/Zephyr-latest/kernel/ |
D | kheap.c | 75 __ASSERT(!arch_is_in_isr() || K_TIMEOUT_EQ(timeout, K_NO_WAIT), ""); in k_heap_aligned_alloc() 83 (ret != NULL) || K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in k_heap_aligned_alloc() 147 __ASSERT(!arch_is_in_isr() || K_TIMEOUT_EQ(timeout, K_NO_WAIT), ""); in k_heap_realloc() 153 (ret != NULL) || K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in k_heap_realloc()
|
D | nothread.c | 30 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in z_impl_k_sleep()
|
D | timer.c | 55 if (!K_TIMEOUT_EQ(timer->period, K_NO_WAIT) && in z_timer_expiration_handler() 56 !K_TIMEOUT_EQ(timer->period, K_FOREVER)) { in z_timer_expiration_handler() 151 if (K_TIMEOUT_EQ(duration, K_FOREVER)) { in z_impl_k_timer_start()
|
D | timeout.c | 102 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in z_add_timeout() 297 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in sys_timepoint_calc() 299 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in sys_timepoint_calc()
|
D | sem.c | 137 K_TIMEOUT_EQ(timeout, K_NO_WAIT)), ""); in z_impl_k_sem_take() 150 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_sem_take()
|
D | msg_q.c | 126 __ASSERT(!arch_is_in_isr() || K_TIMEOUT_EQ(timeout, K_NO_WAIT), ""); in z_impl_k_msgq_put() 165 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_msgq_put() 218 __ASSERT(!arch_is_in_isr() || K_TIMEOUT_EQ(timeout, K_NO_WAIT), ""); in z_impl_k_msgq_get() 263 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_msgq_get()
|
D | pipes.c | 393 K_TIMEOUT_EQ(timeout, K_NO_WAIT)), ""); in z_impl_k_pipe_put() 428 (K_TIMEOUT_EQ(timeout, K_NO_WAIT))) { in z_impl_k_pipe_put() 471 (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) || in z_impl_k_pipe_put() 569 (K_TIMEOUT_EQ(timeout, K_NO_WAIT))) { in pipe_get_internal() 658 (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) || in pipe_get_internal() 703 K_TIMEOUT_EQ(timeout, K_NO_WAIT)), ""); in z_impl_k_pipe_get()
|
D | events.c | 248 K_TIMEOUT_EQ(timeout, K_NO_WAIT)), ""); in k_event_wait_internal() 278 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in k_event_wait_internal()
|
D | poll.c | 305 K_TIMEOUT_EQ(timeout, K_NO_WAIT)); in z_impl_k_poll() 325 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_poll() 725 if (work->poller.is_polling && !K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in k_work_poll_submit_to_queue() 734 if (!K_TIMEOUT_EQ(timeout, K_FOREVER)) { in k_work_poll_submit_to_queue()
|
D | mailbox.c | 270 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in mbox_message_put() 417 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in k_mbox_get()
|
D | stack.c | 170 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in z_impl_k_stack_pop()
|
/Zephyr-latest/include/zephyr/ |
D | sys_clock.h | 80 #define K_TIMEOUT_EQ(a, b) ((a).ticks == (b).ticks) macro 291 timepoint.wait = !K_TIMEOUT_EQ(timeout, Z_TIMEOUT_NO_WAIT); in sys_timepoint_calc() 320 return K_TIMEOUT_EQ(sys_timepoint_timeout(timepoint), Z_TIMEOUT_NO_WAIT); in sys_timepoint_expired()
|
/Zephyr-latest/tests/drivers/timer/nrf_grtc_timer/src/ |
D | main.c | 85 zassert_true(K_TIMEOUT_EQ(K_TICKS(compare_value), K_TICKS(test_ticks)), in ZTEST() 123 zassert_true(K_TIMEOUT_EQ(K_TICKS(compare_value), K_TICKS(test_ticks)), in ZTEST()
|
/Zephyr-latest/lib/os/zvfs/ |
D | zvfs_poll.c | 96 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in zvfs_poll_internal() 163 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in zvfs_poll_internal()
|
/Zephyr-latest/tests/subsys/logging/log_blocking/src/ |
D | main.c | 219 __ASSERT(K_TIMEOUT_EQ(K_NO_WAIT, K_MSEC(-1)), "K_NO_WAIT should be equal to K_MSEC(-1)"); in setup() 220 __ASSERT(!K_TIMEOUT_EQ(K_FOREVER, K_MSEC(-1)), in setup()
|
/Zephyr-latest/subsys/input/ |
D | input.c | 55 if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) && in input_report()
|
/Zephyr-latest/tests/net/socket/socketpair/src/ |
D | poll.c | 75 if (!(K_TIMEOUT_EQ(ctx.delay, K_NO_WAIT) in close_fun() 76 || K_TIMEOUT_EQ(ctx.delay, K_FOREVER))) { in close_fun() 213 if (!(K_TIMEOUT_EQ(ctx.delay, K_NO_WAIT) in rw_fun() 214 || K_TIMEOUT_EQ(ctx.delay, K_FOREVER))) { in rw_fun()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | dhcpv4.c | 109 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in timepoint_to_s() 113 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in timepoint_to_s()
|
/Zephyr-latest/tests/kernel/mbox/mbox_usage/src/ |
D | main.c | 67 if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in msg_receiver() 69 } else if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in msg_receiver()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_offload.h | 38 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT)) { in timeout_to_int32() 40 } else if (K_TIMEOUT_EQ(timeout, K_FOREVER)) { in timeout_to_int32()
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_rpmsg_static_vrings.c | 692 if (!K_TIMEOUT_EQ(wait, K_FOREVER) && !K_TIMEOUT_EQ(wait, K_NO_WAIT)) { in get_tx_buffer() 709 K_TIMEOUT_EQ(wait, K_FOREVER)); in get_tx_buffer() 710 } while ((!payload) && K_TIMEOUT_EQ(wait, K_FOREVER)); in get_tx_buffer()
|
/Zephyr-latest/kernel/include/ |
D | kthread.h | 49 if (K_TIMEOUT_EQ(delay, K_NO_WAIT)) { in thread_schedule_new()
|
/Zephyr-latest/subsys/testsuite/ztest/src/ |
D | ztress.c | 247 if (K_TIMEOUT_EQ(t, K_NO_WAIT) == false) { in sleep() 300 if (K_TIMEOUT_EQ(timeout, K_NO_WAIT) == false) { in ztress_init()
|
/Zephyr-latest/lib/posix/options/ |
D | mqueue.c | 459 errno = K_TIMEOUT_EQ(timeout, K_NO_WAIT) ? EAGAIN : ETIMEDOUT; in send_message() 501 errno = K_TIMEOUT_EQ(timeout, K_NO_WAIT) ? EAGAIN : ETIMEDOUT; in receive_message()
|