Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/profiling/profiling_api/src/
Dmain.c13 #define NUM_OF_WORK 2 macro
16 static struct k_work work[NUM_OF_WORK];
87 k_sem_init(&sync_sema, 0, NUM_OF_WORK); in ZTEST()
88 for (int i = 0; i < NUM_OF_WORK; i++) { in ZTEST()
/Zephyr-latest/tests/kernel/workq/user_work/src/
Dmain.c19 #define NUM_OF_WORK 2 macro
24 static ZTEST_BMEM struct k_work_user work[NUM_OF_WORK];
119 for (int i = 0; i < NUM_OF_WORK; i++) { in twork_submit()
174 for (int i = 0; i < NUM_OF_WORK; i++) { in test_user_work_submit_to_queue_thread()
185 k_sem_init(&sync_sema, SYNC_SEM_INIT_VAL, NUM_OF_WORK); in workq_setup()