Searched refs:bucket_idx (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-2.7.6/lib/os/ |
D | heap.c | 46 int bidx = bucket_idx(h, chunk_size(h, c)); in free_list_remove() 80 int bidx = bucket_idx(h, chunk_size(h, c)); in free_list_add() 172 int bi = bucket_idx(h, sz); in alloc_chunk() 175 CHECK(bi <= bucket_idx(h, h->end_chunk)); in alloc_chunk() 402 int nb_buckets = bucket_idx(h, heap_sz) + 1; in sys_heap_init()
|
D | heap-validate.c | 91 for (int b = 0; b <= bucket_idx(h, h->end_chunk); b++) { in sys_heap_validate() 143 for (int b = 0; b <= bucket_idx(h, h->end_chunk); b++) { in sys_heap_validate() 317 int i, nb_buckets = bucket_idx(h, h->end_chunk) + 1; in heap_print_info()
|
D | heap.h | 239 static inline int bucket_idx(struct z_heap *h, chunksz_t sz) in bucket_idx() function
|