Home
last modified time | relevance | path

Searched defs:heap (Results 1 – 25 of 25) 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()
66 void *k_heap_aligned_alloc(struct k_heap *heap, size_t align, size_t bytes, in k_heap_aligned_alloc()
109 void *k_heap_alloc(struct k_heap *heap, size_t bytes, k_timeout_t timeout) in k_heap_alloc()
120 void *k_heap_calloc(struct k_heap *heap, size_t num, size_t size, k_timeout_t timeout) in k_heap_calloc()
139 void *k_heap_realloc(struct k_heap *heap, void *ptr, size_t bytes, k_timeout_t timeout) in k_heap_realloc()
169 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()
Dheap_array.c12 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()
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
177 #define sys_heap_realloc(heap, ptr, bytes) \ argument
212 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.c15 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.c91 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
569 #define sys_port_trace_k_heap_init(heap) \ argument
572 #define sys_port_trace_k_heap_aligned_alloc_enter(heap, timeout) \ argument
576 #define sys_port_trace_k_heap_aligned_alloc_blocking(heap, timeout) argument
578 #define sys_port_trace_k_heap_aligned_alloc_exit(heap, timeout, ret) \ argument
581 #define sys_port_trace_k_heap_alloc_enter(heap, timeout) \ argument
585 #define sys_port_trace_k_heap_alloc_exit(heap, timeout, ret) \ argument
588 #define sys_port_trace_k_heap_calloc_enter(heap, timeout) \ argument
592 #define sys_port_trace_k_heap_calloc_exit(heap, timeout, ret) \ argument
595 #define sys_port_trace_k_heap_free(heap) \ argument
[all …]
/Zephyr-latest/subsys/tracing/user/
Dtracing_user.h107 #define sys_port_trace_k_thread_heap_assign(thread, heap) argument
353 #define sys_port_trace_k_heap_init(heap) argument
354 #define sys_port_trace_k_heap_aligned_alloc_enter(heap, timeout) argument
355 #define sys_port_trace_k_heap_aligned_alloc_blocking(heap, timeout) argument
356 #define sys_port_trace_k_heap_aligned_alloc_exit(heap, timeout, ret) argument
357 #define sys_port_trace_k_heap_alloc_enter(heap, timeout) argument
358 #define sys_port_trace_k_heap_alloc_exit(heap, timeout, ret) argument
359 #define sys_port_trace_k_heap_calloc_enter(heap, timeout) argument
360 #define sys_port_trace_k_heap_calloc_exit(heap, timeout, ret) argument
361 #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
312 #define sys_port_trace_k_heap_init(heap) argument
313 #define sys_port_trace_k_heap_aligned_alloc_enter(heap, timeout) argument
314 #define sys_port_trace_k_heap_aligned_alloc_blocking(heap, timeout) argument
315 #define sys_port_trace_k_heap_aligned_alloc_exit(heap, timeout, ret) argument
316 #define sys_port_trace_k_heap_alloc_enter(heap, timeout) argument
317 #define sys_port_trace_k_heap_alloc_exit(heap, timeout, ret) argument
318 #define sys_port_trace_k_heap_calloc_enter(heap, timeout) argument
319 #define sys_port_trace_k_heap_calloc_exit(heap, timeout, ret) argument
320 #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
408 #define sys_port_trace_k_heap_sys_k_aligned_alloc_enter(heap) \ argument
410 #define sys_port_trace_k_heap_sys_k_aligned_alloc_exit(heap, ret) \ argument
412 #define sys_port_trace_k_heap_sys_k_malloc_enter(heap) \ argument
414 #define sys_port_trace_k_heap_sys_k_malloc_exit(heap, ret) \ argument
416 #define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref) \ argument
418 #define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref) \ argument
420 #define sys_port_trace_k_heap_sys_k_calloc_enter(heap) \ argument
422 #define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret) \ argument
424 #define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr) \ argument
[all …]
/Zephyr-latest/soc/nordic/common/
Ddmm.c45 struct sys_heap heap; member
/Zephyr-latest/include/zephyr/tracing/
Dtracing.h1825 #define sys_port_trace_k_heap_sys_k_aligned_alloc_enter(heap) argument
1832 #define sys_port_trace_k_heap_sys_k_aligned_alloc_exit(heap, ret) argument
1838 #define sys_port_trace_k_heap_sys_k_malloc_enter(heap) argument
1845 #define sys_port_trace_k_heap_sys_k_malloc_exit(heap, ret) argument
1852 #define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref) argument
1859 #define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref) argument
1865 #define sys_port_trace_k_heap_sys_k_calloc_enter(heap) argument
1872 #define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret) argument
1879 #define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr) argument
1887 #define sys_port_trace_k_heap_sys_k_realloc_exit(heap, ptr, ret) argument
/Zephyr-latest/include/zephyr/
Dkernel.h473 struct k_heap *heap) in k_thread_heap_assign()
5570 struct sys_heap heap; member