Home
last modified time | relevance | path

Searched refs:bch_devs_mask (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Ddisk_groups.h59 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()
Dio_write_types.h82 struct bch_devs_mask failed;
91 struct bch_devs_mask *devs_need_flush;
Dsb-members.h32 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()
Ddisk_groups_types.h9 struct bch_devs_mask devs;
Dsuper_types.h20 struct bch_devs_mask { struct
Dalloc_foreground.h28 struct bch_devs_mask *);
160 struct dev_stripe_state *, struct bch_devs_mask *,
Dreplicas.h46 bool bch2_have_enough_devs(struct bch_fs *, struct bch_devs_mask,
Ddisk_groups.c199 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()
Dio_read.h78 struct bch_devs_mask;
Dalloc_foreground.c708 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()
Dfs.h39 struct bch_devs_mask ei_devs_need_flush;
Dec.h201 struct bch_devs_mask devs;
Dbcachefs.h537 struct bch_devs_mask self;
875 struct bch_devs_mask rw_devs[BCH_DATA_NR];
Dec.c1656 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()
Dreplicas.c808 bool bch2_have_enough_devs(struct bch_fs *c, struct bch_devs_mask devs, in bch2_have_enough_devs()
Dfs-io.c61 struct bch_devs_mask devs; in bch2_inode_flush_nocow_writes_async()
Dio_read.c33 const struct bch_devs_mask *devs; in bch2_target_congested()
Dsuper-io.c938 struct bch_devs_mask sb_written; in bch2_write_super()
Dsuper.c1469 struct bch_devs_mask new_online_devs; in bch2_dev_state_allowed()
Djournal_io.c1479 struct bch_devs_mask devs; in journal_write_alloc()