Lines Matching defs:scrub_dev
2103 struct btrfs_device *scrub_dev,
2129 rbio = raid56_parity_alloc_scrub_rbio(&bio, bioc, scrub_dev, extent_bitmap,
2153 struct btrfs_device *scrub_dev,
2283 return scrub_raid56_cached_parity(sctx, scrub_dev, map, full_stripe_start,
2427 struct btrfs_device *scrub_dev,
2495 scrub_dev, map->stripes[stripe_index].physical,
2501 ret = scrub_simple_stripe(sctx, bg, map, scrub_dev, stripe_index);
2530 ret = scrub_raid56_parity_stripe(sctx, scrub_dev, bg,
2550 scrub_dev, physical, 1);
2588 struct btrfs_device *scrub_dev,
2616 if (map->stripes[i].dev->bdev == scrub_dev->bdev &&
2618 ret = scrub_stripe(sctx, bg, map, scrub_dev, i);
2646 struct btrfs_device *scrub_dev, u64 start, u64 end)
2670 key.objectid = scrub_dev->devid;
2700 if (found_key.objectid != scrub_dev->devid)
2882 ret = scrub_chunk(sctx, cache, scrub_dev, found_key.offset,
2968 struct btrfs_device *scrub_dev)
2989 if (scrub_dev->fs_devices != fs_info->fs_devices)
2990 gen = scrub_dev->generation;
2995 ret = btrfs_sb_log_location(scrub_dev, i, 0, &bytenr);
3007 scrub_dev->commit_total_bytes)
3009 if (!btrfs_check_super_location(scrub_dev, bytenr))
3012 ret = scrub_one_super(sctx, scrub_dev, page, bytenr, gen);