Searched refs:bch2_dev_rcu (Results 1 – 9 of 9) sorted by relevance
| /fs/bcachefs/ |
| A D | sb-members.h | 27 static inline struct bch_dev *bch2_dev_rcu(struct bch_fs *, unsigned); 32 struct bch_dev *ca = bch2_dev_rcu(c, dev); in bch2_dev_idx_is_online() 226 static inline struct bch_dev *bch2_dev_rcu(struct bch_fs *c, unsigned dev) in bch2_dev_rcu() function 296 struct bch_dev *ca = bch2_dev_rcu(c, dev); in bch2_dev_get_ioref()
|
| A D | extents.c | 161 struct bch_dev *ca2 = bch2_dev_rcu(c, p2.ptr.dev); in ptr_better() 423 struct bch_dev *ca = bch2_dev_rcu(c, lp.ptr.dev); in bch2_extent_merge() 819 struct bch_dev *ca = bch2_dev_rcu(c, p->ptr.dev); in bch2_extent_ptr_desired_durability() 826 struct bch_dev *ca = bch2_dev_rcu(c, p->ptr.dev); in bch2_extent_ptr_durability() 1018 (ca = bch2_dev_rcu(c, ptr->dev)) && in bch2_bkey_has_target() 1190 (!(ca = bch2_dev_rcu(c, ptr->dev)) || in bch2_extent_normalize()
|
| A D | alloc_foreground.c | 169 bch2_dev_rcu(c, ob->dev)->nr_partial_buckets++; in open_bucket_free_unused() 879 bch2_dev_rcu(c, ob->dev)->nr_partial_buckets--; in bucket_alloc_set_partial() 1062 bch2_dev_rcu(c, ob->dev)->nr_partial_buckets--; in bch2_open_buckets_stop()
|
| A D | btree_gc.c | 1141 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in gc_btree_gens_key() 1150 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in gc_btree_gens_key()
|
| A D | sb-members.c | 473 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in bch2_dev_btree_bitmap_marked()
|
| A D | buckets.c | 314 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in bch2_check_fix_ptrs() 325 struct bch_dev *ca = bch2_dev_rcu(c, p.ptr.dev); in bch2_check_fix_ptrs()
|
| A D | move.c | 1183 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in rereplicate_pred()
|
| A D | ec.c | 2151 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in bch2_invalidate_stripe_to_dev()
|
| A D | btree_io.c | 1366 struct bch_dev *ca2 = bch2_dev_rcu(c, ptr->dev); in bch2_btree_node_read_done()
|
Completed in 33 milliseconds