Home
last modified time | relevance | path

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

/Linux-v5.15/fs/btrfs/
Ddev-replace.c123 dev_replace->srcdev = NULL; in btrfs_init_dev_replace()
172 dev_replace->srcdev = NULL; in btrfs_init_dev_replace()
178 dev_replace->srcdev = btrfs_find_device(fs_info->fs_devices, in btrfs_init_dev_replace()
187 if (!dev_replace->srcdev && in btrfs_init_dev_replace()
206 if (dev_replace->srcdev) { in btrfs_init_dev_replace()
208 dev_replace->srcdev->total_bytes; in btrfs_init_dev_replace()
210 dev_replace->srcdev->disk_total_bytes; in btrfs_init_dev_replace()
212 dev_replace->srcdev->commit_total_bytes; in btrfs_init_dev_replace()
214 dev_replace->srcdev->bytes_used; in btrfs_init_dev_replace()
216 dev_replace->srcdev->commit_bytes_used; in btrfs_init_dev_replace()
[all …]
Ddev-replace.h21 bool btrfs_finish_block_group_to_copy(struct btrfs_device *srcdev,
Dvolumes.h505 void btrfs_rm_dev_replace_remove_srcdev(struct btrfs_device *srcdev);
506 void btrfs_rm_dev_replace_free_srcdev(struct btrfs_device *srcdev);
Dvolumes.c2235 void btrfs_rm_dev_replace_remove_srcdev(struct btrfs_device *srcdev) in btrfs_rm_dev_replace_remove_srcdev() argument
2239 lockdep_assert_held(&srcdev->fs_info->fs_devices->device_list_mutex); in btrfs_rm_dev_replace_remove_srcdev()
2247 fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_remove_srcdev()
2249 list_del_rcu(&srcdev->dev_list); in btrfs_rm_dev_replace_remove_srcdev()
2250 list_del(&srcdev->dev_alloc_list); in btrfs_rm_dev_replace_remove_srcdev()
2252 if (test_bit(BTRFS_DEV_STATE_MISSING, &srcdev->dev_state)) in btrfs_rm_dev_replace_remove_srcdev()
2255 if (test_bit(BTRFS_DEV_STATE_WRITEABLE, &srcdev->dev_state)) in btrfs_rm_dev_replace_remove_srcdev()
2258 if (srcdev->bdev) in btrfs_rm_dev_replace_remove_srcdev()
2262 void btrfs_rm_dev_replace_free_srcdev(struct btrfs_device *srcdev) in btrfs_rm_dev_replace_free_srcdev() argument
2264 struct btrfs_fs_devices *fs_devices = srcdev->fs_devices; in btrfs_rm_dev_replace_free_srcdev()
[all …]
Dctree.h419 struct btrfs_device *srcdev; member
Dscrub.c3895 !btrfs_finish_block_group_to_copy(dev_replace->srcdev, in scrub_enumerate_chunks()
Dextent-tree.c1288 dev != dev_replace->srcdev) in do_discard_extent()