Home
last modified time | relevance | path

Searched defs:heap (Results 1 – 24 of 24) sorted by relevance

/Zephyr-latest/kernel/
Dkheap.c15 void k_heap_init(struct k_heap *heap, void *mem, size_t bytes) in k_heap_init()
65 void *k_heap_aligned_alloc(struct k_heap *heap, size_t align, size_t bytes, in k_heap_aligned_alloc()
108 void *k_heap_alloc(struct k_heap *heap, size_t bytes, k_timeout_t timeout) in k_heap_alloc()
119 void *k_heap_calloc(struct k_heap *heap, size_t num, size_t size, k_timeout_t timeout) in k_heap_calloc()
138 void *k_heap_realloc(struct k_heap *heap, void *ptr, size_t bytes, k_timeout_t timeout) in k_heap_realloc()
168 void k_heap_free(struct k_heap *heap, void *mem) in k_heap_free()
Dmempool.c12 static void *z_heap_aligned_alloc(struct k_heap *heap, size_t align, size_t size) in z_heap_aligned_alloc()
119 struct k_heap *heap, **heap_ref; in k_realloc() local
163 struct k_heap *heap; in z_thread_aligned_alloc() local
/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()
Dmulti_heap.c10 void sys_multi_heap_init(struct sys_multi_heap *heap, sys_multi_heap_fn_t choice_fn) in sys_multi_heap_init()
17 struct sys_heap *heap, void *user_data) in sys_multi_heap_add_heap()
86 const struct sys_multi_heap_rec *heap; in sys_multi_heap_free() local
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()
Dheap_validate.c71 bool sys_heap_validate(struct sys_heap *heap) in sys_heap_validate()
/Zephyr-latest/include/zephyr/sys/
Dsys_heap.h58 struct z_heap *heap; member
181 #define sys_heap_realloc(heap, ptr, bytes) \ argument
216 static inline bool sys_heap_validate(struct sys_heap *heap) in sys_heap_validate()
Dmulti_heap.h62 struct sys_heap *heap; member
/Zephyr-latest/tests/lib/heap/
DCMakeLists.txt5 project(heap) project
/Zephyr-latest/tests/lib/heap/src/
Dmain.c170 struct sys_heap heap; in ZTEST() local
198 struct sys_heap heap; in ZTEST() local
221 struct sys_heap heap; in ZTEST() local
258 struct sys_heap heap; in ZTEST() local
295 struct sys_heap heap; in ZTEST() local
/Zephyr-latest/samples/basic/sys_heap/src/
Dmain.c13 static struct sys_heap heap; variable
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/src/
Dmain.cpp107 k_heap *heap = static_cast<k_heap *>(k_malloc(sizeof(k_heap))); in allocateHeap() local
121 void inferenceProcessTask(void *_name, void *heap, void *_params) in inferenceProcessTask()
158 void inferenceSenderTask(void *_name, void *heap, void *_queue) in inferenceSenderTask()
/Zephyr-latest/tests/lib/heap_align/src/
Dmain.c62 struct sys_heap heap = {}; in ZTEST() local
/Zephyr-latest/tests/misc/llext-edk/src/
Dmain.c52 k_thread_stack_t *stack, struct k_heap *heap, in load_and_run_extension()
/Zephyr-latest/subsys/tracing/sysview/
Dtracing_sysview.h40 #define sys_port_trace_k_thread_heap_assign(thread, heap) argument
558 #define sys_port_trace_k_heap_init(heap) \ argument
561 #define sys_port_trace_k_heap_aligned_alloc_enter(heap, timeout) \ argument
565 #define sys_port_trace_k_heap_aligned_alloc_blocking(heap, timeout) argument
567 #define sys_port_trace_k_heap_aligned_alloc_exit(heap, timeout, ret) \ argument
570 #define sys_port_trace_k_heap_alloc_enter(heap, timeout) \ argument
574 #define sys_port_trace_k_heap_alloc_exit(heap, timeout, ret) \ argument
577 #define sys_port_trace_k_heap_calloc_enter(heap, timeout) \ argument
581 #define sys_port_trace_k_heap_calloc_exit(heap, timeout, ret) \ argument
584 #define sys_port_trace_k_heap_free(heap) \ argument
[all …]
/Zephyr-latest/subsys/tracing/ctf/
Dtracing_ctf.h30 #define sys_port_trace_k_thread_heap_assign(thread, heap) argument
301 #define sys_port_trace_k_heap_init(heap) argument
302 #define sys_port_trace_k_heap_aligned_alloc_enter(heap, timeout) argument
303 #define sys_port_trace_k_heap_aligned_alloc_blocking(heap, timeout) argument
304 #define sys_port_trace_k_heap_aligned_alloc_exit(heap, timeout, ret) argument
305 #define sys_port_trace_k_heap_alloc_enter(heap, timeout) argument
306 #define sys_port_trace_k_heap_alloc_exit(heap, timeout, ret) argument
307 #define sys_port_trace_k_heap_calloc_enter(heap, timeout) argument
308 #define sys_port_trace_k_heap_calloc_exit(heap, timeout, ret) argument
309 #define sys_port_trace_k_heap_free(heap) argument
[all …]
/Zephyr-latest/subsys/tracing/user/
Dtracing_user.h106 #define sys_port_trace_k_thread_heap_assign(thread, heap) argument
341 #define sys_port_trace_k_heap_init(heap) argument
342 #define sys_port_trace_k_heap_aligned_alloc_enter(heap, timeout) argument
343 #define sys_port_trace_k_heap_aligned_alloc_blocking(heap, timeout) argument
344 #define sys_port_trace_k_heap_aligned_alloc_exit(heap, timeout, ret) argument
345 #define sys_port_trace_k_heap_alloc_enter(heap, timeout) argument
346 #define sys_port_trace_k_heap_alloc_exit(heap, timeout, ret) argument
347 #define sys_port_trace_k_heap_calloc_enter(heap, timeout) argument
348 #define sys_port_trace_k_heap_calloc_exit(heap, timeout, ret) argument
349 #define sys_port_trace_k_heap_free(heap) argument
[all …]
/Zephyr-latest/subsys/mem_mgmt/
Dmem_attr_heap.c16 struct sys_heap heap; member
/Zephyr-latest/samples/subsys/llext/edk/app/src/
Dmain.c120 struct k_heap *heap, in run_extension_on_thread()
/Zephyr-latest/subsys/tracing/test/
Dtracing_test.h21 #define sys_port_trace_k_thread_heap_assign(thread, heap) \ argument
393 #define sys_port_trace_k_heap_sys_k_aligned_alloc_enter(heap) \ argument
395 #define sys_port_trace_k_heap_sys_k_aligned_alloc_exit(heap, ret) \ argument
397 #define sys_port_trace_k_heap_sys_k_malloc_enter(heap) \ argument
399 #define sys_port_trace_k_heap_sys_k_malloc_exit(heap, ret) \ argument
401 #define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref) \ argument
403 #define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref) \ argument
405 #define sys_port_trace_k_heap_sys_k_calloc_enter(heap) \ argument
407 #define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret) \ argument
409 #define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr) \ argument
[all …]
/Zephyr-latest/include/zephyr/tracing/
Dtracing.h1753 #define sys_port_trace_k_heap_sys_k_aligned_alloc_enter(heap) argument
1760 #define sys_port_trace_k_heap_sys_k_aligned_alloc_exit(heap, ret) argument
1766 #define sys_port_trace_k_heap_sys_k_malloc_enter(heap) argument
1773 #define sys_port_trace_k_heap_sys_k_malloc_exit(heap, ret) argument
1780 #define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref) argument
1787 #define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref) argument
1793 #define sys_port_trace_k_heap_sys_k_calloc_enter(heap) argument
1800 #define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret) argument
1807 #define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr) argument
1815 #define sys_port_trace_k_heap_sys_k_realloc_exit(heap, ptr, ret) argument
/Zephyr-latest/soc/nordic/common/
Ddmm.c45 struct sys_heap heap; member
/Zephyr-latest/include/zephyr/
Dkernel.h472 struct k_heap *heap) in k_thread_heap_assign()
5446 struct sys_heap heap; member