Searched refs:pick (Results 1 – 10 of 10) sorted by relevance
| /fs/bcachefs/ |
| A D | io_read.c | 321 ? max(pick->crc.compressed_size, pick->crc.live_size) in promote_alloc() 729 rbio->pick.crc.csum_type)) { in __bch2_rbio_narrow_crcs() 894 rbio->parent->pick = rbio->pick; in __bch2_read_endio() 1027 struct extent_ptr_decoded pick; in __bch2_read_extent() local 1102 !pick.ptr.cached && in __bch2_read_extent() 1156 EBUG_ON(pick.crc.csum_type && in __bch2_read_extent() 1159 pick.crc.offset || in __bch2_read_extent() 1163 pick.ptr.offset += pick.crc.offset + in __bch2_read_extent() 1168 pick.crc.offset = 0; in __bch2_read_extent() 1182 pick.crc.compressed_size << 9; in __bch2_read_extent() [all …]
|
| A D | btree_io.c | 570 struct extent_ptr_decoded pick; in __btree_err() local 573 failed, &pick, -1) == 1; in __btree_err() 1408 &failed, &rb->pick, -1); in btree_node_read_work() 1725 struct extent_ptr_decoded pick; in btree_node_read_all_replicas() local 1759 rb->pick = pick; in btree_node_read_all_replicas() 1760 rb->bio.bi_iter.bi_sector = pick.ptr.offset; in btree_node_read_all_replicas() 1793 struct extent_ptr_decoded pick; in bch2_btree_node_read() local 1806 NULL, &pick, -1); in bch2_btree_node_read() 1849 rb->pick = pick; in bch2_btree_node_read() 1851 bio->bi_iter.bi_sector = pick.ptr.offset; in bch2_btree_node_read() [all …]
|
| A D | debug.c | 38 struct extent_ptr_decoded pick) in bch2_btree_verify_replica() argument 47 struct bch_dev *ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ, in bch2_btree_verify_replica() 57 bio->bi_iter.bi_sector = pick.ptr.offset; in bch2_btree_verify_replica() 190 struct extent_ptr_decoded pick; in bch2_btree_node_ondisk_to_text() local 196 if (bch2_bkey_pick_read_device(c, bkey_i_to_s_c(&b->key), NULL, &pick, -1) <= 0) { in bch2_btree_node_ondisk_to_text() 201 ca = bch2_dev_get_ioref(c, pick.ptr.dev, READ, in bch2_btree_node_ondisk_to_text() 219 bio->bi_iter.bi_sector = pick.ptr.offset; in bch2_btree_node_ondisk_to_text()
|
| A D | io_read.h | 57 struct extent_ptr_decoded pick; member
|
| A D | btree_io.h | 47 struct extent_ptr_decoded pick; member
|
| A D | ec.c | 840 BUG_ON(!rbio->pick.has_ec); in bch2_ec_read_extent() 846 ret = lockrestart_do(trans, get_stripe_key_trans(trans, rbio->pick.ec.idx, buf)); in bch2_ec_read_extent() 854 if (!bch2_ptr_matches_stripe(v, rbio->pick)) { in bch2_ec_read_extent() 859 offset = rbio->bio.bi_iter.bi_sector - v->ptrs[rbio->pick.ec.block].offset; in bch2_ec_read_extent() 888 buf->data[rbio->pick.ec.block] + ((offset - buf->offset) << 9)); in bch2_ec_read_extent()
|
| A D | move.c | 192 struct bch_extent_crc_unpacked crc = rbio->pick.crc; in move_write() 195 rbio->pick.crc.csum = bch2_checksum_bio(c, rbio->pick.crc.csum_type, in move_write()
|
| A D | extents.c | 189 struct extent_ptr_decoded *pick, in bch2_bkey_pick_read_device() argument 276 *pick, pick_latency)) { in bch2_bkey_pick_read_device() 277 *pick = p; in bch2_bkey_pick_read_device()
|
| A D | data_update.c | 512 m->op.crc = m->rbio.pick.crc; in bch2_data_update_read_done()
|
| /fs/xfs/libxfs/ |
| A D | xfs_dir2_sf.c | 374 int pick; /* which algorithm to use */ in xfs_dir2_sf_addname() local 408 (pick = in xfs_dir2_sf_addname() 431 if (pick == 1) in xfs_dir2_sf_addname() 438 ASSERT(pick == 2); in xfs_dir2_sf_addname()
|
Completed in 38 milliseconds