Searched refs:right_chunk (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/lib/heap/ |
D | heap_validate.c | 25 VALIDATE(c >= right_chunk(h, 0)); in in_bounds() 36 VALIDATE(right_chunk(h, left_chunk(h, c)) == c); in valid_chunk() 37 VALIDATE(left_chunk(h, right_chunk(h, c)) == c); in valid_chunk() 42 VALIDATE(chunk_used(h, right_chunk(h, c))); in valid_chunk() 79 for (c = right_chunk(h, 0); c < h->end_chunk; c = right_chunk(h, c)) { in sys_heap_validate() 144 for (c = right_chunk(h, 0); c < h->end_chunk; c = right_chunk(h, c)) { 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 | 48 for (chunkid_t c = 0; ; c = right_chunk(h, c)) { in heap_print_info() 56 right_chunk(h, c)); in heap_print_info()
|
D | heap.c | 121 set_left_chunk_size(h, right_chunk(h, rc), rsz); in split_chunks() 130 set_left_chunk_size(h, right_chunk(h, rc), newsz); in merge_chunks() 136 if (!chunk_used(h, right_chunk(h, c))) { in free_chunk() 137 free_list_remove(h, right_chunk(h, c)); in free_chunk() 138 merge_chunks(h, c, right_chunk(h, c)); in free_chunk() 183 __ASSERT(left_chunk(h, right_chunk(h, c)) == c, in sys_heap_free() 359 if (right_chunk(h, c) > c_end) { in sys_heap_aligned_alloc() 400 chunkid_t rc = right_chunk(h, c); in sys_heap_aligned_realloc()
|
D | heap.h | 204 static inline chunkid_t right_chunk(struct z_heap *h, chunkid_t c) in right_chunk() function 273 for (c = right_chunk(h, 0); c < h->end_chunk; c = right_chunk(h, c)) { in get_alloc_info()
|