Searched refs:BLK_NUM (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.7.0/tests/kernel/mem_slab/mslab_api/src/ |
D | test_mslab_api.c | 11 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 …]
|
D | test_mslab.h | 11 #define BLK_NUM 3 macro
|
/Zephyr-Core-3.7.0/tests/kernel/mem_slab/mslab_threadsafe/src/ |
D | test_mslab_threadsafe.c | 15 #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/ |
D | test_mslab_alloc_wait.c | 13 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()
|
D | test_mslab.h | 11 #define BLK_NUM 3 macro
|