Searched refs:num_copies (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/fs/btrfs/ |
D | check-integrity.c | 220 int num_copies; member 611 int num_copies; in btrfsic_process_superblock() local 638 num_copies = btrfs_num_copies(state->fs_info, next_bytenr, in btrfsic_process_superblock() 642 next_bytenr, num_copies); in btrfsic_process_superblock() 644 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { in btrfsic_process_superblock() 780 int num_copies; in btrfsic_process_superblock_dev_mirror() local 810 num_copies = btrfs_num_copies(fs_info, next_bytenr, in btrfsic_process_superblock_dev_mirror() 814 next_bytenr, num_copies); in btrfsic_process_superblock_dev_mirror() 815 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { in btrfsic_process_superblock_dev_mirror() 920 if (0 == sf->num_copies || sf->mirror_num > sf->num_copies) { in btrfsic_process_metablock() [all …]
|
D | extent_io.c | 2435 int num_copies; in clean_io_failure() local 2461 num_copies = btrfs_num_copies(fs_info, failrec->logical, in clean_io_failure() 2463 if (num_copies > 1) { in clean_io_failure() 2599 int num_copies; in btrfs_check_repairable() local 2601 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_repairable() 2602 if (num_copies == 1) { in btrfs_check_repairable() 2610 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_repairable() 2632 if (failrec->this_mirror > num_copies) { in btrfs_check_repairable() 2635 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_repairable()
|
D | disk-io.c | 303 int num_copies = 0; in btrfs_read_extent_buffer() local 322 num_copies = btrfs_num_copies(fs_info, in btrfs_read_extent_buffer() 324 if (num_copies == 1) in btrfs_read_extent_buffer() 336 if (mirror_num > num_copies) in btrfs_read_extent_buffer()
|