Searched refs:bch_devs_mask (Results 1 – 21 of 21) sorted by relevance
| /linux-6.15/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 | 82 struct bch_devs_mask failed; 91 struct bch_devs_mask *devs_need_flush;
|
| H A D | sb-members.h | 44 static inline unsigned dev_mask_nr(const struct bch_devs_mask *devs) in dev_mask_nr() 83 const struct bch_devs_mask *mask) in __bch2_next_dev_idx() 98 const struct bch_devs_mask *mask) in __bch2_next_dev() 309 static inline struct bch_devs_mask bch2_online_devs(struct bch_fs *c) in bch2_online_devs() 311 struct bch_devs_mask devs; in bch2_online_devs()
|
| H A D | disk_groups_types.h | 9 struct bch_devs_mask devs;
|
| H A D | super_types.h | 26 struct bch_devs_mask { struct
|
| H A D | alloc_foreground.h | 28 struct bch_devs_mask *); 177 struct dev_stripe_state *, struct bch_devs_mask *,
|
| H A D | replicas.h | 46 bool bch2_have_enough_devs(struct bch_fs *, struct bch_devs_mask,
|
| H A 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()
|
| H A D | alloc_foreground.c | 616 struct bch_devs_mask *devs) in bch2_dev_alloc_list() 697 struct bch_devs_mask *devs_may_alloc, in add_new_bucket() 723 struct bch_devs_mask *devs_may_alloc, in bch2_bucket_alloc_set_trans() 784 struct bch_devs_mask *devs_may_alloc, in bucket_alloc_from_stripe() 836 struct bch_devs_mask *devs_may_alloc, in want_bucket() 861 struct bch_devs_mask *devs_may_alloc, in bucket_alloc_set_writepoint() 889 struct bch_devs_mask *devs_may_alloc, in bucket_alloc_set_partial() 953 struct bch_devs_mask devs; in __open_bucket_add_buckets()
|
| H A D | io_read.h | 77 struct bch_devs_mask;
|
| H A D | fs.h | 40 struct bch_devs_mask ei_devs_need_flush;
|
| H A D | ec.h | 238 struct bch_devs_mask devs;
|
| H A D | bcachefs.h | 550 struct bch_devs_mask self; 888 struct bch_devs_mask rw_devs[BCH_DATA_NR];
|
| H A D | ec.c | 1481 struct bch_devs_mask *devs) in pick_blocksize() 1572 struct bch_devs_mask devs = h->devs; in ec_stripe_head_devs_update() 1615 struct bch_devs_mask devs_leaving; in ec_stripe_head_devs_update() 1717 struct bch_devs_mask devs = h->devs; in new_stripe_alloc_buckets()
|
| 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 | data_update.c | 702 struct bch_devs_mask devs = target_rw_devs(c, BCH_DATA_user, target); in can_write_extent()
|
| H A D | fs-io.c | 61 struct bch_devs_mask devs; in bch2_inode_flush_nocow_writes_async()
|
| H A D | io_read.c | 41 const struct bch_devs_mask *devs; in bch2_target_congested()
|
| H A D | super-io.c | 1017 struct bch_devs_mask sb_written; in bch2_write_super()
|
| H A D | journal_io.c | 1551 struct bch_devs_mask devs; in journal_write_alloc()
|
| H A D | super.c | 1549 struct bch_devs_mask new_online_devs; in bch2_dev_state_allowed()
|