Lines Matching full:pick
1281 struct bch_dev *ca = rb->have_ioref ? bch2_dev_have_ref(c, rb->pick.ptr.dev) : NULL; in btree_node_read_work()
1294 ca = bch2_dev_get_ioref(c, rb->pick.ptr.dev, READ); in btree_node_read_work()
1297 bio->bi_iter.bi_sector = rb->pick.ptr.offset; in btree_node_read_work()
1316 bch2_mark_io_failure(&failed, &rb->pick); in btree_node_read_work()
1320 &failed, &rb->pick) > 0; 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()
1580 struct extent_ptr_decoded pick; in btree_node_read_all_replicas() local
1603 bkey_for_each_ptr_decode(k.k, ptrs, pick, entry) { in btree_node_read_all_replicas()
1604 struct bch_dev *ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in btree_node_read_all_replicas()
1613 rb->pick = pick; in btree_node_read_all_replicas()
1614 rb->bio.bi_iter.bi_sector = pick.ptr.offset; in btree_node_read_all_replicas()
1647 struct extent_ptr_decoded pick; in bch2_btree_node_read() local
1660 NULL, &pick); in bch2_btree_node_read()
1681 ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ); in bch2_btree_node_read()
1694 rb->pick = pick; in bch2_btree_node_read()
1696 bio->bi_iter.bi_sector = pick.ptr.offset; in bch2_btree_node_read()