/Zephyr-latest/kernel/ |
D | kheap.c | 15 void k_heap_init(struct k_heap *heap, void *mem, size_t bytes) in k_heap_init() 20 SYS_PORT_TRACING_OBJ_INIT(k_heap, heap); in k_heap_init() 25 STRUCT_SECTION_FOREACH(k_heap, heap) { in statics_init() 65 void *k_heap_aligned_alloc(struct k_heap *heap, size_t align, size_t bytes, in k_heap_aligned_alloc() 73 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_heap, aligned_alloc, heap, timeout); in k_heap_aligned_alloc() 90 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_heap, aligned_alloc, heap, timeout); in k_heap_aligned_alloc() 102 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap, aligned_alloc, heap, timeout, ret); 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() 110 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_heap, alloc, heap, timeout); in k_heap_alloc() 114 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap, alloc, heap, timeout, ret); in k_heap_alloc() [all …]
|
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() 15 struct k_heap **heap_ref; in z_heap_aligned_alloc() 45 struct k_heap **heap_ref; in k_free() 119 struct k_heap *heap, **heap_ref; in k_realloc() 163 struct k_heap *heap; in z_thread_aligned_alloc()
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_string_format_test.c | 344 void sys_trace_k_heap_init(struct k_heap *h, void *mem, size_t bytes) in sys_trace_k_heap_init() 349 void sys_trace_k_heap_aligned_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_aligned_alloc_enter() 354 void sys_trace_k_heap_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_alloc_enter() 359 void sys_trace_k_heap_calloc_enter(struct k_heap *h, size_t num, size_t size, k_timeout_t timeout) in sys_trace_k_heap_calloc_enter() 364 void sys_trace_k_heap_free(struct k_heap *h, void *mem) in sys_trace_k_heap_free() 369 void sys_trace_k_heap_realloc_enter(struct k_heap *h, void *ptr, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_realloc_enter() 373 void sys_trace_k_heap_realloc_exit(struct k_heap *h, void *ptr, size_t bytes, k_timeout_t timeout, in sys_trace_k_heap_realloc_exit() 379 void sys_trace_k_heap_aligned_alloc_blocking(struct k_heap *h, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_aligned_alloc_blocking() 384 void sys_trace_k_heap_alloc_exit(struct k_heap *h, size_t bytes, k_timeout_t timeout, void *ret) in sys_trace_k_heap_alloc_exit() 389 void sys_trace_k_heap_calloc_exit(struct k_heap *h, size_t num, size_t size, k_timeout_t timeout, in sys_trace_k_heap_calloc_exit() [all …]
|
D | tracing_test.h | 488 void sys_trace_k_thread_heap_assign(struct k_thread *thread, struct k_heap *heap); 664 void sys_trace_k_heap_init(struct k_heap *h, void *mem, size_t bytes); 665 void sys_trace_k_heap_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout); 666 void sys_trace_k_heap_alloc_exit(struct k_heap *h, size_t bytes, k_timeout_t timeout, void *ret); 667 void sys_trace_k_heap_calloc_enter(struct k_heap *h, size_t num, size_t size, k_timeout_t timeout); 668 void sys_trace_k_heap_calloc_exit(struct k_heap *h, size_t num, size_t size, k_timeout_t timeout, 670 void sys_trace_k_heap_aligned_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout); 671 void sys_trace_k_heap_aligned_alloc_blocking(struct k_heap *h, size_t bytes, k_timeout_t timeout); 672 void sys_trace_k_heap_aligned_alloc_exit(struct k_heap *h, size_t bytes, k_timeout_t timeout, 674 void sys_trace_k_heap_free(struct k_heap *h, void *mem); [all …]
|
/Zephyr-latest/subsys/llext/ |
D | llext_priv.h | 30 extern struct k_heap llext_heap; in llext_alloc() 37 extern struct k_heap llext_heap; in llext_aligned_alloc() 44 extern struct k_heap llext_heap; in llext_free()
|
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/ |
D | inherit.c | 126 struct k_heap *z_impl_ret_resource_pool_ptr(void) in z_impl_ret_resource_pool_ptr() 131 static inline struct k_heap *z_vrfy_ret_resource_pool_ptr(void) in z_vrfy_ret_resource_pool_ptr() 136 struct k_heap *child_heap_mem_ptr; 137 struct k_heap *parent_heap_mem_ptr;
|
D | mem_protect.h | 94 __syscall struct k_heap *ret_resource_pool_ptr(void);
|
/Zephyr-latest/tests/bluetooth/host/conn/mocks/ |
D | kernel.c | 30 DEFINE_FAKE_VALUE_FUNC(void *, k_heap_alloc, struct k_heap *, size_t, k_timeout_t); 31 DEFINE_FAKE_VOID_FUNC(k_heap_free, struct k_heap *, void *);
|
D | kernel.h | 53 DECLARE_FAKE_VALUE_FUNC(void *, k_heap_alloc, struct k_heap *, size_t, k_timeout_t); 54 DECLARE_FAKE_VOID_FUNC(k_heap_free, struct k_heap *, void *);
|
/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() 127 k_thread_heap_assign(k_current_get(), static_cast<k_heap *>(heap)); in inferenceProcessTask() 165 k_thread_heap_assign(k_current_get(), static_cast<k_heap *>(heap)); in inferenceSenderTask()
|
/Zephyr-latest/tests/kernel/queue/src/ |
D | test_queue.h | 14 extern struct k_heap test_pool;
|
/Zephyr-latest/tests/kernel/pipe/pipe_api/src/ |
D | main.c | 21 extern struct k_heap test_pool;
|
/Zephyr-latest/soc/espressif/common/ |
D | esp_heap_runtime.c | 26 static struct k_heap esp_heap_runtime;
|
/Zephyr-latest/drivers/mspi/ |
D | mspi_ambiq.h | 20 STRUCT_SECTION_ITERABLE(k_heap, name) = { \
|
/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/include/zephyr/drivers/usb/ |
D | udc_buf.h | 79 STRUCT_SECTION_ITERABLE(k_heap, name) = { \
|
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_impl.h | 15 extern struct k_heap direntry_heap;
|
/Zephyr-latest/include/zephyr/kernel/ |
D | thread.h | 349 struct k_heap *resource_pool;
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 472 struct k_heap *heap) in k_thread_heap_assign() 5445 struct k_heap { struct 5464 void k_heap_init(struct k_heap *h, void *mem, 5487 void *k_heap_aligned_alloc(struct k_heap *h, size_t align, size_t bytes, 5511 void *k_heap_alloc(struct k_heap *h, size_t bytes, 5536 void *k_heap_calloc(struct k_heap *h, size_t num, size_t size, k_timeout_t timeout) 5562 void *k_heap_realloc(struct k_heap *h, void *ptr, size_t bytes, k_timeout_t timeout) 5575 void k_heap_free(struct k_heap *h, void *mem) __attribute_nonnull(1); 5602 STRUCT_SECTION_ITERABLE(k_heap, name) = { \
|
/Zephyr-latest/samples/subsys/llext/edk/app/src/ |
D | main.c | 120 struct k_heap *heap, in run_extension_on_thread()
|
/Zephyr-latest/cmake/sca/eclair/ECL/ |
D | extra.ecl | 71 -extra_definitions+="^_(_static_thread_data|k_timer|k_mem_slab|k_mem_pool|k_heap|k_mutex|k_stack|k_…
|
/Zephyr-latest/include/zephyr/linker/ |
D | common-ram.ld | 78 ITERABLE_SECTION_RAM_GC_ALLOWED(k_heap, Z_LINK_ITERABLE_SUBALIGN)
|
/Zephyr-latest/doc/kernel/memory_management/ |
D | heap.rst | 16 :c:macro:`K_HEAP_DEFINE` macro. This creates a static :c:struct:`k_heap` variable 49 The underlying implementation of the :c:struct:`k_heap` 55 or more complicated. Unlike ``k_heap``, all calls to any ``sys_heap``
|
/Zephyr-latest/cmake/linker_script/common/ |
D | common-ram.cmake | 37 zephyr_iterable_section(NAME k_heap GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN ${CONFIG_LIN…
|
/Zephyr-latest/lib/net_buf/ |
D | buf.c | 110 struct k_heap *pool = buf_pool->alloc->alloc_data; in mem_pool_data_alloc() 130 struct k_heap *pool = buf_pool->alloc->alloc_data; in mem_pool_data_unref()
|