Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dec_types.h40 typedef DEFINE_MIN_HEAP(struct ec_stripe_heap_entry, ec_stripes_heap) ec_stripes_heap; typedef
Dec.c921 ec_stripes_heap n, *h = &c->ec_stripes_heap; in __ec_stripe_mem_alloc()
1017 ec_stripes_heap *h = &c->ec_stripes_heap; in stripe_idx_to_delete()
1029 static inline void ec_stripes_heap_set_backpointer(ec_stripes_heap *h, in ec_stripes_heap_set_backpointer()
1032 struct bch_fs *c = container_of(h, struct bch_fs, ec_stripes_heap); in ec_stripes_heap_set_backpointer()
1050 ec_stripes_heap *_h = (ec_stripes_heap *)h; in ec_stripes_heap_swap()
1062 ec_stripes_heap *h = &c->ec_stripes_heap; in heap_verify_backpointer()
1080 min_heap_del(&c->ec_stripes_heap, m->heap_idx, &callbacks, &c->ec_stripes_heap); in bch2_stripes_heap_del()
1093 BUG_ON(min_heap_full(&c->ec_stripes_heap)); in bch2_stripes_heap_insert()
1095 genradix_ptr(&c->stripes, idx)->heap_idx = c->ec_stripes_heap.nr; in bch2_stripes_heap_insert()
1096 min_heap_push(&c->ec_stripes_heap, &((struct ec_stripe_heap_entry) { in bch2_stripes_heap_insert()
[all …]
Dbcachefs.h1004 ec_stripes_heap ec_stripes_heap; member