Lines Matching refs:h
23 static void check_heap_align(struct sys_heap *h, in check_heap_align() argument
28 p = sys_heap_alloc(h, prefix); in check_heap_align()
31 q = sys_heap_aligned_alloc(h, align, size); in check_heap_align()
35 r = sys_heap_aligned_alloc(h, align, size); in check_heap_align()
42 s = sys_heap_alloc(h, (heap_end - (uint8_t *)r) - size - 8); in check_heap_align()
46 sys_heap_free(h, p); in check_heap_align()
47 sys_heap_free(h, q); in check_heap_align()
48 sys_heap_free(h, r); in check_heap_align()
49 sys_heap_free(h, s); in check_heap_align()
52 zassert_true(sys_heap_validate(h), "heap invalid"); in check_heap_align()
53 p = sys_heap_alloc(h, heap_end - heap_start); in check_heap_align()
55 q = sys_heap_alloc(h, 1); in check_heap_align()
57 sys_heap_free(h, p); in check_heap_align()