Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Ddata_update.c28 bch2_dev_put(bch2_dev_have_ref(c, ptr->dev)); in bkey_put_dev_refs()
40 bch2_dev_put(bch2_dev_have_ref(c, ptr2->dev)); in bkey_get_dev_refs()
53 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in bkey_nocow_unlock()
65 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in bkey_nocow_lock()
83 ca = bch2_dev_have_ref(c, ptr2->dev); in bkey_nocow_lock()
Dalloc_foreground.h35 return bch2_dev_have_ref(c, ob->dev); in ob_dev()
Dio_write.c410 ? bch2_dev_have_ref(c, ptr->dev) in bch2_submit_wbio_replicas()
652 ? bch2_dev_have_ref(c, wbio->dev) in bch2_write_endio()
1297 struct bch_dev *ca = bch2_dev_have_ref(c, i->b.inode); in bch2_nocow_write()
1372 percpu_ref_put(&bch2_dev_have_ref(c, i->b.inode)->io_ref); in bch2_nocow_write()
Dsb-members.h185 static inline struct bch_dev *bch2_dev_have_ref(const struct bch_fs *c, unsigned dev) in bch2_dev_have_ref() function
Dbtree_io.c1281 struct bch_dev *ca = rb->have_ioref ? bch2_dev_have_ref(c, rb->pick.ptr.dev) : NULL; in btree_node_read_work()
1365 struct bch_dev *ca = bch2_dev_have_ref(c, rb->pick.ptr.dev); in btree_node_read_endio()
1562 struct bch_dev *ca = bch2_dev_have_ref(c, rb->pick.ptr.dev); in btree_node_read_all_replicas_endio()
1899 struct bch_dev *ca = wbio->have_ioref ? bch2_dev_have_ref(c, wbio->dev) : NULL; in btree_node_write_endio()
Dio_read.c676 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in __bch2_read_endio()
706 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in bch2_read_endio()
Djournal_io.c1370 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in bch2_journal_read()
1380 bch2_dev_have_ref(c, i->ptrs.data[0].dev), in bch2_journal_read()