Searched refs:bucket_idx (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/lib/heap/ |
D | heap_validate.c | 110 for (int b = 0; b <= bucket_idx(h, h->end_chunk); b++) { in sys_heap_validate() 163 for (int b = 0; b <= bucket_idx(h, h->end_chunk); b++) { in sys_heap_validate()
|
D | heap_info.c | 16 int i, nb_buckets = bucket_idx(h, h->end_chunk) + 1; in heap_print_info()
|
D | heap.c | 63 int bidx = bucket_idx(h, chunk_size(h, c)); in free_list_remove() 101 int bidx = bucket_idx(h, chunk_size(h, c)); in free_list_add() 213 int bi = bucket_idx(h, sz); in alloc_chunk() 216 CHECK(bi <= bucket_idx(h, h->end_chunk)); in alloc_chunk() 520 int nb_buckets = bucket_idx(h, heap_sz) + 1; in sys_heap_init()
|
D | heap.h | 250 static inline int bucket_idx(struct z_heap *h, chunksz_t sz) in bucket_idx() function
|