Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/mem_protect/sys_sem/src/
Dmain.c21 ZTEST_BMEM struct sys_sem low_prio_sem; variable
76 ret_value = sys_sem_take(&low_prio_sem, K_FOREVER); in sem_take_multiple_low_prio_helper()
82 sys_sem_give(&low_prio_sem); in sem_take_multiple_low_prio_helper()
345 sys_sem_init(&low_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST_USER()
375 sys_sem_give(&low_prio_sem); in ZTEST_USER()
391 signal_count = sys_sem_count_get(&low_prio_sem); in ZTEST_USER()
408 signal_count = sys_sem_count_get(&low_prio_sem); in ZTEST_USER()
425 signal_count = sys_sem_count_get(&low_prio_sem); in ZTEST_USER()
/Zephyr-latest/tests/kernel/semaphore/semaphore/src/
Dmain.c72 K_SEM_DEFINE(low_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL);
160 expect_k_sem_take_nomsg(&low_prio_sem, K_FOREVER, 0); in sem_take_multiple_low_prio_helper()
163 k_sem_give(&low_prio_sem); in sem_take_multiple_low_prio_helper()
605 k_sem_reset(&low_prio_sem); in ZTEST_USER()
610 expect_k_sem_count_get_nomsg(&low_prio_sem, 0); in ZTEST_USER()
657 k_sem_give(&low_prio_sem); in ZTEST_USER()
682 expect_k_sem_count_get(&low_prio_sem, 0U, in ZTEST_USER()
699 expect_k_sem_count_get(&low_prio_sem, 0U, in ZTEST_USER()
716 expect_k_sem_count_get(&low_prio_sem, 0U, in ZTEST_USER()
733 expect_k_sem_count_get(&low_prio_sem, 1U, in ZTEST_USER()
[all …]