Lines Matching refs:heap
12 static void *z_heap_aligned_alloc(struct k_heap *heap, size_t align, size_t size) in z_heap_aligned_alloc() argument
29 mem = k_heap_aligned_alloc(heap, __align, size, K_NO_WAIT); in z_heap_aligned_alloc()
35 *heap_ref = heap; in z_heap_aligned_alloc()
119 struct k_heap *heap, **heap_ref; in k_realloc() local
131 heap = *heap_ref; in k_realloc()
133 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_heap_sys, k_realloc, heap, ptr); in k_realloc()
136 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap_sys, k_realloc, heap, ptr, NULL); in k_realloc()
140 ret = k_heap_realloc(heap, ptr, size, K_NO_WAIT); in k_realloc()
147 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap_sys, k_realloc, heap, ptr, ret); in k_realloc()
163 struct k_heap *heap; in z_thread_aligned_alloc() local
166 heap = _SYSTEM_HEAP; in z_thread_aligned_alloc()
168 heap = arch_current_thread()->resource_pool; in z_thread_aligned_alloc()
171 if (heap != NULL) { in z_thread_aligned_alloc()
172 ret = z_heap_aligned_alloc(heap, align, size); in z_thread_aligned_alloc()