Searched refs:devs_sorted (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | journal_io.c | 1416 struct dev_alloc_list *devs_sorted, in __journal_write_alloc() argument 1429 for (i = 0; i < devs_sorted->nr; i++) { in __journal_write_alloc() 1430 ca = rcu_dereference(c->devs[devs_sorted->devs[i]]); in __journal_write_alloc() 1482 struct dev_alloc_list devs_sorted; in journal_write_alloc() local 1495 devs_sorted = bch2_dev_alloc_list(c, &j->wp.stripe, &devs); in journal_write_alloc() 1497 __journal_write_alloc(j, w, &devs_sorted, in journal_write_alloc() 1503 for (i = 0; i < devs_sorted.nr; i++) { in journal_write_alloc() 1504 ca = rcu_dereference(c->devs[devs_sorted.devs[i]]); in journal_write_alloc() 1525 __journal_write_alloc(j, w, &devs_sorted, in journal_write_alloc()
|
D | alloc_foreground.c | 788 struct dev_alloc_list devs_sorted = in bch2_bucket_alloc_set_trans() local 794 for (unsigned i = 0; i < devs_sorted.nr; i++) { in bch2_bucket_alloc_set_trans() 798 unsigned dev = devs_sorted.devs[i]; in bch2_bucket_alloc_set_trans() 853 struct dev_alloc_list devs_sorted; in bucket_alloc_from_stripe() local 871 devs_sorted = bch2_dev_alloc_list(c, &wp->stripe, devs_may_alloc); in bucket_alloc_from_stripe() 873 for (i = 0; i < devs_sorted.nr; i++) in bucket_alloc_from_stripe() 879 if (ob->dev == devs_sorted.devs[i] && in bucket_alloc_from_stripe()
|