Home
last modified time | relevance | path

Searched refs:SEM_MAX_VAL (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/kernel/mem_protect/sys_sem/src/
Dmain.c13 #define SEM_MAX_VAL (10U) macro
24 ZTEST_DMEM SYS_SEM_DEFINE(multiple_thread_sem, SEM_INIT_VAL, SEM_MAX_VAL);
133 ret_value = sys_sem_init(NULL, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST()
141 ret_value = sys_sem_init(&simple_sem, UINT_MAX, SEM_MAX_VAL); in ZTEST()
145 ret_value = sys_sem_init(&simple_sem, SEM_MAX_VAL, UINT_MAX); in ZTEST()
149 sys_sem_init(&simple_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST()
162 sys_sem_init(&simple_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST()
182 sys_sem_init(&simple_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST_USER()
203 sys_sem_init(&simple_sem, 5, SEM_MAX_VAL); in ZTEST_USER()
227 sys_sem_init(&simple_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST_USER()
[all …]
/Zephyr-latest/tests/kernel/semaphore/sys_sem/src/
Dmain.c13 #define SEM_MAX_VAL (3U) macro
80 k_sem_init(&usage_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST_USER()
81 k_sem_init(&sync_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST_USER()
139 zassert_equal(k_sem_count_get(&limit_sem), SEM_MAX_VAL, "count > SEM_MAX_VAL"); in multi_thread_sem_give()
175 k_sem_init(&limit_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST_USER()
176 k_sem_init(&sync_sem, SEM_INIT_VAL, SEM_MAX_VAL); in ZTEST_USER()
187 (void)atomic_set(&atomic_count, SEM_MAX_VAL); in ZTEST_USER()
/Zephyr-latest/tests/kernel/semaphore/semaphore/src/
Dmain.c21 #define SEM_MAX_VAL (10U) macro
70 K_SEM_DEFINE(statically_defined_sem, SEM_INIT_VAL, SEM_MAX_VAL);
71 K_SEM_DEFINE(simple_sem, SEM_INIT_VAL, SEM_MAX_VAL);
72 K_SEM_DEFINE(low_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL);
73 K_SEM_DEFINE(mid_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL);
74 K_SEM_DEFINE(high_prio_long_sem, SEM_INIT_VAL, SEM_MAX_VAL);
75 K_SEM_DEFINE(high_prio_sem, SEM_INIT_VAL, SEM_MAX_VAL);
76 K_SEM_DEFINE(multiple_thread_sem, SEM_INIT_VAL, SEM_MAX_VAL);
89 K_SEM_DEFINE(ksema, SEM_INIT_VAL, SEM_MAX_VAL);
258 expect_k_sem_init_nomsg(&msg_sema, SEM_INIT_VAL, SEM_MAX_VAL, 0); in ZTEST_USER()
[all …]
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/
Dmem_protect.h43 #define SEM_MAX_VAL (1U) macro
Dinherit.c27 K_SEM_DEFINE(sync_sem, SEM_INIT_VAL, SEM_MAX_VAL);