Home
last modified time | relevance | path

Searched refs:bch2_dev_get_ioref (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dsb-members.h288 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 Ddebug.c45 struct bch_dev *ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in bch2_btree_verify_replica()
199 ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in bch2_btree_node_ondisk_to_text()
H A Dbtree_io.c1332 ca = bch2_dev_get_ioref(c, rb->pick.ptr.dev, READ); in btree_node_read_work()
1655 struct bch_dev *ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in btree_node_read_all_replicas()
1733 ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in bch2_btree_node_read()
1965 struct bch_dev *ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in bch2_btree_node_scrub()
H A Dalloc_background.c1966 if (!bch2_dev_get_ioref(c, ca->dev_idx, WRITE)) in bch2_dev_do_discards()
2064 if (!bch2_dev_get_ioref(c, ca->dev_idx, WRITE)) in bch2_discard_one_bucket_fast()
2276 if (!bch2_dev_get_ioref(c, ca->dev_idx, WRITE)) in bch2_dev_do_invalidates()
H A Dio_write.c476 : bch2_dev_get_ioref(c, ptr->dev, type == BCH_DATA_btree ? READ : WRITE); in bch2_submit_wbio_replicas()
1348 struct bch_dev *ca = bch2_dev_get_ioref(c, ptr->dev, WRITE); in bch2_nocow_write()
H A Dec.c739 struct bch_dev *ca = bch2_dev_get_ioref(c, ptr->dev, rw); in ec_block_io()
1249 struct bch_dev *ca = bch2_dev_get_ioref(c, ob->dev, WRITE); in zero_out_rest_of_ec_bucket()
H A Dbackpointers.c481 struct bch_dev *ca = bch2_dev_get_ioref(c, dev, READ); in check_extent_checksum()
H A Dio_read.c997 struct bch_dev *ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in __bch2_read_extent()
H A Djournal_io.c1784 struct bch_dev *ca = bch2_dev_get_ioref(c, ptr->dev, WRITE); in CLOSURE_CALLBACK()