/kernel/linux/linux-5.10/fs/btrfs/ |
D | check-integrity.c | 139 unsigned int mirror_num; /* large enough to hold member 223 int mirror_num; member 313 int mirror_num); 359 int mirror_num, 394 b->mirror_num = 0; in btrfsic_block_init() 667 int mirror_num; in btrfsic_process_superblock() local 699 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { in btrfsic_process_superblock() 707 mirror_num); in btrfsic_process_superblock() 710 next_bytenr, mirror_num); in btrfsic_process_superblock() 808 superblock_tmp->mirror_num = 1 + superblock_mirror_num; in btrfsic_process_superblock_dev_mirror() [all …]
|
D | extent_io.h | 71 int mirror_num, 184 int __must_check submit_one_bio(struct bio *bio, int mirror_num, 216 int mirror_num); 285 unsigned int pg_offset, int mirror_num); 287 int btrfs_repair_eb_io_failure(const struct extent_buffer *eb, int mirror_num);
|
D | disk-io.h | 86 int mirror_num, unsigned long bio_flags); 116 int mirror_num, unsigned long bio_flags, 120 int mirror_num);
|
D | btrfs_inode.h | 372 u64 logical_start, u8 *csum, u8 *csum_expected, int mirror_num) in btrfs_print_data_csum_error() argument 386 mirror_num); in btrfs_print_data_csum_error() 394 mirror_num); in btrfs_print_data_csum_error()
|
D | scrub.c | 75 unsigned int mirror_num:8; member 240 u64 gen, int mirror_num, u8 *csum, int force, 855 BUG_ON(sblock_to_check->pagev[0]->mirror_num < 1); in scrub_handle_errored_block() 856 failed_mirror_index = sblock_to_check->pagev[0]->mirror_num - 1; in scrub_handle_errored_block() 1044 sblock_other->pagev[0]->mirror_num = 1 + mirror_index; in scrub_handle_errored_block() 1372 page->mirror_num = mirror_index + 1; in scrub_setup_recheck_block() 1401 int mirror_num; in scrub_submit_raid56_bio_wait() local 1407 mirror_num = page->sblock->pagev[0]->mirror_num; in scrub_submit_raid56_bio_wait() 1410 mirror_num, 0); in scrub_submit_raid56_bio_wait() 2155 u64 gen, int mirror_num, u8 *csum, int force, in scrub_pages() argument [all …]
|
D | compression.h | 57 int mirror_num; member 101 int mirror_num, unsigned long bio_flags);
|
D | volumes.h | 291 unsigned int mirror_num; member 334 int mirror_num; member 422 struct btrfs_bio **bbio_ret, int mirror_num); 433 int mirror_num);
|
D | compression.c | 172 csum, cb_sum, cb->mirror_num); in check_compressed_csum() 200 unsigned int mirror = btrfs_io_bio(bio)->mirror_num; in end_compressed_bio_read() 216 btrfs_io_bio(cb->orig_bio)->mirror_num = mirror; in end_compressed_bio_read() 217 cb->mirror_num = mirror; in end_compressed_bio_read() 403 cb->mirror_num = 0; in btrfs_submit_compressed_write() 620 int mirror_num, unsigned long bio_flags) in btrfs_submit_compressed_read() argument 658 cb->mirror_num = mirror_num; in btrfs_submit_compressed_read() 740 ret = btrfs_map_bio(fs_info, comp_bio, mirror_num); in btrfs_submit_compressed_read() 764 ret = btrfs_map_bio(fs_info, comp_bio, mirror_num); in btrfs_submit_compressed_read()
|
D | volumes.c | 228 int mirror_num, int need_raid_map); 5770 u64 srcdev_devid, int *mirror_num, in get_extra_mirror_from_replace() argument 5789 if (*mirror_num > num_stripes) { in get_extra_mirror_from_replace() 5827 *mirror_num = index_srcdev + 1; in get_extra_mirror_from_replace() 6035 int mirror_num, int need_raid_map) in __btrfs_map_block() argument 6085 if (dev_replace_is_ongoing && mirror_num == map->num_stripes + 1 && in __btrfs_map_block() 6089 &mirror_num, in __btrfs_map_block() 6095 } else if (mirror_num > map->num_stripes) { in __btrfs_map_block() 6096 mirror_num = 0; in __btrfs_map_block() 6105 mirror_num = 1; in __btrfs_map_block() [all …]
|
D | raid56.h | 35 int mirror_num, int generic_io);
|
D | reada.c | 648 int mirror_num, struct extent_buffer **eb) in reada_tree_block_flagged() argument 659 ret = read_extent_buffer_pages(buf, WAIT_PAGE_LOCK, mirror_num); in reada_tree_block_flagged() 680 int mirror_num = 0; in reada_start_machine_dev() local 734 mirror_num = i + 1; in reada_start_machine_dev() 741 ret = reada_tree_block_flagged(fs_info, logical, mirror_num, &eb); in reada_start_machine_dev()
|
D | disk-io.c | 115 int mirror_num; member 403 int mirror_num = 0; in btree_read_extent_buffer_pages() local 409 ret = read_extent_buffer_pages(eb, WAIT_COMPLETE, mirror_num); in btree_read_extent_buffer_pages() 431 mirror_num++; in btree_read_extent_buffer_pages() 432 if (mirror_num == failed_mirror) in btree_read_extent_buffer_pages() 433 mirror_num++; in btree_read_extent_buffer_pages() 435 if (mirror_num > num_copies) in btree_read_extent_buffer_pages() 733 ret = btrfs_map_bio(btrfs_sb(inode->i_sb), async->bio, async->mirror_num); in run_one_async_done() 749 int mirror_num, unsigned long bio_flags, in btrfs_wq_submit_bio() argument 761 async->mirror_num = mirror_num; in btrfs_wq_submit_bio() [all …]
|
D | extent_io.c | 163 int __must_check submit_one_bio(struct bio *bio, int mirror_num, in submit_one_bio() argument 172 ret = btrfs_submit_data_bio(tree->private_data, bio, mirror_num, in submit_one_bio() 176 mirror_num, bio_flags); in submit_one_bio() 2255 unsigned int pg_offset, int mirror_num) in repair_io_failure() argument 2265 BUG_ON(!mirror_num); in repair_io_failure() 2291 ASSERT(bbio->mirror_num == 1); in repair_io_failure() 2294 &map_length, &bbio, mirror_num); in repair_io_failure() 2300 BUG_ON(mirror_num != bbio->mirror_num); in repair_io_failure() 2303 sector = bbio->stripes[bbio->mirror_num - 1].physical >> 9; in repair_io_failure() 2305 dev = bbio->stripes[bbio->mirror_num - 1].dev; in repair_io_failure() [all …]
|
D | raid56.c | 2129 int mirror_num, int generic_io) in raid56_parity_recover() argument 2135 ASSERT(bbio->mirror_num == mirror_num); in raid56_parity_recover() 2136 btrfs_io_bio(bio)->mirror_num = mirror_num; in raid56_parity_recover() 2174 if (mirror_num > 2) { in raid56_parity_recover() 2180 rbio->failb = rbio->real_stripes - (mirror_num - 1); in raid56_parity_recover()
|
D | inode.c | 2180 int mirror_num, unsigned long bio_flags) in btrfs_submit_data_bio() argument 2202 mirror_num, in btrfs_submit_data_bio() 2216 ret = btrfs_wq_submit_bio(fs_info, bio, mirror_num, bio_flags, in btrfs_submit_data_bio() 2226 ret = btrfs_map_bio(fs_info, bio, mirror_num); in btrfs_submit_data_bio() 2881 io_bio->mirror_num); in check_data_csum() 7616 int mirror_num, in submit_dio_repair_bio() argument 7630 ret = btrfs_map_bio(fs_info, bio, mirror_num); in submit_dio_repair_bio() 7675 io_bio->mirror_num, in btrfs_check_read_dio_bio()
|
D | ctree.h | 2983 int mirror_num, unsigned long bio_flags);
|