/fs/btrfs/ |
D | check-integrity.c | 140 unsigned int mirror_num:2; /* large enough to hold member 226 int mirror_num; member 313 int mirror_num); 364 int mirror_num, 400 b->mirror_num = 0; in btrfsic_block_init() 690 int mirror_num; in btrfsic_process_superblock() local 726 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { in btrfsic_process_superblock() 734 mirror_num); in btrfsic_process_superblock() 740 mirror_num); in btrfsic_process_superblock() 836 superblock_tmp->mirror_num = 1 + superblock_mirror_num; in btrfsic_process_superblock_dev_mirror() [all …]
|
D | extent_io.h | 64 struct bio *bio, int mirror_num, 205 get_extent_t *get_extent, int mirror_num); 277 get_extent_t *get_extent, int mirror_num); 329 int mirror_num); 332 int mirror_num);
|
D | scrub.c | 59 unsigned int mirror_num:8; member 121 int mirror_num; member 167 u64 physical, u64 flags, u64 gen, int mirror_num, 474 fixup->mirror_num); in scrub_fixup_readpage() 495 fixup->mirror_num); in scrub_fixup_readpage() 634 BUG_ON(sblock_to_check->pagev[0].mirror_num < 1); in scrub_handle_errored_block() 635 failed_mirror_index = sblock_to_check->pagev[0].mirror_num - 1; in scrub_handle_errored_block() 763 fixup_nodatasum->mirror_num = failed_mirror_index + 1; in scrub_handle_errored_block() 1004 page->mirror_num = mirror_index + 1; in scrub_setup_recheck_block() 1518 u64 physical, u64 flags, u64 gen, int mirror_num, in scrub_pages() argument [all …]
|
D | volumes.h | 164 int mirror_num; member 246 struct btrfs_bio **bbio_ret, int mirror_num); 257 int mirror_num, int async_submit);
|
D | compression.c | 73 int mirror_num; member 134 csum, *cb_sum, cb->mirror_num); in check_compressed_csum() 352 cb->mirror_num = 0; in btrfs_submit_compressed_write() 562 int mirror_num, unsigned long bio_flags) in btrfs_submit_compressed_read() argument 602 cb->mirror_num = mirror_num; in btrfs_submit_compressed_read() 684 mirror_num, 0); in btrfs_submit_compressed_read() 709 ret = btrfs_map_bio(root, READ, comp_bio, mirror_num, 0); in btrfs_submit_compressed_read()
|
D | disk-io.h | 44 int mirror_num, struct extent_buffer **eb); 78 int rw, struct bio *bio, int mirror_num,
|
D | disk-io.c | 93 int mirror_num; member 370 int mirror_num = 0; in btree_read_extent_buffer_pages() local 378 btree_get_extent, mirror_num); in btree_read_extent_buffer_pages() 401 mirror_num++; in btree_read_extent_buffer_pages() 402 if (mirror_num == failed_mirror) in btree_read_extent_buffer_pages() 403 mirror_num++; in btree_read_extent_buffer_pages() 405 if (mirror_num > num_copies) in btree_read_extent_buffer_pages() 738 async->mirror_num, async->bio_flags, in run_one_async_start() 769 async->mirror_num, async->bio_flags, in run_one_async_done() 782 int rw, struct bio *bio, int mirror_num, in btrfs_wq_submit_bio() argument [all …]
|
D | extent_io.c | 1916 int mirror_num) in repair_io_failure() argument 1926 BUG_ON(!mirror_num); in repair_io_failure() 1937 &map_length, &bbio, mirror_num); in repair_io_failure() 1942 BUG_ON(mirror_num != bbio->mirror_num); in repair_io_failure() 1943 sector = bbio->stripes[mirror_num-1].physical >> 9; in repair_io_failure() 1945 dev = bbio->stripes[mirror_num-1].dev; in repair_io_failure() 1971 int mirror_num) in repair_eb_io_failure() argument 1981 start, p, mirror_num); in repair_eb_io_failure() 2470 int mirror_num, unsigned long bio_flags) in submit_one_bio() argument 2486 mirror_num, bio_flags, start); in submit_one_bio() [all …]
|
D | volumes.c | 3706 int mirror_num) in __btrfs_map_block() argument 3739 if (mirror_num > map->num_stripes) in __btrfs_map_block() 3740 mirror_num = 0; in __btrfs_map_block() 3784 else if (mirror_num) in __btrfs_map_block() 3785 stripe_index = mirror_num - 1; in __btrfs_map_block() 3790 mirror_num = stripe_index + 1; in __btrfs_map_block() 3796 } else if (mirror_num) { in __btrfs_map_block() 3797 stripe_index = mirror_num - 1; in __btrfs_map_block() 3799 mirror_num = 1; in __btrfs_map_block() 3814 else if (mirror_num) in __btrfs_map_block() [all …]
|
D | compression.h | 49 int mirror_num, unsigned long bio_flags);
|
D | reada.c | 636 int mirror_num = 0; in reada_start_machine_dev() local 683 mirror_num = i + 1; in reada_start_machine_dev() 704 mirror_num, &eb); in reada_start_machine_dev()
|
D | inode.c | 1546 struct bio *bio, int mirror_num, in __btrfs_submit_bio_start() argument 1567 int mirror_num, unsigned long bio_flags, in __btrfs_submit_bio_done() argument 1571 return btrfs_map_bio(root, rw, bio, mirror_num, 1); in __btrfs_submit_bio_done() 1579 int mirror_num, unsigned long bio_flags, in btrfs_submit_bio_hook() argument 1599 mirror_num, bio_flags); in btrfs_submit_bio_hook() 1612 inode, rw, bio, mirror_num, in btrfs_submit_bio_hook() 1619 return btrfs_map_bio(root, rw, bio, mirror_num, 0); in btrfs_submit_bio_hook() 6025 struct bio *bio, int mirror_num, in __btrfs_submit_bio_start_direct_io() argument
|