Lines Matching refs:dev_root

173 	struct btrfs_root	*dev_root;  member
354 struct btrfs_fs_info *fs_info = sctx->dev_root->fs_info; in scrub_pending_trans_workers_inc()
386 struct btrfs_fs_info *fs_info = sctx->dev_root->fs_info; in scrub_pending_trans_workers_dec()
456 struct btrfs_fs_info *fs_info = dev->dev_root->fs_info; in scrub_setup_ctx()
479 sctx->dev_root = dev->dev_root; in scrub_setup_ctx()
500 sctx->nodesize = dev->dev_root->nodesize; in scrub_setup_ctx()
501 sctx->sectorsize = dev->dev_root->sectorsize; in scrub_setup_ctx()
535 struct btrfs_fs_info *fs_info = swarn->dev->dev_root->fs_info; in scrub_print_warning_inode()
627 fs_info = sblock->sctx->dev_root->fs_info; in scrub_print_warning()
854 &sctx->dev_root->fs_info->dev_replace. in scrub_fixup_nodatasum()
910 fs_info = sctx->dev_root->fs_info; in scrub_handle_errored_block()
1194 &sctx->dev_root-> in scrub_handle_errored_block()
1321 struct btrfs_fs_info *fs_info = sctx->dev_root->fs_info; in scrub_setup_recheck_block()
1654 &sblock_bad->sctx->dev_root->fs_info-> in scrub_repair_page_from_good_copy()
1682 &sblock->sctx->dev_root->fs_info->dev_replace. in scrub_write_block_to_dev_replace()
1796 struct btrfs_fs_info *fs_info = sbio->dev->dev_root->fs_info; in scrub_wr_bio_end_io()
1815 &sbio->sctx->dev_root->fs_info->dev_replace; in scrub_wr_bio_end_io_worker()
1904 struct btrfs_root *root = sctx->dev_root; in scrub_checksum_tree_block()
2266 struct btrfs_fs_info *fs_info = sbio->dev->dev_root->fs_info; in scrub_bio_end_io()
2323 int sectorsize = sparity->sctx->dev_root->sectorsize; in __scrub_mark_bitmap()
2694 ret = btrfs_map_sblock(sctx->dev_root->fs_info, WRITE, in scrub_parity_check_and_repair()
2708 rbio = raid56_parity_alloc_scrub_rbio(sctx->dev_root, bio, bbio, in scrub_parity_check_and_repair()
2761 struct btrfs_fs_info *fs_info = sctx->dev_root->fs_info; in scrub_raid56_parity()
2964 struct btrfs_fs_info *fs_info = sctx->dev_root->fs_info; in scrub_stripe()
3329 &sctx->dev_root->fs_info->mapping_tree; in scrub_chunk()
3372 struct btrfs_root *root = sctx->dev_root; in scrub_enumerate_chunks()
3528 struct btrfs_root *root = sctx->dev_root; in scrub_supers()
3897 struct btrfs_fs_info *fs_info = sctx->dev_root->fs_info; in copy_nocow_pages()
3956 fs_info = sctx->dev_root->fs_info; in copy_nocow_pages_worker()
4071 struct btrfs_fs_info *fs_info = nocow_ctx->sctx->dev_root->fs_info; in copy_nocow_pages_for_inode()