Lines Matching refs:devs_may_alloc
752 struct bch_devs_mask *devs_may_alloc, in add_new_bucket() argument
762 __clear_bit(ob->dev, devs_may_alloc->d); in add_new_bucket()
778 struct bch_devs_mask *devs_may_alloc, in bch2_bucket_alloc_set_trans() argument
789 bch2_dev_alloc_list(c, stripe, devs_may_alloc); in bch2_bucket_alloc_set_trans()
821 if (add_new_bucket(c, ptrs, devs_may_alloc, in bch2_bucket_alloc_set_trans()
843 struct bch_devs_mask *devs_may_alloc, in bucket_alloc_from_stripe() argument
871 devs_sorted = bch2_dev_alloc_list(c, &wp->stripe, devs_may_alloc); in bucket_alloc_from_stripe()
889 ret = add_new_bucket(c, ptrs, devs_may_alloc, in bucket_alloc_from_stripe()
901 struct bch_devs_mask *devs_may_alloc, in want_bucket() argument
907 if (!test_bit(ob->dev, devs_may_alloc->d)) in want_bucket()
926 struct bch_devs_mask *devs_may_alloc, in bucket_alloc_set_writepoint() argument
938 if (!ret && want_bucket(c, wp, devs_may_alloc, in bucket_alloc_set_writepoint()
940 ret = add_new_bucket(c, ptrs, devs_may_alloc, in bucket_alloc_set_writepoint()
954 struct bch_devs_mask *devs_may_alloc, in bucket_alloc_set_partial() argument
973 if (want_bucket(c, wp, devs_may_alloc, have_cache, ec, ob)) { in bucket_alloc_set_partial()
992 ret = add_new_bucket(c, ptrs, devs_may_alloc, in bucket_alloc_set_partial()