Searched refs:num_copies (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/fs/btrfs/ |
H A D | check-integrity.c | 237 int num_copies; member in struct:btrfsic_stack_frame 702 int num_copies; local 729 num_copies = 733 printk(KERN_INFO "num_copies(log_bytenr=%llu) = %d\n", 734 next_bytenr, num_copies); 736 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { 873 int num_copies; btrfsic_process_superblock_dev_mirror() local 903 num_copies = btrfsic_process_superblock_dev_mirror() 907 printk(KERN_INFO "num_copies(log_bytenr=%llu) = %d\n", btrfsic_process_superblock_dev_mirror() 908 next_bytenr, num_copies); btrfsic_process_superblock_dev_mirror() 909 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { btrfsic_process_superblock_dev_mirror() 1018 if (0 == sf->num_copies || sf->mirror_num > sf->num_copies) { btrfsic_process_metablock() 1020 sf->num_copies = 0; btrfsic_process_metablock() 1077 &sf->num_copies, btrfsic_process_metablock() 1144 if (0 == sf->num_copies || sf->mirror_num > sf->num_copies) { btrfsic_process_metablock() 1146 sf->num_copies = 0; btrfsic_process_metablock() 1178 &sf->num_copies, btrfsic_process_metablock() 1288 printk(KERN_INFO "num_copies(log_bytenr=%llu) = %d\n", btrfsic_create_link_to_next_block() 1478 int num_copies; btrfsic_handle_extent_data() local 1486 num_copies = btrfsic_handle_extent_data() 1490 printk(KERN_INFO "num_copies(log_bytenr=%llu) = %d\n", btrfsic_handle_extent_data() 1491 next_bytenr, num_copies); btrfsic_handle_extent_data() 1492 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { btrfsic_handle_extent_data() 2333 int num_copies; btrfsic_process_written_superblock() local 2374 num_copies = btrfsic_process_written_superblock() 2378 printk(KERN_INFO "num_copies(log_bytenr=%llu) = %d\n", btrfsic_process_written_superblock() 2379 next_bytenr, num_copies); btrfsic_process_written_superblock() 2380 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { btrfsic_process_written_superblock() 2841 int num_copies; btrfsic_cmp_log_and_dev_bytenr() local 2847 num_copies = btrfs_num_copies(state->root->fs_info, btrfsic_cmp_log_and_dev_bytenr() 2850 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { btrfsic_cmp_log_and_dev_bytenr() 2875 for (mirror_num = 1; mirror_num <= num_copies; mirror_num++) { btrfsic_cmp_log_and_dev_bytenr()
|
H A D | extent_io.c | 2120 int num_copies; clean_io_failure() local 2154 num_copies = btrfs_num_copies(fs_info, failrec->logical, clean_io_failure() 2156 if (num_copies > 1) { clean_io_failure() 2294 int num_copies; btrfs_check_repairable() local 2296 num_copies = btrfs_num_copies(BTRFS_I(inode)->root->fs_info, btrfs_check_repairable() 2298 if (num_copies == 1) { btrfs_check_repairable() 2304 pr_debug("Check Repairable: cannot repair, num_copies=%d, next_mirror %d, failed_mirror %d\n", btrfs_check_repairable() 2305 num_copies, failrec->this_mirror, failed_mirror); btrfs_check_repairable() 2343 if (failrec->this_mirror > num_copies) { btrfs_check_repairable() 2344 pr_debug("Check Repairable: (fail) num_copies=%d, next_mirror %d, failed_mirror %d\n", btrfs_check_repairable() 2345 num_copies, failrec->this_mirror, failed_mirror); btrfs_check_repairable()
|
H A D | inode.c | 7651 int num_copies; btrfs_check_dio_repairable() local 7653 num_copies = btrfs_num_copies(BTRFS_I(inode)->root->fs_info, btrfs_check_dio_repairable() 7655 if (num_copies == 1) { btrfs_check_dio_repairable() 7661 pr_debug("Check DIO Repairable: cannot repair, num_copies=%d, next_mirror %d, failed_mirror %d\n", btrfs_check_dio_repairable() 7662 num_copies, failrec->this_mirror, failed_mirror); btrfs_check_dio_repairable() 7671 if (failrec->this_mirror > num_copies) { btrfs_check_dio_repairable() 7672 pr_debug("Check DIO Repairable: (fail) num_copies=%d, next_mirror %d, failed_mirror %d\n", btrfs_check_dio_repairable() 7673 num_copies, failrec->this_mirror, failed_mirror); btrfs_check_dio_repairable()
|
H A D | disk-io.c | 444 int num_copies = 0; btree_read_extent_buffer_pages() local 470 num_copies = btrfs_num_copies(root->fs_info, btree_read_extent_buffer_pages() 472 if (num_copies == 1) btree_read_extent_buffer_pages() 484 if (mirror_num > num_copies) btree_read_extent_buffer_pages()
|
Completed in 236 milliseconds