/Zephyr-Core-2.7.6/kernel/ |
D | kheap.c | 13 void k_heap_init(struct k_heap *h, void *mem, size_t bytes) in k_heap_init() 18 SYS_PORT_TRACING_OBJ_INIT(k_heap, h); in k_heap_init() 24 STRUCT_SECTION_FOREACH(k_heap, h) { in statics_init() 64 void *k_heap_aligned_alloc(struct k_heap *h, size_t align, size_t bytes, in k_heap_aligned_alloc() 71 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_heap, aligned_alloc, h, timeout); in k_heap_aligned_alloc() 89 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_heap, aligned_alloc, h, timeout); in k_heap_aligned_alloc() 101 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap, aligned_alloc, h, timeout, ret); in k_heap_aligned_alloc() 107 void *k_heap_alloc(struct k_heap *h, size_t bytes, k_timeout_t timeout) in k_heap_alloc() 109 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_heap, alloc, h, timeout); in k_heap_alloc() 113 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap, alloc, h, 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() 127 struct k_heap *heap; in z_thread_aligned_alloc()
|
/Zephyr-Core-2.7.6/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 | 146 __syscall struct k_heap *ret_resource_pool_ptr(void);
|
/Zephyr-Core-2.7.6/subsys/tracing/test/ |
D | tracing_string_format_test.c | 305 void sys_trace_k_heap_init(struct k_heap *h, void *mem, size_t bytes) in sys_trace_k_heap_init() 310 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() 315 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() 320 void sys_trace_k_heap_free(struct k_heap *h, void *mem) in sys_trace_k_heap_free() 325 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() 330 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() 335 void sys_trace_k_heap_aligned_alloc_exit(struct k_heap *h, size_t bytes, in sys_trace_k_heap_aligned_alloc_exit()
|
D | tracing_test.h | 454 void sys_trace_k_thread_heap_assign(struct k_thread *thread, struct k_heap *heap); 630 void sys_trace_k_heap_init(struct k_heap *h, void *mem, size_t bytes); 631 void sys_trace_k_heap_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout); 632 void sys_trace_k_heap_alloc_exit(struct k_heap *h, size_t bytes, k_timeout_t timeout, void *ret); 633 void sys_trace_k_heap_aligned_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout); 634 void sys_trace_k_heap_aligned_alloc_blocking(struct k_heap *h, size_t bytes, k_timeout_t timeout); 635 void sys_trace_k_heap_aligned_alloc_exit(struct k_heap *h, size_t bytes, k_timeout_t timeout, 637 void sys_trace_k_heap_free(struct k_heap *h, void *mem); 638 void sys_trace_k_heap_sys_k_aligned_alloc_enter(struct k_heap *h, size_t align, size_t size); 639 void sys_trace_k_heap_sys_k_aligned_alloc_exit(struct k_heap *h, size_t align, size_t size, [all …]
|
/Zephyr-Core-2.7.6/include/kernel/ |
D | mempool_heap.h | 18 struct k_heap *heap;
|
D | thread.h | 274 struct k_heap *resource_pool;
|
/Zephyr-Core-2.7.6/tests/kernel/queue/src/ |
D | test_queue.h | 42 extern struct k_heap test_pool;
|
/Zephyr-Core-2.7.6/tests/kernel/pipe/pipe_api/src/ |
D | main.c | 57 extern struct k_heap test_pool;
|
/Zephyr-Core-2.7.6/doc/reference/kernel/memory/ |
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-Core-2.7.6/include/ |
D | kernel.h | 344 struct k_heap *heap) in k_thread_heap_assign() 4951 struct k_heap { struct 4970 void k_heap_init(struct k_heap *h, void *mem, size_t bytes); 4991 void *k_heap_aligned_alloc(struct k_heap *h, size_t align, size_t bytes, 5014 void *k_heap_alloc(struct k_heap *h, size_t bytes, 5027 void k_heap_free(struct k_heap *h, void *mem); 5054 STRUCT_SECTION_ITERABLE(k_heap, name) = { \
|
/Zephyr-Core-2.7.6/include/linker/ |
D | common-ram.ld | 81 ITERABLE_SECTION_RAM_GC_ALLOWED(k_heap, 4)
|
/Zephyr-Core-2.7.6/cmake/linker_script/common/ |
D | common-ram.cmake | 52 zephyr_iterable_section(NAME k_heap GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN 4)
|
/Zephyr-Core-2.7.6/subsys/net/ |
D | buf.c | 99 struct k_heap *pool = buf_pool->alloc->alloc_data; in mem_pool_data_alloc() 119 struct k_heap *pool = buf_pool->alloc->alloc_data; in mem_pool_data_unref()
|
/Zephyr-Core-2.7.6/subsys/tracing/ctf/ |
D | tracing_ctf.h | 357 struct k_heap *heap);
|
/Zephyr-Core-2.7.6/soc/xtensa/esp32s2/ |
D | linker.ld | 154 Z_LINK_ITERABLE_GC_ALLOWED(k_heap);
|
/Zephyr-Core-2.7.6/soc/xtensa/esp32/ |
D | linker.ld | 161 Z_LINK_ITERABLE_GC_ALLOWED(k_heap);
|
/Zephyr-Core-2.7.6/doc/reference/usermode/ |
D | memory_domain.rst | 127 a k_heap to draw these allocations from for the target thread.
|
/Zephyr-Core-2.7.6/doc/releases/ |
D | release-notes-2.3.rst | 19 * A new k_heap/sys_heap heap allocator has been introduced, with much better 184 * A new general purpose memory allocator, sys_heap/k_heap, has been added 994 * :github:`24359` - k_heap / sys_heap needs overview documentation
|
D | release-notes-2.5.rst | 144 past release it was backed by a k_heap, but maintained a 1026 * :github:`31797` - need 2.5 release notes on switch to k_heap from mem_pool 1465 * :github:`29654` - k_heap APIs have no tests
|
D | release-notes-2.4.rst | 118 the ``k_heap`` and ``sys_heap`` APIs. These APIs are not tagged with
|
D | release-notes-2.6.rst | 1774 * :github:`33009` - kernel: k_heap failures on small heaps
|
D | release-notes-2.7.rst | 536 * A new k_heap/sys_heap allocator, with improved performance
|