Searched refs:bidx (Results 1 – 2 of 2) sorted by relevance
34 static void free_list_remove_bidx(struct z_heap *h, chunkid_t c, int bidx) in free_list_remove_bidx() argument36 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() local64 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() argument70 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()[all …]
55 static inline void check_nexts(struct z_heap *h, int bidx) in check_nexts() argument57 struct z_heap_bucket *b = &h->buckets[bidx]; in check_nexts()59 bool emptybit = (h->avail_buckets & BIT(bidx)) == 0; in check_nexts()