Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dalloc_foreground.c694 __clear_bit(ob->dev, req->devs_may_alloc.d); in add_new_bucket()
717 bch2_dev_alloc_list(c, stripe, &req->devs_may_alloc, &req->devs_sorted); in bch2_bucket_alloc_set_trans()
782 bch2_dev_alloc_list(c, &req->wp->stripe, &req->devs_may_alloc, &req->devs_sorted); in bucket_alloc_from_stripe()
812 if (!test_bit(ob->dev, req->devs_may_alloc.d)) in want_bucket()
901 req->devs_may_alloc = target_rw_devs(c, req->wp->data_type, req->target); in __open_bucket_add_buckets()
905 __clear_bit(*i, req->devs_may_alloc.d); in __open_bucket_add_buckets()
908 __clear_bit(ob->dev, req->devs_may_alloc.d); in __open_bucket_add_buckets()
H A Dalloc_foreground.h42 struct bch_devs_mask devs_may_alloc; member
H A Dec.c1737 req->scratch_devs_may_alloc = req->devs_may_alloc; in new_stripe_alloc_buckets()
1739 req->devs_may_alloc = h->devs; in new_stripe_alloc_buckets()
1746 bitmap_and(req->devs_may_alloc.d, req->devs_may_alloc.d, in new_stripe_alloc_buckets()
1757 __clear_bit(v->ptrs[i].dev, req->devs_may_alloc.d); in new_stripe_alloc_buckets()
1818 req->devs_may_alloc = req->scratch_devs_may_alloc; in new_stripe_alloc_buckets()