Lines Matching refs:next_bytenr
255 *block_ctx, u64 next_bytenr,
613 u64 next_bytenr; in btrfsic_process_superblock() local
617 next_bytenr = btrfs_super_root(selected_super); in btrfsic_process_superblock()
620 pr_info("root@%llu\n", next_bytenr); in btrfsic_process_superblock()
623 next_bytenr = btrfs_super_chunk_root(selected_super); in btrfsic_process_superblock()
626 pr_info("chunk@%llu\n", next_bytenr); in btrfsic_process_superblock()
629 next_bytenr = btrfs_super_log_root(selected_super); in btrfsic_process_superblock()
630 if (0 == next_bytenr) in btrfsic_process_superblock()
634 pr_info("log@%llu\n", next_bytenr); in btrfsic_process_superblock()
638 num_copies = btrfs_num_copies(state->fs_info, next_bytenr, in btrfsic_process_superblock()
642 next_bytenr, num_copies); in btrfsic_process_superblock()
649 ret = btrfsic_map_block(state, next_bytenr, in btrfsic_process_superblock()
655 next_bytenr, mirror_num); in btrfsic_process_superblock()
779 u64 next_bytenr; in btrfsic_process_superblock_dev_mirror() local
792 next_bytenr = btrfs_super_root(super_tmp); in btrfsic_process_superblock_dev_mirror()
798 next_bytenr = btrfs_super_chunk_root(super_tmp); in btrfsic_process_superblock_dev_mirror()
804 next_bytenr = btrfs_super_log_root(super_tmp); in btrfsic_process_superblock_dev_mirror()
805 if (0 == next_bytenr) in btrfsic_process_superblock_dev_mirror()
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()
820 if (btrfsic_map_block(state, next_bytenr, in btrfsic_process_superblock_dev_mirror()
825 next_bytenr, mirror_num); in btrfsic_process_superblock_dev_mirror()
956 u64 next_bytenr; in btrfsic_process_metablock() local
967 next_bytenr = btrfs_root_bytenr(&root_item); in btrfsic_process_metablock()
974 next_bytenr, in btrfsic_process_metablock()
1053 u64 next_bytenr; in btrfsic_process_metablock() local
1068 next_bytenr = btrfs_stack_key_blockptr(&key_ptr); in btrfsic_process_metablock()
1074 next_bytenr, in btrfsic_process_metablock()
1168 u64 next_bytenr, in btrfsic_create_link_to_next_block() argument
1186 *num_copiesp = btrfs_num_copies(fs_info, next_bytenr, in btrfsic_create_link_to_next_block()
1190 next_bytenr, *num_copiesp); in btrfsic_create_link_to_next_block()
1200 ret = btrfsic_map_block(state, next_bytenr, in btrfsic_create_link_to_next_block()
1205 next_bytenr, *mirror_nump); in btrfsic_create_link_to_next_block()
1227 if (next_block->logical_bytenr != next_bytenr && in btrfsic_create_link_to_next_block()
1232 next_bytenr, next_block_ctx->dev->bdev, in btrfsic_create_link_to_next_block()
1240 next_bytenr, next_block_ctx->dev->bdev, in btrfsic_create_link_to_next_block()
1245 next_block->logical_bytenr = next_bytenr; in btrfsic_create_link_to_next_block()
1293 next_bytenr); in btrfsic_create_link_to_next_block()
1317 u64 next_bytenr; in btrfsic_handle_extent_data() local
1355 next_bytenr = btrfs_stack_file_extent_disk_bytenr(&file_extent_item); in btrfsic_handle_extent_data()
1358 next_bytenr += btrfs_stack_file_extent_offset(&file_extent_item); in btrfsic_handle_extent_data()
1381 num_copies = btrfs_num_copies(fs_info, next_bytenr, in btrfsic_handle_extent_data()
1385 next_bytenr, num_copies); in btrfsic_handle_extent_data()
1396 next_bytenr, chunk_len); in btrfsic_handle_extent_data()
1397 ret = btrfsic_map_block(state, next_bytenr, in btrfsic_handle_extent_data()
1402 next_bytenr, mirror_num); in btrfsic_handle_extent_data()
1422 next_block->logical_bytenr != next_bytenr && in btrfsic_handle_extent_data()
1427 next_bytenr, in btrfsic_handle_extent_data()
1433 next_block->logical_bytenr = next_bytenr; in btrfsic_handle_extent_data()
1446 next_bytenr += chunk_len; in btrfsic_handle_extent_data()
2113 u64 next_bytenr; in btrfsic_process_written_superblock() local
2131 next_bytenr = btrfs_super_root(super_hdr); in btrfsic_process_written_superblock()
2134 pr_info("root@%llu\n", next_bytenr); in btrfsic_process_written_superblock()
2140 next_bytenr = btrfs_super_chunk_root(super_hdr); in btrfsic_process_written_superblock()
2143 pr_info("chunk@%llu\n", next_bytenr); in btrfsic_process_written_superblock()
2149 next_bytenr = btrfs_super_log_root(super_hdr); in btrfsic_process_written_superblock()
2150 if (0 == next_bytenr) in btrfsic_process_written_superblock()
2154 pr_info("log@%llu\n", next_bytenr); in btrfsic_process_written_superblock()
2158 num_copies = btrfs_num_copies(fs_info, next_bytenr, in btrfsic_process_written_superblock()
2162 next_bytenr, num_copies); in btrfsic_process_written_superblock()
2168 ret = btrfsic_map_block(state, next_bytenr, in btrfsic_process_written_superblock()
2174 next_bytenr, mirror_num); in btrfsic_process_written_superblock()