Home
last modified time | relevance | path

Searched refs:BLK_SIZE_MIN (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap.h8 #define BLK_SIZE_MIN 64 macro
9 #define BLK_SIZE_MAX (BLK_SIZE_MIN << 2)
10 #define BLK_NUM_MAX (CONFIG_HEAP_MEM_POOL_SIZE / BLK_SIZE_MIN)
11 #define BLK_NUM_MIN (CONFIG_HEAP_MEM_POOL_SIZE / (BLK_SIZE_MIN << 2))
Dtest_mheap_api.c36 ptr = (char *)z_thread_malloc(BLK_SIZE_MIN); in tIsr_malloc_and_free()
47 ptr = (char *)z_thread_malloc(BLK_SIZE_MIN); in thread_entry()
78 block[nb] = k_malloc(BLK_SIZE_MIN); in ZTEST()
84 block_fail = k_malloc(BLK_SIZE_MIN); in ZTEST()
110 block1 = k_realloc(NULL, BLK_SIZE_MIN); in ZTEST()
122 block1 = k_realloc(block1, nb * BLK_SIZE_MIN); in ZTEST()
130 block2 = k_realloc(NULL, BLK_SIZE_MIN); in ZTEST()
135 block1 = k_realloc(block1, BLK_SIZE_MIN); in ZTEST()
139 block2 = k_realloc(NULL, BLK_SIZE_MIN); in ZTEST()
153 block1 = k_malloc(BLK_SIZE_MIN); in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/
Dmem_protect.h37 #define BLK_SIZE_MIN 16 macro
41 #define BLK_ALIGN BLK_SIZE_MIN