Searched refs:HEAP_SIZE (Results 1 – 5 of 5) sorted by relevance
10 #define HEAP_SIZE 256 macro12 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()
82 # define HEAP_SIZE ROUND_UP(CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE, HEAP_ALIGN) macro85 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()
22 #define HEAP_SIZE 1024 macro30 K_HEAP_DEFINE(heap_kernel, HEAP_SIZE);31 K_HEAP_DEFINE(heap_user, HEAP_SIZE);
8 #define HEAP_SIZE 2048 macro
15 K_HEAP_DEFINE(k_heap_test, HEAP_SIZE);