Searched refs:bch_devs_mask (Results 1 – 20 of 20) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
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()
|
D | io_write_types.h | 82 struct bch_devs_mask failed; 91 struct bch_devs_mask *devs_need_flush;
|
D | sb-members.h | 32 static inline unsigned dev_mask_nr(const struct bch_devs_mask *devs) in dev_mask_nr() 71 const struct bch_devs_mask *mask) in __bch2_next_dev_idx() 86 const struct bch_devs_mask *mask) in __bch2_next_dev() 291 static inline struct bch_devs_mask bch2_online_devs(struct bch_fs *c) in bch2_online_devs() 293 struct bch_devs_mask devs; in bch2_online_devs()
|
D | disk_groups_types.h | 9 struct bch_devs_mask devs;
|
D | super_types.h | 20 struct bch_devs_mask { struct
|
D | alloc_foreground.h | 28 struct bch_devs_mask *); 160 struct dev_stripe_state *, struct bch_devs_mask *,
|
D | replicas.h | 46 bool bch2_have_enough_devs(struct bch_fs *, struct bch_devs_mask,
|
D | disk_groups.c | 199 const struct bch_devs_mask *bch2_target_to_mask(struct bch_fs *c, unsigned target) in bch2_target_to_mask() 202 struct bch_devs_mask *devs; in bch2_target_to_mask() 245 const struct bch_devs_mask *m; in bch2_dev_in_target()
|
D | io_read.h | 78 struct bch_devs_mask;
|
D | alloc_foreground.c | 708 struct bch_devs_mask *devs) in bch2_dev_alloc_list() 752 struct bch_devs_mask *devs_may_alloc, in add_new_bucket() 778 struct bch_devs_mask *devs_may_alloc, in bch2_bucket_alloc_set_trans() 843 struct bch_devs_mask *devs_may_alloc, in bucket_alloc_from_stripe() 901 struct bch_devs_mask *devs_may_alloc, in want_bucket() 926 struct bch_devs_mask *devs_may_alloc, in bucket_alloc_set_writepoint() 954 struct bch_devs_mask *devs_may_alloc, in bucket_alloc_set_partial() 1018 struct bch_devs_mask devs; in __open_bucket_add_buckets()
|
D | fs.h | 39 struct bch_devs_mask ei_devs_need_flush;
|
D | ec.h | 201 struct bch_devs_mask devs;
|
D | bcachefs.h | 537 struct bch_devs_mask self; 875 struct bch_devs_mask rw_devs[BCH_DATA_NR];
|
D | ec.c | 1656 struct bch_devs_mask *devs) in pick_blocksize() 1750 struct bch_devs_mask devs = h->devs; in ec_stripe_head_devs_update() 1793 struct bch_devs_mask devs_leaving; in ec_stripe_head_devs_update() 1894 struct bch_devs_mask devs = h->devs; in new_stripe_alloc_buckets()
|
D | replicas.c | 808 bool bch2_have_enough_devs(struct bch_fs *c, struct bch_devs_mask devs, in bch2_have_enough_devs()
|
D | fs-io.c | 61 struct bch_devs_mask devs; in bch2_inode_flush_nocow_writes_async()
|
D | io_read.c | 33 const struct bch_devs_mask *devs; in bch2_target_congested()
|
D | super-io.c | 938 struct bch_devs_mask sb_written; in bch2_write_super()
|
D | super.c | 1469 struct bch_devs_mask new_online_devs; in bch2_dev_state_allowed()
|
D | journal_io.c | 1479 struct bch_devs_mask devs; in journal_write_alloc()
|