/Zephyr-latest/kernel/ |
D | kheap.c | 15 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()
|
D | mempool.c | 12 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/ |
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 | heap_array.c | 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 | multi_heap.c | 10 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
|
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 | heap_validate.c | 71 bool sys_heap_validate(struct sys_heap *heap) in sys_heap_validate()
|
/Zephyr-latest/include/zephyr/sys/ |
D | sys_heap.h | 58 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()
|
D | multi_heap.h | 62 struct sys_heap *heap; member
|
/Zephyr-latest/tests/lib/heap/ |
D | CMakeLists.txt | 5 project(heap) project
|
/Zephyr-latest/tests/lib/heap/src/ |
D | main.c | 170 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/ |
D | main.c | 15 static struct sys_heap heap; variable
|
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/src/ |
D | main.cpp | 107 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/ |
D | main.c | 91 struct sys_heap heap = {}; in ZTEST() local
|
/Zephyr-latest/tests/misc/llext-edk/src/ |
D | main.c | 52 k_thread_stack_t *stack, struct k_heap *heap, in load_and_run_extension()
|
/Zephyr-latest/subsys/tracing/sysview/ |
D | tracing_sysview.h | 40 #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/ |
D | tracing_user.h | 107 #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/ |
D | tracing_ctf.h | 30 #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/ |
D | mem_attr_heap.c | 16 struct sys_heap heap; member
|
/Zephyr-latest/samples/subsys/llext/edk/app/src/ |
D | main.c | 120 struct k_heap *heap, in run_extension_on_thread()
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_test.h | 21 #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/ |
D | dmm.c | 45 struct sys_heap heap; member
|
/Zephyr-latest/include/zephyr/tracing/ |
D | tracing.h | 1825 #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/ |
D | kernel.h | 473 struct k_heap *heap) in k_thread_heap_assign() 5570 struct sys_heap heap; member
|