Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/mem_protect/sys_sem/src/
Dmain.c23 ZTEST_DMEM struct sys_sem high_prio_sem; variable
102 ret_value = sys_sem_take(&high_prio_sem, K_FOREVER); in sem_take_multiple_high_prio_helper()
108 sys_sem_give(&high_prio_sem); in sem_take_multiple_high_prio_helper()
343 sys_sem_init(&high_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST_USER()
373 sys_sem_give(&high_prio_sem); in ZTEST_USER()
383 signal_count = sys_sem_count_get(&high_prio_sem); in ZTEST_USER()
400 signal_count = sys_sem_count_get(&high_prio_sem); in ZTEST_USER()
417 signal_count = sys_sem_count_get(&high_prio_sem); in ZTEST_USER()
/Zephyr-latest/tests/kernel/semaphore/semaphore/src/
Dmain.c75 K_SEM_DEFINE(high_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL);
177 expect_k_sem_take_nomsg(&high_prio_sem, K_FOREVER, 0); in sem_take_multiple_high_prio_helper()
180 k_sem_give(&high_prio_sem); in sem_take_multiple_high_prio_helper()
606 k_sem_reset(&high_prio_sem); in ZTEST_USER()
611 expect_k_sem_count_get_nomsg(&high_prio_sem, 0); in ZTEST_USER()
663 k_sem_give(&high_prio_sem); in ZTEST_USER()
676 expect_k_sem_count_get(&high_prio_sem, 0U, in ZTEST_USER()
693 expect_k_sem_count_get(&high_prio_sem, 1U, in ZTEST_USER()
710 expect_k_sem_count_get(&high_prio_sem, 1U, in ZTEST_USER()
727 expect_k_sem_count_get(&high_prio_sem, 1U, in ZTEST_USER()
[all …]