Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/kernel/mem_slab/mslab_api/src/
Dtest_mslab_api.c11 K_MEM_SLAB_DEFINE(kmslab, BLK_SIZE, BLK_NUM, BLK_ALIGN);
12 static char __aligned(BLK_ALIGN) tslab[BLK_SIZE * BLK_NUM];
21 k_mem_slab_init(&mslab, tslab, BLK_SIZE, BLK_NUM); in mslab_setup()
29 void *block[BLK_NUM]; in tmslab_alloc_free()
36 for (int i = 0; i < BLK_NUM; i++) { in tmslab_alloc_free()
47 for (int i = 0; i < BLK_NUM; i++) { in tmslab_alloc_free()
56 void *block[BLK_NUM]; in tmslab_alloc_align()
58 for (int i = 0; i < BLK_NUM; i++) { in tmslab_alloc_align()
67 for (int i = 0; i < BLK_NUM; i++) { in tmslab_alloc_align()
75 void *block[BLK_NUM], *block_fail; in tmslab_alloc_timeout()
[all …]
Dtest_mslab.h11 #define BLK_NUM 3 macro
/Zephyr-Core-3.7.0/tests/kernel/mem_slab/mslab_threadsafe/src/
Dtest_mslab_threadsafe.c15 #define BLK_NUM 3 macro
29 #define SLAB_BLOCKS (THREAD_NUM * (BLK_NUM - 1) + 1)
42 void *block[BLK_NUM]; in tmslab_api()
50 for (int i = 0; i < BLK_NUM; i++) { in tmslab_api()
54 for (int i = 0; i < BLK_NUM; i++) { in tmslab_api()
/Zephyr-Core-3.7.0/tests/kernel/mem_slab/mslab_concept/src/
Dtest_mslab_alloc_wait.c13 K_MEM_SLAB_DEFINE(mslab1, BLK_SIZE, BLK_NUM, BLK_ALIGN);
53 void *block[BLK_NUM]; in ZTEST()
58 for (int i = 0; i < BLK_NUM; i++) { in ZTEST()
98 for (int i = 1; i < BLK_NUM; i++) { in ZTEST()
Dtest_mslab.h11 #define BLK_NUM 3 macro