Searched refs:srcdev (Results 1 – 4 of 4) sorted by relevance
45 struct btrfs_device *srcdev,91 dev_replace->srcdev = NULL; in btrfs_init_dev_replace()130 dev_replace->srcdev = NULL; in btrfs_init_dev_replace()135 dev_replace->srcdev = btrfs_find_device(fs_info, src_devid, in btrfs_init_dev_replace()144 if (!dev_replace->srcdev && in btrfs_init_dev_replace()163 if (dev_replace->srcdev) { in btrfs_init_dev_replace()165 dev_replace->srcdev->total_bytes; in btrfs_init_dev_replace()167 dev_replace->srcdev->disk_total_bytes; in btrfs_init_dev_replace()169 dev_replace->srcdev->commit_total_bytes; in btrfs_init_dev_replace()171 dev_replace->srcdev->bytes_used; in btrfs_init_dev_replace()[all …]
423 struct btrfs_device *srcdev,448 struct btrfs_device *srcdev);450 struct btrfs_device *srcdev);
1997 struct btrfs_device *srcdev) in btrfs_rm_dev_replace_remove_srcdev() argument2009 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() argument2027 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()[all …]
361 struct btrfs_device *srcdev; member