Home
last modified time | relevance | path

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

/linux-4.19.296/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.c2134 int num_copies; in clean_io_failure() local
2167 num_copies = btrfs_num_copies(fs_info, failrec->logical, in clean_io_failure()
2169 if (num_copies > 1) { in clean_io_failure()
2307 int num_copies; in btrfs_check_repairable() local
2309 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_repairable()
2310 if (num_copies == 1) { in btrfs_check_repairable()
2318 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_repairable()
2356 if (failrec->this_mirror > num_copies) { in btrfs_check_repairable()
2359 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_repairable()
Ddisk-io.c487 int num_copies = 0; in btree_read_extent_buffer_pages() local
507 num_copies = btrfs_num_copies(fs_info, in btree_read_extent_buffer_pages()
509 if (num_copies == 1) in btree_read_extent_buffer_pages()
521 if (mirror_num > num_copies) in btree_read_extent_buffer_pages()
Dinode.c7903 int num_copies; in btrfs_check_dio_repairable() local
7905 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_dio_repairable()
7906 if (num_copies == 1) { in btrfs_check_dio_repairable()
7914 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()
7923 if (failrec->this_mirror > num_copies) { in btrfs_check_dio_repairable()
7926 num_copies, failrec->this_mirror, failed_mirror); in btrfs_check_dio_repairable()