Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/tests/kernel/mem_protect/sys_sem/src/
Dmain.c22 ZTEST_BMEM struct sys_sem mid_prio_sem; variable
89 ret_value = sys_sem_take(&mid_prio_sem, K_FOREVER); in sem_take_multiple_mid_prio_helper()
95 sys_sem_give(&mid_prio_sem); in sem_take_multiple_mid_prio_helper()
344 sys_sem_init(&mid_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST_USER()
374 sys_sem_give(&mid_prio_sem); in ZTEST_USER()
387 signal_count = sys_sem_count_get(&mid_prio_sem); in ZTEST_USER()
404 signal_count = sys_sem_count_get(&mid_prio_sem); in ZTEST_USER()
421 signal_count = sys_sem_count_get(&mid_prio_sem); in ZTEST_USER()
/Zephyr-Core-3.6.0/tests/kernel/semaphore/semaphore/src/
Dmain.c65 K_SEM_DEFINE(mid_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL);
160 expect_k_sem_take_nomsg(&mid_prio_sem, K_FOREVER, 0); in sem_take_multiple_mid_prio_helper()
163 k_sem_give(&mid_prio_sem); in sem_take_multiple_mid_prio_helper()
596 k_sem_reset(&mid_prio_sem); in ZTEST_USER()
601 expect_k_sem_count_get_nomsg(&mid_prio_sem, 0); in ZTEST_USER()
648 k_sem_give(&mid_prio_sem); in ZTEST_USER()
671 expect_k_sem_count_get(&mid_prio_sem, 0U, in ZTEST_USER()
688 expect_k_sem_count_get(&mid_prio_sem, 0U, in ZTEST_USER()
705 expect_k_sem_count_get(&mid_prio_sem, 1U, in ZTEST_USER()
722 expect_k_sem_count_get(&mid_prio_sem, 1U, in ZTEST_USER()
[all …]