Lines Matching refs:h
14 static void heap_print_info(struct z_heap *h, bool dump_chunks) in heap_print_info() argument
16 int i, nb_buckets = bucket_idx(h, h->end_chunk) + 1; in heap_print_info()
20 chunk_buf(h), h->end_chunk, nb_buckets); in heap_print_info()
26 chunkid_t first = h->buckets[i].next; in heap_print_info()
35 largest = MAX(largest, chunk_size(h, curr)); in heap_print_info()
36 curr = next_free_chunk(h, curr); in heap_print_info()
41 i, (1 << i) - 1 + min_chunk_size(h), count, in heap_print_info()
42 largest, chunksz_to_bytes(h, largest)); in heap_print_info()
48 for (chunkid_t c = 0; ; c = right_chunk(h, c)) { in heap_print_info()
51 chunk_used(h, c) ? '*' in heap_print_info()
52 : solo_free_header(h, c) ? '.' in heap_print_info()
54 chunk_size(h, c), in heap_print_info()
55 left_chunk(h, c), in heap_print_info()
56 right_chunk(h, c)); in heap_print_info()
57 if (c == h->end_chunk) { in heap_print_info()
63 get_alloc_info(h, &allocated_bytes, &free_bytes); in heap_print_info()
65 total = h->end_chunk * CHUNK_UNIT + chunk_header_bytes(h); in heap_print_info()