Searched refs:bch_devs_mask (Results 1 – 20 of 20) sorted by relevance
/linux/fs/bcachefs/ |
H A D | disk_groups.h | 59 const struct bch_devs_mask *bch2_target_to_mask(struct bch_fs *, unsigned); 61 static inline struct bch_devs_mask target_rw_devs(struct bch_fs *c, in target_rw_devs() 65 struct bch_devs_mask devs = c->rw_devs[data_type]; in target_rw_devs() 66 const struct bch_devs_mask *t = bch2_target_to_mask(c, target); in target_rw_devs() 77 struct bch_devs_mask rw_devs = target_rw_devs(c, data_type, target); in bch2_target_accepts_data()
|
H A D | io_write_types.h | 114 struct bch_devs_mask failed; 123 struct bch_devs_mask *devs_need_flush;
|
H A D | alloc_foreground.h | 42 struct bch_devs_mask devs_may_alloc; 72 struct bch_devs_mask scratch_devs_may_alloc; 77 struct bch_devs_mask *,
|
H A D | disk_groups_types.h | 9 struct bch_devs_mask devs;
|
H A D | sb-members.h | 42 static inline unsigned dev_mask_nr(const struct bch_devs_mask *devs) in dev_mask_nr() 81 const struct bch_devs_mask *mask) in __bch2_next_dev_idx() 96 const struct bch_devs_mask *mask) in __bch2_next_dev()
|
H A D | replicas.h | 46 bool bch2_have_enough_devs(struct bch_fs *, struct bch_devs_mask,
|
H A D | io_read.h | 82 struct bch_devs_mask;
|
H A D | fs.h | 40 struct bch_devs_mask ei_devs_need_flush;
|
H A D | bcachefs.h | 626 struct bch_devs_mask self; 958 struct bch_devs_mask online_devs; 959 struct bch_devs_mask rw_devs[BCH_DATA_NR];
|
H A D | disk_groups.c | 170 const struct bch_devs_mask *bch2_target_to_mask(struct bch_fs *c, unsigned target) in bch2_target_to_mask() 208 const struct bch_devs_mask *m = in bch2_dev_in_target()
|
H A D | ec.h | 238 struct bch_devs_mask devs;
|
H A D | ec.c | 1490 struct bch_devs_mask *devs) in pick_blocksize() 1581 struct bch_devs_mask devs = h->devs; in ec_stripe_head_devs_update() 1624 struct bch_devs_mask devs_leaving; in ec_stripe_head_devs_update()
|
H A D | replicas.c | 808 bool bch2_have_enough_devs(struct bch_fs *c, struct bch_devs_mask devs, in bch2_have_enough_devs()
|
H A D | fs-io.c | 63 struct bch_devs_mask devs; in bch2_inode_flush_nocow_writes_async()
|
H A D | data_update.c | 781 struct bch_devs_mask devs = target_rw_devs(c, BCH_DATA_user, target); in can_write_extent()
|
H A D | super-io.c | 1027 struct bch_devs_mask sb_written; in bch2_write_super()
|
H A D | io_read.c | 50 const struct bch_devs_mask *devs; in bch2_target_congested()
|
H A D | alloc_foreground.c | 607 struct bch_devs_mask *devs, in bch2_dev_alloc_list()
|
H A D | super.c | 1657 struct bch_devs_mask new_online_devs; in bch2_dev_state_allowed()
|
H A D | journal_io.c | 1616 struct bch_devs_mask devs; in journal_write_alloc()
|