Lines Matching refs:bidx
34 static void free_list_remove_bidx(struct z_heap *h, chunkid_t c, int bidx) in free_list_remove_bidx() argument
36 struct z_heap_bucket *b = &h->buckets[bidx]; in free_list_remove_bidx()
40 CHECK(h->avail_buckets & BIT(bidx)); in free_list_remove_bidx()
44 h->avail_buckets &= ~BIT(bidx); in free_list_remove_bidx()
63 int bidx = bucket_idx(h, chunk_size(h, c)); in free_list_remove() local
64 free_list_remove_bidx(h, c, bidx); in free_list_remove()
68 static void free_list_add_bidx(struct z_heap *h, chunkid_t c, int bidx) in free_list_add_bidx() argument
70 struct z_heap_bucket *b = &h->buckets[bidx]; in free_list_add_bidx()
73 CHECK((h->avail_buckets & BIT(bidx)) == 0); in free_list_add_bidx()
76 h->avail_buckets |= BIT(bidx); in free_list_add_bidx()
81 CHECK(h->avail_buckets & BIT(bidx)); in free_list_add_bidx()
101 int bidx = bucket_idx(h, chunk_size(h, c)); in free_list_add() local
102 free_list_add_bidx(h, c, bidx); in free_list_add()