Home
last modified time | relevance | path

Searched refs:sem2 (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.5.0/tests/benchmarks/sys_kernel/src/
Dsema.c12 struct k_sem sem2; variable
22 k_sem_init(&sem2, 0, 1); in sema_test_init()
45 k_sem_give(&sem2); in sema_thread1()
69 k_sem_take(&sem2, K_FOREVER); in sema_thread2()
93 while (k_sem_take(&sem2, K_NO_WAIT) != 0) { in sema_thread3()
180 k_sem_take(&sem2, K_FOREVER); in sema_test()
/Zephyr-Core-3.5.0/tests/kernel/mem_protect/obj_validation/src/
Dmain.c25 static struct k_sem sem2; variable
94 object_permission_checks(&sem2, false); in ZTEST()
/Zephyr-Core-3.5.0/tests/kernel/obj_core/obj_core/src/
Dmain.c50 static struct k_sem sem2; variable
279 k_sem_init(&sem2, 0, 1); in ZTEST()
282 K_OBJ_CORE(&sem1), K_OBJ_CORE(&sem2)); in ZTEST()
/Zephyr-Core-3.5.0/tests/subsys/tracing/tracing_api/src/
Dmain.c121 struct k_sem sem, sem2; in ZTEST() local
171 sys_trace_k_sem_take_enter(&sem2, timeout); in ZTEST()