Lines Matching refs:is_tgtdev_for_dev_replace
783 if (!device->is_tgtdev_for_dev_replace && in btrfs_close_extra_devices()
802 if (step == 0 || device->is_tgtdev_for_dev_replace) { in btrfs_close_extra_devices()
814 if (!device->is_tgtdev_for_dev_replace) in btrfs_close_extra_devices()
1193 if (start >= device->total_bytes || device->is_tgtdev_for_dev_replace) in btrfs_account_dev_extents_size()
1372 if (search_start >= search_end || device->is_tgtdev_for_dev_replace) { in find_free_dev_extent_start()
1579 WARN_ON(device->is_tgtdev_for_dev_replace); in btrfs_alloc_dev_extent()
1884 if (device->is_tgtdev_for_dev_replace) { in btrfs_rm_device()
2395 device->is_tgtdev_for_dev_replace = 0; in btrfs_init_new_device()
2604 device->is_tgtdev_for_dev_replace = 1; in btrfs_init_dev_replace_tgtdev()
2698 device->is_tgtdev_for_dev_replace) { in btrfs_grow_device()
3501 device->is_tgtdev_for_dev_replace) in __btrfs_balance()
4383 if (device->is_tgtdev_for_dev_replace) in btrfs_shrink_device()
4705 device->is_tgtdev_for_dev_replace) in __btrfs_alloc_chunk()
6530 device->is_tgtdev_for_dev_replace = 0; in fill_device_from_item()
6663 if (device->writeable && !device->is_tgtdev_for_dev_replace) { in read_one_dev()