Home
last modified time | relevance | path

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

/fs/bcachefs/
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()
78 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in __bkey_nocow_lock()
86 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in __bkey_nocow_lock()
102 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in bkey_nocow_lock()
A Dio_read.c424 struct bch_dev *ca = bch2_dev_have_ref(rbio->c, rbio->pick.ptr.dev); in bch2_rbio_free()
771 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in bch2_read_decompress_err()
791 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in bch2_read_decrypt_err()
807 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in __bch2_read_endio()
936 struct bch_dev *ca = rbio->have_ioref ? bch2_dev_have_ref(c, rbio->pick.ptr.dev) : NULL; in bch2_read_endio()
A Dalloc_foreground.h83 return bch2_dev_have_ref(c, ob->dev); in ob_dev()
A Dio_write.c488 ? bch2_dev_have_ref(c, ptr->dev) in bch2_submit_wbio_replicas()
735 ? bch2_dev_have_ref(c, wbio->dev) in bch2_write_endio()
1392 struct bch_dev *ca = bch2_dev_have_ref(c, i->b.inode); in bch2_nocow_write()
1467 enumerated_ref_put(&bch2_dev_have_ref(c, i->b.inode)->io_ref[WRITE], in bch2_nocow_write()
A Dsb-members.h199 static inline struct bch_dev *bch2_dev_have_ref(const struct bch_fs *c, unsigned dev) in bch2_dev_have_ref() function
A Dbtree_io.c1391 struct bch_dev *ca = rb->have_ioref ? bch2_dev_have_ref(c, rb->pick.ptr.dev) : NULL; in btree_node_read_work()
1496 ? bch2_dev_have_ref(c, rb->pick.ptr.dev) : NULL; in btree_node_read_endio()
1705 struct bch_dev *ca = bch2_dev_have_ref(c, rb->pick.ptr.dev); in btree_node_read_all_replicas_endio()
2239 struct bch_dev *ca = wbio->have_ioref ? bch2_dev_have_ref(c, wbio->dev) : NULL; in btree_node_write_endio()
A Djournal_io.c1497 bch2_dev_have_ref(c, i->ptrs.data[0].dev), in bch2_journal_read()
1858 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in CLOSURE_CALLBACK()
2237 struct bch_dev *ca = bch2_dev_have_ref(c, ptr->dev); in CLOSURE_CALLBACK()

Completed in 31 milliseconds