Searched refs:end_chunk (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/lib/heap/ |
D | heap_validate.c | 26 VALIDATE(c < h->end_chunk); in in_bounds() 27 VALIDATE(chunk_size(h, c) < h->end_chunk); in in_bounds() 34 VALIDATE((c + chunk_size(h, c)) <= h->end_chunk); in valid_chunk() 79 for (c = right_chunk(h, 0); c < h->end_chunk; c = right_chunk(h, c)) { in sys_heap_validate() 84 if (c != h->end_chunk) { in sys_heap_validate() 110 for (int b = 0; b <= bucket_idx(h, h->end_chunk); b++) { in sys_heap_validate() 144 for (c = right_chunk(h, 0); c < h->end_chunk; c = right_chunk(h, c)) { in sys_heap_validate() 155 if (c != h->end_chunk) { in sys_heap_validate() 163 for (int b = 0; b <= bucket_idx(h, h->end_chunk); b++) { in sys_heap_validate() 182 for (c = right_chunk(h, 0); c < h->end_chunk; c = right_chunk(h, c)) { in sys_heap_validate()
|
D | heap_info.c | 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() 57 if (c == h->end_chunk) { in heap_print_info() 65 total = h->end_chunk * CHUNK_UNIT + chunk_header_bytes(h); in heap_print_info()
|
D | heap.h | 70 chunkid_t end_chunk; member 98 return big_heap_chunks(h->end_chunk); in big_heap() 123 CHECK(c <= h->end_chunk); in chunk_set() 262 return (bytes / CHUNK_UNIT) >= h->end_chunk; in size_too_big() 273 for (c = right_chunk(h, 0); c < h->end_chunk; c = right_chunk(h, c)) { in get_alloc_info()
|
D | heap.c | 216 CHECK(bi <= bucket_idx(h, h->end_chunk)); in alloc_chunk() 511 h->end_chunk = heap_sz; in sys_heap_init()
|