Home
last modified time | relevance | path

Searched refs:time_val (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/kernel/mem_protect/futex/src/
Dmain.c66 k_ticks_t time_val = *(int *)p1; in futex_wait_task() local
68 zassert_true(time_val >= (int)K_TICKS_FOREVER, in futex_wait_task()
72 atomic_get(&simple_futex.val), K_TICKS(time_val)); in futex_wait_task()
74 switch (time_val) { in futex_wait_task()
108 int time_val = *(int *)p1; in futex_wait_wake_task() local
110 zassert_true(time_val >= (int)K_TICKS_FOREVER, "invalid timeout parameter"); in futex_wait_wake_task()
113 atomic_get(&simple_futex.val), K_TICKS(time_val)); in futex_wait_wake_task()
115 switch (time_val) { in futex_wait_wake_task()
150 int time_val = *(int *)p1; in futex_multiple_wait_wake_task() local
153 zassert_true(time_val == (int)K_TICKS_FOREVER, "invalid timeout parameter"); in futex_multiple_wait_wake_task()
[all …]
/Zephyr-latest/tests/kernel/condvar/condvar_api/src/
Dmain.c61 k_ticks_t time_val = *(int *)p1; in condvar_wait_task() local
64 zassert_true(time_val >= (int)K_TICKS_FOREVER, in condvar_wait_task()
68 ret_value = k_condvar_wait(&simple_condvar, &test_mutex, K_TICKS(time_val)); in condvar_wait_task()
70 switch (time_val) { in condvar_wait_task()
113 int time_val = *(int *)p1; in condvar_wait_wake_task() local
115 zassert_true(time_val >= (int)K_TICKS_FOREVER, "invalid timeout parameter"); in condvar_wait_wake_task()
117 ret_value = k_condvar_wait(&simple_condvar, &test_mutex, K_TICKS(time_val)); in condvar_wait_wake_task()
119 switch (time_val) { in condvar_wait_wake_task()
323 int time_val = *(int *)p1; in condvar_multiple_wait_wake_task() local
328 zassert_true(time_val == (int)K_TICKS_FOREVER, "invalid timeout parameter"); in condvar_multiple_wait_wake_task()
[all …]