Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/tests/kernel/semaphore/semaphore/src/
Dmain.c73 K_SEM_DEFINE(mid_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL);
168 expect_k_sem_take_nomsg(&mid_prio_sem, K_FOREVER, 0); in sem_take_multiple_mid_prio_helper()
171 k_sem_give(&mid_prio_sem); in sem_take_multiple_mid_prio_helper()
604 k_sem_reset(&mid_prio_sem); in ZTEST_USER()
609 expect_k_sem_count_get_nomsg(&mid_prio_sem, 0); in ZTEST_USER()
656 k_sem_give(&mid_prio_sem); in ZTEST_USER()
679 expect_k_sem_count_get(&mid_prio_sem, 0U, in ZTEST_USER()
696 expect_k_sem_count_get(&mid_prio_sem, 0U, in ZTEST_USER()
713 expect_k_sem_count_get(&mid_prio_sem, 1U, in ZTEST_USER()
730 expect_k_sem_count_get(&mid_prio_sem, 1U, in ZTEST_USER()
[all …]