• Home
  • Raw
  • Download

Lines Matching refs:srcdev

1997 					struct btrfs_device *srcdev)  in btrfs_rm_dev_replace_remove_srcdev()  argument
2009 fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_remove_srcdev()
2011 list_del_rcu(&srcdev->dev_list); in btrfs_rm_dev_replace_remove_srcdev()
2012 list_del_rcu(&srcdev->dev_alloc_list); in btrfs_rm_dev_replace_remove_srcdev()
2014 if (srcdev->missing) in btrfs_rm_dev_replace_remove_srcdev()
2017 if (srcdev->writeable) in btrfs_rm_dev_replace_remove_srcdev()
2020 if (srcdev->bdev) in btrfs_rm_dev_replace_remove_srcdev()
2025 struct btrfs_device *srcdev) in btrfs_rm_dev_replace_free_srcdev() argument
2027 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev()
2029 if (srcdev->writeable) { in btrfs_rm_dev_replace_free_srcdev()
2031 btrfs_scratch_superblocks(srcdev->bdev, srcdev->name->str); in btrfs_rm_dev_replace_free_srcdev()
2034 btrfs_close_bdev(srcdev); in btrfs_rm_dev_replace_free_srcdev()
2036 call_rcu(&srcdev->rcu, free_device); in btrfs_rm_dev_replace_free_srcdev()
2525 struct btrfs_device *srcdev, in btrfs_init_dev_replace_tgtdev() argument
2564 btrfs_device_get_total_bytes(srcdev)) { in btrfs_init_dev_replace_tgtdev()
2595 device->total_bytes = btrfs_device_get_total_bytes(srcdev); in btrfs_init_dev_replace_tgtdev()
2596 device->disk_total_bytes = btrfs_device_get_disk_total_bytes(srcdev); in btrfs_init_dev_replace_tgtdev()
2597 device->bytes_used = btrfs_device_get_bytes_used(srcdev); in btrfs_init_dev_replace_tgtdev()
2598 ASSERT(list_empty(&srcdev->resized_list)); in btrfs_init_dev_replace_tgtdev()
2599 device->commit_total_bytes = srcdev->commit_total_bytes; in btrfs_init_dev_replace_tgtdev()
5242 struct btrfs_device *srcdev; in find_live_mirror() local
5247 srcdev = fs_info->dev_replace.srcdev; in find_live_mirror()
5249 srcdev = NULL; in find_live_mirror()
5258 (tolerance || map->stripes[optimal].dev != srcdev)) in find_live_mirror()
5262 (tolerance || map->stripes[i].dev != srcdev)) in find_live_mirror()
5480 u64 srcdev_devid = dev_replace->srcdev->devid; in __btrfs_map_block()
5795 u64 srcdev_devid = dev_replace->srcdev->devid; in __btrfs_map_block()
5829 u64 srcdev_devid = dev_replace->srcdev->devid; in __btrfs_map_block()