Lines Matching refs:heap_ref
15 struct k_heap **heap_ref; in z_heap_aligned_alloc() local
24 if (size_add_overflow(size, sizeof(heap_ref), &size)) { in z_heap_aligned_alloc()
27 __align = align | sizeof(heap_ref); in z_heap_aligned_alloc()
34 heap_ref = mem; in z_heap_aligned_alloc()
35 *heap_ref = heap; in z_heap_aligned_alloc()
36 mem = ++heap_ref; in z_heap_aligned_alloc()
45 struct k_heap **heap_ref; in k_free() local
48 heap_ref = ptr; in k_free()
49 --heap_ref; in k_free()
50 ptr = heap_ref; in k_free()
52 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_heap_sys, k_free, *heap_ref, heap_ref); in k_free()
54 k_heap_free(*heap_ref, ptr); in k_free()
56 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap_sys, k_free, *heap_ref, heap_ref); in k_free()
119 struct k_heap *heap, **heap_ref; in k_realloc() local
129 heap_ref = ptr; in k_realloc()
130 ptr = --heap_ref; in k_realloc()
131 heap = *heap_ref; in k_realloc()
135 if (size_add_overflow(size, sizeof(heap_ref), &size)) { in k_realloc()
143 heap_ref = ret; in k_realloc()
144 ret = ++heap_ref; in k_realloc()