Home
last modified time | relevance | path

Searched refs:num_copies (Results 1 – 4 of 4) sorted by relevance

/fs/btrfs/
Dcheck-integrity.c226 int num_copies; member
675 int num_copies; in btrfsic_process_superblock() local
702 num_copies = btrfs_num_copies(state->fs_info, next_bytenr, in btrfsic_process_superblock()
706 next_bytenr, num_copies); in btrfsic_process_superblock()
708 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { in btrfsic_process_superblock()
843 int num_copies; in btrfsic_process_superblock_dev_mirror() local
873 num_copies = btrfs_num_copies(fs_info, next_bytenr, in btrfsic_process_superblock_dev_mirror()
877 next_bytenr, num_copies); in btrfsic_process_superblock_dev_mirror()
878 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { in btrfsic_process_superblock_dev_mirror()
984 if (0 == sf->num_copies || sf->mirror_num > sf->num_copies) { in btrfsic_process_metablock()
[all …]
Dextent_io.c2294 int num_copies; in clean_io_failure() local
2327 num_copies = btrfs_num_copies(fs_info, failrec->logical, in clean_io_failure()
2329 if (num_copies > 1) { in clean_io_failure()
2467 int num_copies; in btrfs_check_repairable() local
2469 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_repairable()
2470 if (num_copies == 1) { in btrfs_check_repairable()
2478 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_repairable()
2516 if (failrec->this_mirror > num_copies) { in btrfs_check_repairable()
2519 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_repairable()
Ddisk-io.c465 int num_copies = 0; in btree_read_extent_buffer_pages() local
484 num_copies = btrfs_num_copies(fs_info, in btree_read_extent_buffer_pages()
486 if (num_copies == 1) in btree_read_extent_buffer_pages()
498 if (mirror_num > num_copies) in btree_read_extent_buffer_pages()
Dinode.c8104 int num_copies; in btrfs_check_dio_repairable() local
8106 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_dio_repairable()
8107 if (num_copies == 1) { in btrfs_check_dio_repairable()
8115 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
8124 if (failrec->this_mirror > num_copies) { in btrfs_check_dio_repairable()
8127 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()