Lines Matching refs:scrub_dev
123 struct btrfs_device *scrub_dev; member
2774 length, sparity->scrub_dev, in scrub_parity_check_and_repair()
2859 sparity->scrub_dev = sdev; in scrub_raid56_parity()
3043 struct btrfs_device *scrub_dev, in scrub_stripe() argument
3210 ret = scrub_raid56_parity(sctx, map, scrub_dev, in scrub_stripe()
3318 extent_dev = scrub_dev; in scrub_stripe()
3363 map, scrub_dev, ppath, in scrub_stripe()
3415 struct btrfs_device *scrub_dev, in scrub_chunk() argument
3452 if (map->stripes[i].dev->bdev == scrub_dev->bdev && in scrub_chunk()
3454 ret = scrub_stripe(sctx, map, scrub_dev, i, in scrub_chunk()
3468 struct btrfs_device *scrub_dev, u64 start, u64 end) in scrub_enumerate_chunks() argument
3493 key.objectid = scrub_dev->devid; in scrub_enumerate_chunks()
3521 if (found_key.objectid != scrub_dev->devid) in scrub_enumerate_chunks()
3626 ret = scrub_chunk(sctx, scrub_dev, chunk_offset, length, in scrub_enumerate_chunks()
3708 struct btrfs_device *scrub_dev) in scrub_supers() argument
3720 if (scrub_dev->fs_devices != fs_info->fs_devices) in scrub_supers()
3721 gen = scrub_dev->generation; in scrub_supers()
3728 scrub_dev->commit_total_bytes) in scrub_supers()
3732 scrub_dev, BTRFS_EXTENT_FLAG_SUPER, gen, i, in scrub_supers()