Lines Matching refs:num_copies
226 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()
986 sf->num_copies = 0; in btrfsic_process_metablock()
1042 &sf->num_copies, in btrfsic_process_metablock()
1108 if (0 == sf->num_copies || sf->mirror_num > sf->num_copies) { in btrfsic_process_metablock()
1110 sf->num_copies = 0; in btrfsic_process_metablock()
1141 &sf->num_copies, in btrfsic_process_metablock()
1434 int num_copies; in btrfsic_handle_extent_data() local
1442 num_copies = btrfs_num_copies(fs_info, next_bytenr, in btrfsic_handle_extent_data()
1446 next_bytenr, num_copies); in btrfsic_handle_extent_data()
1447 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { in btrfsic_handle_extent_data()
2220 int num_copies; in btrfsic_process_written_superblock() local
2261 num_copies = btrfs_num_copies(fs_info, next_bytenr, in btrfsic_process_written_superblock()
2265 next_bytenr, num_copies); in btrfsic_process_written_superblock()
2266 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { in btrfsic_process_written_superblock()
2686 int num_copies; in btrfsic_cmp_log_and_dev_bytenr() local
2691 num_copies = btrfs_num_copies(fs_info, bytenr, state->metablock_size); in btrfsic_cmp_log_and_dev_bytenr()
2693 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { in btrfsic_cmp_log_and_dev_bytenr()
2714 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { in btrfsic_cmp_log_and_dev_bytenr()