Home
last modified time | relevance | path

Searched refs:heap_idx (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dec_types.h13 size_t heap_idx; member
Dec.c1034 genradix_ptr(&c->stripes, h->data[i].idx)->heap_idx = i; in ec_stripes_heap_set_backpointer()
1065 BUG_ON(m->heap_idx >= h->nr); in heap_verify_backpointer()
1066 BUG_ON(h->data[m->heap_idx].idx != idx); 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()
1095 genradix_ptr(&c->stripes, idx)->heap_idx = c->ec_stripes_heap.nr; in bch2_stripes_heap_insert()
1121 h->data[m->heap_idx].blocks_nonempty = m->blocks_nonempty; in bch2_stripes_heap_update()
1123 i = m->heap_idx; in bch2_stripes_heap_update()
1988 size_t heap_idx; in get_existing_stripe() local
1996 for (heap_idx = 0; heap_idx < h->nr; heap_idx++) { in get_existing_stripe()
1998 if (!h->data[heap_idx].blocks_nonempty) in get_existing_stripe()
[all …]