Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/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-Core-3.6.0/tests/kernel/semaphore/semaphore/src/
Dmain.c64 K_SEM_DEFINE(low_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL);
152 expect_k_sem_take_nomsg(&low_prio_sem, K_FOREVER, 0); in sem_take_multiple_low_prio_helper()
155 k_sem_give(&low_prio_sem); in sem_take_multiple_low_prio_helper()
597 k_sem_reset(&low_prio_sem); in ZTEST_USER()
602 expect_k_sem_count_get_nomsg(&low_prio_sem, 0); in ZTEST_USER()
649 k_sem_give(&low_prio_sem); in ZTEST_USER()
674 expect_k_sem_count_get(&low_prio_sem, 0U, in ZTEST_USER()
691 expect_k_sem_count_get(&low_prio_sem, 0U, in ZTEST_USER()
708 expect_k_sem_count_get(&low_prio_sem, 0U, in ZTEST_USER()
725 expect_k_sem_count_get(&low_prio_sem, 1U, in ZTEST_USER()
[all …]