Home
last modified time | relevance | path

Searched refs:sys_heap (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-latest/include/zephyr/sys/
Dsys_heap.h57 struct sys_heap { struct
85 int sys_heap_runtime_stats_get(struct sys_heap *heap,
97 int sys_heap_runtime_stats_reset_max(struct sys_heap *heap);
109 void sys_heap_init(struct sys_heap *heap, void *mem, size_t bytes);
128 void *sys_heap_alloc(struct sys_heap *heap, size_t bytes);
143 void *sys_heap_aligned_alloc(struct sys_heap *heap, size_t align, size_t bytes);
158 void sys_heap_free(struct sys_heap *heap, void *mem);
178 void *sys_heap_aligned_realloc(struct sys_heap *heap, void *ptr,
198 size_t sys_heap_usable_size(struct sys_heap *heap, void *mem);
214 bool sys_heap_validate(struct sys_heap *heap);
[all …]
Dmulti_heap.h62 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/
Dheap_stats.c11 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()
Dshared_multi_heap.c17 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()
DKconfig11 The sys_heap implementation is instrumented for extensive
38 The sys_heap allocator bounds the number of tries from the
56 bool "sys_heap event notifications"
59 This allows application to listen for sys_heap events,
119 Allows multiple sys_heap regions to be unified under a single
Dheap.c163 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()
Dheap_info.c73 void sys_heap_print_info(struct sys_heap *heap, bool dump_chunks) in sys_heap_print_info()
Dmulti_heap.c17 struct sys_heap *heap, void *user_data) in sys_multi_heap_add_heap()
Dheap_validate.c71 bool sys_heap_validate(struct sys_heap *heap) in sys_heap_validate()
/Zephyr-latest/samples/userspace/prod_consumer/src/
Dapp_shared.c16 K_APP_DMEM(shared_partition) struct sys_heap shared_pool;
Dapp_shared.h22 extern struct sys_heap shared_pool;
/Zephyr-latest/samples/basic/sys_heap/
DCMakeLists.txt6 project(sys_heap) project
DREADME.rst18 :zephyr-app: samples/basic/sys_heap
/Zephyr-latest/tests/lib/heap/src/
Dmain.c170 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/
Dmem_attr_heap.c16 struct sys_heap heap;
87 struct sys_heap *h; in ma_heap_add()
/Zephyr-latest/samples/basic/sys_heap/src/
Dmain.c13 static struct sys_heap heap;
/Zephyr-latest/subsys/shell/modules/kernel_service/
Dheap.c13 extern struct sys_heap _system_heap;
/Zephyr-latest/tests/lib/heap_align/src/
Dmain.c23 static void check_heap_align(struct sys_heap *h, in check_heap_align()
62 struct sys_heap heap = {}; in ZTEST()
/Zephyr-latest/doc/kernel/memory_management/
Dheap.rst50 abstraction is provided a data structure named :c:struct:`sys_heap`. This
55 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/modules/lvgl/
Dlvgl_mem.c23 static struct sys_heap lvgl_heap;
/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_api.c25 static struct sys_heap mheaps[N_MULTI_HEAPS];
312 struct sys_heap *h = &mheaps[(int)(long)cfg]; in multi_heap_choice()
/Zephyr-latest/lib/libc/common/source/stdlib/
Dmalloc.c117 Z_LIBC_DATA static struct sys_heap z_malloc_heap;
/Zephyr-latest/soc/nordic/common/
Ddmm.c45 struct sys_heap heap;
/Zephyr-latest/samples/subsys/zbus/msg_subscriber/src/
Dmain.c12 extern struct sys_heap _system_heap;
/Zephyr-latest/samples/userspace/prod_consumer/
DREADME.rst17 - Creation of a sys_heap and assignment to a memory partition

12