Searched refs:bch2_dev_get_ioref (Results 1 – 9 of 9) sorted by relevance
/linux/fs/bcachefs/ |
H A D | sb-members.h | 272 static inline struct bch_dev *bch2_dev_get_ioref(struct bch_fs *c, unsigned dev, int rw) in bch2_dev_get_ioref() function
|
H A D | debug.c | 43 struct bch_dev *ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in bch2_btree_verify_replica() 197 ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in bch2_btree_node_ondisk_to_text()
|
H A D | alloc_background.c | 1909 if (!bch2_dev_get_ioref(c, ca->dev_idx, WRITE)) in bch2_dev_do_discards() 2006 if (!bch2_dev_get_ioref(c, ca->dev_idx, WRITE)) in bch2_discard_one_bucket_fast() 2168 if (!bch2_dev_get_ioref(c, ca->dev_idx, WRITE)) in bch2_dev_do_invalidates()
|
H A D | btree_io.c | 1298 ca = bch2_dev_get_ioref(c, rb->pick.ptr.dev, READ); in btree_node_read_work() 1608 struct bch_dev *ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in btree_node_read_all_replicas() 1685 ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in bch2_btree_node_read()
|
H A D | io_write.c | 411 : bch2_dev_get_ioref(c, ptr->dev, type == BCH_DATA_btree ? READ : WRITE); in bch2_submit_wbio_replicas() 1270 struct bch_dev *ca = bch2_dev_get_ioref(c, ptr->dev, WRITE); in bch2_nocow_write()
|
H A D | backpointers.c | 481 struct bch_dev *ca = bch2_dev_get_ioref(c, dev, READ); in check_extent_checksum()
|
H A D | io_read.c | 884 struct bch_dev *ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in __bch2_read_extent()
|
H A D | ec.c | 764 struct bch_dev *ca = bch2_dev_get_ioref(c, ptr->dev, rw); in ec_block_io() 1429 struct bch_dev *ca = bch2_dev_get_ioref(c, ob->dev, WRITE); in zero_out_rest_of_ec_bucket()
|
H A D | journal_io.c | 1714 struct bch_dev *ca = bch2_dev_get_ioref(c, ptr->dev, WRITE); in CLOSURE_CALLBACK()
|