| /Zephyr-latest/include/zephyr/sys/ | 
| D | sys_heap.h | 57 struct sys_heap {  struct83 int sys_heap_runtime_stats_get(struct sys_heap *heap,
 95 int sys_heap_runtime_stats_reset_max(struct sys_heap *heap);
 105 void sys_heap_init(struct sys_heap *heap, void *mem, size_t bytes);
 124 void *sys_heap_alloc(struct sys_heap *heap, size_t bytes);
 139 void *sys_heap_aligned_alloc(struct sys_heap *heap, size_t align, size_t bytes);
 154 void sys_heap_free(struct sys_heap *heap, void *mem);
 174 void *sys_heap_aligned_realloc(struct sys_heap *heap, void *ptr,
 194 size_t sys_heap_usable_size(struct sys_heap *heap, void *mem);
 210 bool sys_heap_validate(struct sys_heap *heap);
 [all …]
 
 | 
| D | multi_heap.h | 62 	struct sys_heap *heap;108 void sys_multi_heap_add_heap(struct sys_multi_heap *mheap, struct sys_heap *heap, void *user_data);
 
 | 
| /Zephyr-latest/lib/heap/ | 
| D | heap_array.c | 10 static struct sys_heap *heaps[CONFIG_SYS_HEAP_ARRAY_SIZE];12 int sys_heap_array_save(struct sys_heap *heap)  in sys_heap_array_save()
 27 int sys_heap_array_get(struct sys_heap ***heap)  in sys_heap_array_get()
 
 | 
| D | heap_stats.c | 11 int sys_heap_runtime_stats_get(struct sys_heap *heap,  in sys_heap_runtime_stats_get()25 int sys_heap_runtime_stats_reset_max(struct sys_heap *heap)  in sys_heap_runtime_stats_reset_max()
 
 | 
| D | shared_multi_heap.c | 17 	struct sys_heap heap_pool[MAX_MULTI_HEAPS];23 	struct sys_heap *h;  in smh_choice()
 55 	struct sys_heap *h;  in shared_multi_heap_add()
 
 | 
| D | Kconfig | 11 	  The sys_heap implementation is instrumented for extensive38 	  The sys_heap allocator bounds the number of tries from the
 68 	bool "sys_heap event notifications"
 71 	  This allows application to listen for sys_heap events,
 131 	  Allows multiple sys_heap regions to be unified under a single
 
 | 
| D | heap.c | 163 void sys_heap_free(struct sys_heap *heap, void *mem)  in sys_heap_free()200 size_t sys_heap_usable_size(struct sys_heap *heap, void *mem)  in sys_heap_usable_size()
 263 void *sys_heap_alloc(struct sys_heap *heap, size_t bytes)  in sys_heap_alloc()
 301 void *sys_heap_aligned_alloc(struct sys_heap *heap, size_t align, size_t bytes)  in sys_heap_aligned_alloc()
 379 void *sys_heap_aligned_realloc(struct sys_heap *heap, void *ptr,  in sys_heap_aligned_realloc()
 485 void sys_heap_init(struct sys_heap *heap, void *mem, size_t bytes)  in sys_heap_init()
 
 | 
| D | heap_info.c | 73 void sys_heap_print_info(struct sys_heap *heap, bool dump_chunks)  in sys_heap_print_info()
 | 
| D | multi_heap.c | 17 			struct sys_heap *heap, void *user_data)  in sys_multi_heap_add_heap()
 | 
| D | heap_validate.c | 71 bool sys_heap_validate(struct sys_heap *heap)  in sys_heap_validate()
 | 
| /Zephyr-latest/samples/basic/sys_heap/src/ | 
| D | main.c | 15 static struct sys_heap heap;17 static void print_sys_memory_stats(struct sys_heap *);
 42 static void print_sys_memory_stats(struct sys_heap *hp)  in print_sys_memory_stats()
 55 	struct sys_heap **ha;  in print_all_heaps()
 
 | 
| /Zephyr-latest/samples/userspace/prod_consumer/src/ | 
| D | app_shared.c | 16 K_APP_DMEM(shared_partition) struct sys_heap shared_pool;
 | 
| D | app_shared.h | 22 extern struct sys_heap shared_pool;
 | 
| /Zephyr-latest/samples/basic/sys_heap/ | 
| D | CMakeLists.txt | 6 project(sys_heap)  project
 | 
| D | README.rst | 18    :zephyr-app: samples/basic/sys_heap
 | 
| /Zephyr-latest/tests/lib/heap/src/ | 
| D | main.c | 170 	struct sys_heap heap;  in ZTEST()198 	struct sys_heap heap;  in ZTEST()
 221 	struct sys_heap heap;  in ZTEST()
 258 	struct sys_heap heap;  in ZTEST()
 295 	struct sys_heap heap;  in ZTEST()
 391 static struct sys_heap listener_heap;
 
 | 
| /Zephyr-latest/subsys/mem_mgmt/ | 
| D | mem_attr_heap.c | 16 	struct sys_heap heap;87 	struct sys_heap *h;  in ma_heap_add()
 
 | 
| /Zephyr-latest/subsys/shell/modules/kernel_service/ | 
| D | heap.c | 13 extern struct sys_heap _system_heap;
 | 
| /Zephyr-latest/doc/kernel/memory_management/ | 
| D | heap.rst | 50 abstraction is provided a data structure named :c:struct:`sys_heap`.  This55 or more complicated.  Unlike ``k_heap``, all calls to any ``sys_heap``
 62 Internally, the ``sys_heap`` memory block is partitioned into "chunks"
 82 :c:struct:`sys_heap` structure itself.
 84 The ``sys_heap`` functions are unsynchronized.  Care must be taken by
 89 latency.  All ``sys_heap`` API functions are guaranteed to complete
 101 The ``sys_heap`` utility requires that all managed memory be in a
 111 ``sys_heap`` objects.  It should be initialized after its child heaps
 114 destruction utility is provided; just as for ``sys_heap``,
 122 the ``sys_heap`` functions with similar names, except that they also
 [all …]
 
 | 
| /Zephyr-latest/tests/lib/heap_align/src/ | 
| D | main.c | 48 static void check_heap_align(struct sys_heap *h,  in check_heap_align()91 	struct sys_heap heap = {};  in ZTEST()
 
 | 
| /Zephyr-latest/modules/lvgl/ | 
| D | lvgl_mem.c | 23 static struct sys_heap lvgl_heap;
 | 
| /Zephyr-latest/tests/lib/multi_heap/src/ | 
| D | test_mheap_api.c | 27 static struct sys_heap mheaps[N_MULTI_HEAPS];373 	struct sys_heap *h = &mheaps[(int)(long)cfg];  in multi_heap_choice()
 
 | 
| /Zephyr-latest/lib/libc/common/source/stdlib/ | 
| D | malloc.c | 117 Z_LIBC_DATA static struct sys_heap z_malloc_heap;
 | 
| /Zephyr-latest/soc/nordic/common/ | 
| D | dmm.c | 45 	struct sys_heap heap;
 | 
| /Zephyr-latest/samples/subsys/zbus/msg_subscriber/src/ | 
| D | main.c | 12 extern struct sys_heap _system_heap;
 |