Searched refs:tgt_device (Results 1 – 1 of 1) sorted by relevance
653 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start() local682 src_device, &tgt_device); in btrfs_dev_replace_start()706 dev_replace->tgtdev = tgt_device; in btrfs_dev_replace_start()712 rcu_str_deref(tgt_device->name)); in btrfs_dev_replace_start()730 ret = btrfs_sysfs_add_device(tgt_device); in btrfs_dev_replace_start()764 btrfs_destroy_dev_replace_tgtdev(tgt_device); in btrfs_dev_replace_start()878 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing() local897 tgt_device = dev_replace->tgtdev; in btrfs_dev_replace_finishing()957 scrub_ret = btrfs_set_target_alloc_state(src_device, tgt_device); in btrfs_dev_replace_finishing()962 tgt_device); in btrfs_dev_replace_finishing()[all …]