Home
last modified time | relevance | path

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

/Zephyr-latest/samples/basic/sys_heap/src/
Dmain.c10 #define HEAP_SIZE 256 macro
12 static char heap_mem[HEAP_SIZE];
23 sys_heap_init(&heap, heap_mem, HEAP_SIZE); in main()
45 stats.max_allocated_bytes, HEAP_SIZE); in print_sys_memory_stats()
/Zephyr-latest/lib/libc/common/source/stdlib/
Dmalloc.c82 # define HEAP_SIZE ROUND_UP(CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE, HEAP_ALIGN) macro
85 static POOL_SECTION unsigned char __aligned(HEAP_ALIGN) malloc_arena[HEAP_SIZE];
107 # define HEAP_SIZE ROUND_DOWN((POINTER_TO_UINT(_heap_sentry) - HEAP_BASE), HEAP_ALIGN)
109 # define HEAP_SIZE ROUND_DOWN((KB((size_t) CONFIG_SRAM_SIZE) - \
213 while (heap_size * 2 <= HEAP_SIZE) { in malloc_prepare()
220 if (POINTER_TO_UINT(heap_base) + heap_size <= HEAP_BASE + HEAP_SIZE) { in malloc_prepare()
227 heap_size = HEAP_SIZE; in malloc_prepare()
/Zephyr-latest/tests/misc/llext-edk/src/
Dmain.c22 #define HEAP_SIZE 1024 macro
30 K_HEAP_DEFINE(heap_kernel, HEAP_SIZE);
31 K_HEAP_DEFINE(heap_user, HEAP_SIZE);
/Zephyr-latest/tests/kernel/mem_heap/k_heap_api/src/
Dtest_kheap.h8 #define HEAP_SIZE 2048 macro
Dtest_kheap_api.c15 K_HEAP_DEFINE(k_heap_test, HEAP_SIZE);