Home
last modified time | relevance | path

Searched refs:bch2_dev_have_ref (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dio_read.c396 struct bch_dev *ca = bch2_dev_have_ref(rbio->c, rbio->pick.ptr.dev); in bch2_rbio_free()
577 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in bch2_read_io_err()
670 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in bch2_read_csum_err()
690 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in bch2_read_decompress_err()
710 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in bch2_read_decrypt_err()
726 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in __bch2_read_endio()
855 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in bch2_read_endio()
H A Ddata_update.c37 bch2_dev_put(bch2_dev_have_ref(c, ptr->dev)); in bkey_put_dev_refs()
49 bch2_dev_put(bch2_dev_have_ref(c, ptr2->dev)); in bkey_get_dev_refs()
62 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in bkey_nocow_unlock()
74 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in bkey_nocow_lock()
92 ca = bch2_dev_have_ref(c, ptr2->dev); in bkey_nocow_lock()
H A Dalloc_foreground.h33 return bch2_dev_have_ref(c, ob->dev); in ob_dev()
H A Dsb-members.h198 static inline struct bch_dev *bch2_dev_have_ref(const struct bch_fs *c, unsigned dev) in bch2_dev_have_ref() function
H A Dio_write.c475 ? bch2_dev_have_ref(c, ptr->dev) in bch2_submit_wbio_replicas()
720 ? bch2_dev_have_ref(c, wbio->dev) in bch2_write_endio()
1375 struct bch_dev *ca = bch2_dev_have_ref(c, i->b.inode); in bch2_nocow_write()
1450 percpu_ref_put(&bch2_dev_have_ref(c, i->b.inode)->io_ref[WRITE]); in bch2_nocow_write()
H A Dbtree_io.c1319 struct bch_dev *ca = rb->have_ioref ? bch2_dev_have_ref(c, rb->pick.ptr.dev) : NULL; in btree_node_read_work()
1414 ? bch2_dev_have_ref(c, rb->pick.ptr.dev) : NULL; in btree_node_read_endio()
1612 struct bch_dev *ca = bch2_dev_have_ref(c, rb->pick.ptr.dev); in btree_node_read_all_replicas_endio()
2148 struct bch_dev *ca = wbio->have_ioref ? bch2_dev_have_ref(c, wbio->dev) : NULL; in btree_node_write_endio()
H A Djournal_io.c1419 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in bch2_journal_read()
1429 bch2_dev_have_ref(c, i->ptrs.data[0].dev), in bch2_journal_read()