Home
last modified time | relevance | path

Searched refs:srcdev (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/fs/btrfs/
Ddev-replace.c123 dev_replace->srcdev = NULL; in btrfs_init_dev_replace()
171 dev_replace->srcdev = NULL; in btrfs_init_dev_replace()
179 dev_replace->srcdev = btrfs_find_device(fs_info->fs_devices, &args); in btrfs_init_dev_replace()
185 if (!dev_replace->srcdev && in btrfs_init_dev_replace()
204 if (dev_replace->srcdev) { in btrfs_init_dev_replace()
206 dev_replace->srcdev->total_bytes; in btrfs_init_dev_replace()
208 dev_replace->srcdev->disk_total_bytes; in btrfs_init_dev_replace()
210 dev_replace->srcdev->commit_total_bytes; in btrfs_init_dev_replace()
212 dev_replace->srcdev->bytes_used; in btrfs_init_dev_replace()
214 dev_replace->srcdev->commit_bytes_used; in btrfs_init_dev_replace()
[all …]
Ddev-replace.h25 bool btrfs_finish_block_group_to_copy(struct btrfs_device *srcdev,
Dvolumes.h677 void btrfs_rm_dev_replace_remove_srcdev(struct btrfs_device *srcdev);
678 void btrfs_rm_dev_replace_free_srcdev(struct btrfs_device *srcdev);
Dvolumes.c2239 void btrfs_rm_dev_replace_remove_srcdev(struct btrfs_device *srcdev) in btrfs_rm_dev_replace_remove_srcdev() argument
2243 lockdep_assert_held(&srcdev->fs_info->fs_devices->device_list_mutex); in btrfs_rm_dev_replace_remove_srcdev()
2251 fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_remove_srcdev()
2253 list_del_rcu(&srcdev->dev_list); in btrfs_rm_dev_replace_remove_srcdev()
2254 list_del(&srcdev->dev_alloc_list); in btrfs_rm_dev_replace_remove_srcdev()
2256 if (test_bit(BTRFS_DEV_STATE_MISSING, &srcdev->dev_state)) in btrfs_rm_dev_replace_remove_srcdev()
2259 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &srcdev->dev_state)) in btrfs_rm_dev_replace_remove_srcdev()
2262 if (srcdev->bdev) in btrfs_rm_dev_replace_remove_srcdev()
2266 void btrfs_rm_dev_replace_free_srcdev(struct btrfs_device *srcdev) in btrfs_rm_dev_replace_free_srcdev() argument
2268 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev()
[all …]
Dctree.h466 struct btrfs_device *srcdev; member
Dscrub.c4068 !btrfs_finish_block_group_to_copy(dev_replace->srcdev, in scrub_enumerate_chunks()
Dextent-tree.c1291 dev != dev_replace->srcdev) in do_discard_extent()