Home
last modified time | relevance | path

Searched refs:bucket_idx (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-2.7.6/lib/os/
Dheap.c46 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()
Dheap-validate.c91 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()
Dheap.h239 static inline int bucket_idx(struct z_heap *h, chunksz_t sz) in bucket_idx() function