/Zephyr-latest/kernel/ |
D | nothread.c | 33 SYS_PORT_TRACING_FUNC_EXIT(k_thread, sleep, timeout, (int32_t) K_TICKS_FOREVER); in z_impl_k_sleep() 35 return (int32_t) K_TICKS_FOREVER; in z_impl_k_sleep()
|
D | timeout.c | 22 ? K_TICKS_FOREVER : INT_MAX) 202 int32_t ret = (int32_t) K_TICKS_FOREVER; in z_get_next_timeout_expiry()
|
/Zephyr-latest/tests/kernel/mem_protect/futex/src/ |
D | main.c | 68 zassert_true(time_val >= (int)K_TICKS_FOREVER, in futex_wait_task() 75 case K_TICKS_FOREVER: in futex_wait_task() 110 zassert_true(time_val >= (int)K_TICKS_FOREVER, "invalid timeout parameter"); in futex_wait_wake_task() 116 case K_TICKS_FOREVER: in futex_wait_wake_task() 153 zassert_true(time_val == (int)K_TICKS_FOREVER, "invalid timeout parameter"); in futex_multiple_wait_wake_task() 173 timeout = K_TICKS_FOREVER; in ZTEST() 236 timeout = K_TICKS_FOREVER; in ZTEST() 327 timeout = K_TICKS_FOREVER; in ZTEST() 352 timeout = K_TICKS_FOREVER; in ZTEST() 388 timeout = K_TICKS_FOREVER; in ZTEST()
|
/Zephyr-latest/tests/kernel/condvar/condvar_api/src/ |
D | main.c | 64 zassert_true(time_val >= (int)K_TICKS_FOREVER, in condvar_wait_task() 71 case K_TICKS_FOREVER: in condvar_wait_task() 115 zassert_true(time_val >= (int)K_TICKS_FOREVER, "invalid timeout parameter"); in condvar_wait_wake_task() 120 case K_TICKS_FOREVER: in condvar_wait_wake_task() 143 timeout = K_TICKS_FOREVER; in ZTEST_USER() 214 timeout = K_TICKS_FOREVER; in ZTEST_USER() 271 timeout = K_TICKS_FOREVER; in ZTEST() 290 timeout = K_TICKS_FOREVER; in ZTEST_USER() 328 zassert_true(time_val == (int)K_TICKS_FOREVER, "invalid timeout parameter"); in condvar_multiple_wait_wake_task() 359 timeout = K_TICKS_FOREVER; in ZTEST_USER()
|
/Zephyr-latest/include/zephyr/ |
D | sys_clock.h | 51 #define K_TICKS_FOREVER ((k_ticks_t) -1) macro 124 #define Z_FOREVER Z_TIMEOUT_TICKS(K_TICKS_FOREVER) 148 #define Z_TICK_ABS(t) (K_TICKS_FOREVER - 1 - (t))
|
/Zephyr-latest/tests/arch/arc/arc_dsp_sharing/src/ |
D | load_store.c | 213 THREAD_LOW_PRIORITY, THREAD_DSP_FLAGS, K_TICKS_FOREVER); 216 THREAD_HIGH_PRIORITY, THREAD_DSP_FLAGS, K_TICKS_FOREVER);
|
D | calculation_arc.c | 135 THREAD_LOW_PRIORITY, THREAD_DSP_FLAGS, K_TICKS_FOREVER); 138 THREAD_HIGH_PRIORITY, THREAD_DSP_FLAGS, K_TICKS_FOREVER);
|
/Zephyr-latest/tests/kernel/fpu_sharing/generic/src/ |
D | pi.c | 172 THREAD_LOW_PRIORITY, THREAD_FP_FLAGS, K_TICKS_FOREVER); 175 THREAD_HIGH_PRIORITY, THREAD_FP_FLAGS, K_TICKS_FOREVER);
|
D | load_store.c | 313 THREAD_LOW_PRIORITY, THREAD_FP_FLAGS, K_TICKS_FOREVER); 316 THREAD_HIGH_PRIORITY, THREAD_FP_FLAGS, K_TICKS_FOREVER);
|
/Zephyr-latest/subsys/pm/ |
D | pm.c | 84 if (ticks1 == K_TICKS_FOREVER) { in ticks_expiring_sooner() 87 if (ticks2 == K_TICKS_FOREVER) { in ticks_expiring_sooner() 198 (ticks != K_TICKS_FOREVER)) { in pm_system_suspend()
|
/Zephyr-latest/subsys/pm/policy/ |
D | policy_default.c | 26 if (ticks != K_TICKS_FOREVER) { in pm_policy_next_state()
|
/Zephyr-latest/drivers/timer/ |
D | arm_arch_timer.c | 147 if (idle && ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout() 154 if (ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
|
D | smartbond_timer.c | 93 if (ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout() 129 ticks = (ticks == K_TICKS_FOREVER) ? MAX_TICKS : ticks; in sys_clock_set_timeout()
|
D | native_posix_timer.c | 86 if (ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
|
D | sam0_rtc_timer.c | 191 ticks = (ticks == K_TICKS_FOREVER) ? MAX_TICKS : ticks; in sys_clock_set_timeout() 210 if (ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
|
D | arcv2_timer0.c | 271 if (IS_ENABLED(CONFIG_TICKLESS_KERNEL) && ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout() 301 if (IS_ENABLED(CONFIG_TICKLESS_KERNEL) && idle && ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout()
|
D | mchp_mec5_ktimer.c | 144 if (idle && (n == K_TICKS_FOREVER)) { in sys_clock_set_timeout() 156 } else if ((n == K_TICKS_FOREVER) || (n > MAX_TICKS)) { in sys_clock_set_timeout()
|
D | cortex_m_systick.c | 232 if (IS_ENABLED(CONFIG_TICKLESS_KERNEL) && idle && ticks == K_TICKS_FOREVER) { in sys_clock_set_timeout() 273 ticks = (ticks == K_TICKS_FOREVER) ? MAX_TICKS : ticks; in sys_clock_set_timeout()
|
D | hpet.c | 359 if (ticks == K_TICKS_FOREVER && idle) { in sys_clock_set_timeout() 366 ticks = ticks == K_TICKS_FOREVER ? HPET_MAX_TICKS : ticks; in sys_clock_set_timeout()
|
D | mcux_lptmr_timer.c | 65 if (idle && (ticks == K_TICKS_FOREVER)) { in sys_clock_set_timeout()
|
D | mips_cp0_timer.c | 72 ticks = ticks == K_TICKS_FOREVER ? MAX_TICKS : ticks; in sys_clock_set_timeout()
|
D | mchp_xec_rtos_timer.c | 195 if (idle && (n == K_TICKS_FOREVER)) { in sys_clock_set_timeout() 207 } else if ((n == K_TICKS_FOREVER) || (n > MAX_TICKS)) { in sys_clock_set_timeout()
|
D | xtensa_sys_timer.c | 71 ticks = ticks == K_TICKS_FOREVER ? MAX_TICKS : ticks; in sys_clock_set_timeout()
|
/Zephyr-latest/kernel/include/ |
D | timeout_q.h | 67 #define z_get_next_timeout_expiry() ((int32_t) K_TICKS_FOREVER)
|
/Zephyr-latest/tests/subsys/pm/policy_api/src/ |
D | main.c | 55 next = pm_policy_next_state(0U, K_TICKS_FOREVER); in ZTEST() 70 next = pm_policy_next_state(1U, K_TICKS_FOREVER); in ZTEST()
|