Lines Matching defs:scrub_dev
1844 struct btrfs_device *scrub_dev,
1978 rbio = raid56_parity_alloc_scrub_rbio(bio, bioc, scrub_dev, &extent_bitmap,
2148 struct btrfs_device *scrub_dev,
2219 scrub_dev, map->stripes[stripe_index].physical,
2225 ret = scrub_simple_stripe(sctx, bg, map, scrub_dev, stripe_index);
2254 ret = scrub_raid56_parity_stripe(sctx, scrub_dev, bg,
2270 scrub_dev, physical, 1);
2316 struct btrfs_device *scrub_dev,
2350 if (map->stripes[i].dev->bdev == scrub_dev->bdev &&
2352 ret = scrub_stripe(sctx, bg, em, scrub_dev, i);
2384 struct btrfs_device *scrub_dev, u64 start, u64 end)
2408 key.objectid = scrub_dev->devid;
2438 if (found_key.objectid != scrub_dev->devid)
2621 ret = scrub_chunk(sctx, cache, scrub_dev, found_key.offset,
2715 struct btrfs_device *scrub_dev)
2736 if (scrub_dev->fs_devices != fs_info->fs_devices)
2737 gen = scrub_dev->generation;
2744 scrub_dev->commit_total_bytes)
2746 if (!btrfs_check_super_location(scrub_dev, bytenr))
2749 ret = scrub_one_super(sctx, scrub_dev, page, bytenr, gen);