Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Ddisk_groups.h81 bool bch2_dev_in_target(struct bch_fs *, unsigned, unsigned);
H A Dextents.c882 if (bch2_dev_in_target(c, ptr->dev, target) && in bch2_bkey_has_target()
985 !bch2_dev_in_target(c, ptr->dev, opts->promote_target)) in want_cached_ptr()
1432 if (!ptr->cached && !bch2_dev_in_target(c, ptr->dev, target)) in bch2_bkey_ptrs_need_rebalance()
1483 if (!p.ptr.cached && !bch2_dev_in_target(c, p.ptr.dev, target)) in __bch2_bkey_sectors_need_rebalance()
H A Ddisk_groups.c234 bool bch2_dev_in_target(struct bch_fs *c, unsigned dev, unsigned target) in bch2_dev_in_target() function