Searched refs:bch2_dev_have_ref (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | data_update.c | 28 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()
|
D | alloc_foreground.h | 35 return bch2_dev_have_ref(c, ob->dev); in ob_dev()
|
D | io_write.c | 410 ? 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()
|
D | sb-members.h | 185 static inline struct bch_dev *bch2_dev_have_ref(const struct bch_fs *c, unsigned dev) in bch2_dev_have_ref() function
|
D | btree_io.c | 1281 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()
|
D | io_read.c | 676 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()
|
D | journal_io.c | 1370 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()
|