/Zephyr-latest/kernel/ |
D | kheap.c | 15 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()
|
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 | 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 181 #define sys_heap_realloc(heap, ptr, bytes) \ argument 216 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 | 13 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 | 62 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 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/ |
D | tracing_ctf.h | 30 #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/ |
D | tracing_user.h | 106 #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/ |
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 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/ |
D | tracing.h | 1753 #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/ |
D | dmm.c | 45 struct sys_heap heap; member
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 472 struct k_heap *heap) in k_thread_heap_assign() 5446 struct sys_heap heap; member
|