Home
last modified time | relevance | path

Searched refs:tgt_device (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
H A Ddev-replace.c458 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start() local
487 src_device, &tgt_device); in btrfs_dev_replace_start()
507 dev_replace->tgtdev = tgt_device; in btrfs_dev_replace_start()
513 rcu_str_deref(tgt_device->name)); in btrfs_dev_replace_start()
531 ret = btrfs_sysfs_add_device(tgt_device); in btrfs_dev_replace_start()
565 btrfs_destroy_dev_replace_tgtdev(tgt_device); in btrfs_dev_replace_start()
679 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing() local
698 tgt_device = dev_replace->tgtdev; in btrfs_dev_replace_finishing()
758 scrub_ret = btrfs_set_target_alloc_state(src_device, tgt_device); in btrfs_dev_replace_finishing()
763 tgt_device); in btrfs_dev_replace_finishing()
901 struct btrfs_device *tgt_device = NULL; btrfs_dev_replace_cancel() local
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Ddev-replace.c609 struct btrfs_device *tgt_device = NULL; in btrfs_dev_replace_start() local
638 src_device, &tgt_device); in btrfs_dev_replace_start()
662 dev_replace->tgtdev = tgt_device; in btrfs_dev_replace_start()
668 btrfs_dev_name(tgt_device)); in btrfs_dev_replace_start()
686 ret = btrfs_sysfs_add_device(tgt_device); in btrfs_dev_replace_start()
725 btrfs_destroy_dev_replace_tgtdev(tgt_device); in btrfs_dev_replace_start()
856 struct btrfs_device *tgt_device; in btrfs_dev_replace_finishing() local
875 tgt_device = dev_replace->tgtdev; in btrfs_dev_replace_finishing()
931 scrub_ret = btrfs_set_target_alloc_state(src_device, tgt_device); in btrfs_dev_replace_finishing()
936 tgt_device); in btrfs_dev_replace_finishing()
1073 struct btrfs_device *tgt_device = NULL; btrfs_dev_replace_cancel() local
[all...]

Completed in 3 milliseconds