Searched refs:srcdev (Results 1 – 4 of 4) sorted by relevance
45 struct btrfs_device *srcdev,94 dev_replace->srcdev = NULL; in btrfs_init_dev_replace()133 dev_replace->srcdev = NULL; in btrfs_init_dev_replace()138 dev_replace->srcdev = btrfs_find_device(fs_info, src_devid, in btrfs_init_dev_replace()147 if (!dev_replace->srcdev && in btrfs_init_dev_replace()166 if (dev_replace->srcdev) { in btrfs_init_dev_replace()168 dev_replace->srcdev->total_bytes; in btrfs_init_dev_replace()170 dev_replace->srcdev->disk_total_bytes; in btrfs_init_dev_replace()172 dev_replace->srcdev->commit_total_bytes; in btrfs_init_dev_replace()174 dev_replace->srcdev->bytes_used; in btrfs_init_dev_replace()[all …]
449 struct btrfs_device *srcdev,471 struct btrfs_device *srcdev);473 struct btrfs_device *srcdev);
1810 struct btrfs_device *srcdev) in btrfs_rm_dev_replace_remove_srcdev() argument1822 fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_remove_srcdev()1824 list_del_rcu(&srcdev->dev_list); in btrfs_rm_dev_replace_remove_srcdev()1825 list_del_rcu(&srcdev->dev_alloc_list); in btrfs_rm_dev_replace_remove_srcdev()1827 if (srcdev->missing) in btrfs_rm_dev_replace_remove_srcdev()1830 if (srcdev->writeable) { in btrfs_rm_dev_replace_remove_srcdev()1833 btrfs_scratch_superblock(srcdev); in btrfs_rm_dev_replace_remove_srcdev()1836 if (srcdev->bdev) in btrfs_rm_dev_replace_remove_srcdev()1841 struct btrfs_device *srcdev) in btrfs_rm_dev_replace_free_srcdev() argument1843 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev()[all …]
962 struct btrfs_device *srcdev; member