Lines Matching refs:rw_devices
643 fs_devices->rw_devices++; in btrfs_open_one_device()
1050 fs_devices->rw_devices--; in __btrfs_free_extra_devids()
1099 fs_devices->rw_devices--; in btrfs_close_one_device()
1155 WARN_ON(fs_devices->rw_devices); in close_fs_devices()
2097 fs_info->fs_devices->rw_devices == 1) in btrfs_rm_device()
2103 device->fs_devices->rw_devices--; in btrfs_rm_device()
2218 device->fs_devices->rw_devices++; in btrfs_rm_device()
2245 fs_devices->rw_devices--; in btrfs_rm_dev_replace_remove_srcdev()
2693 fs_devices->rw_devices++; in btrfs_init_new_device()
2801 fs_info->fs_devices->rw_devices--; in btrfs_init_new_device()
4267 num_devices = fs_info->fs_devices->rw_devices; in btrfs_balance()
5210 if (ndevs == fs_devices->rw_devices) { in gather_device_info()
5212 __func__, fs_devices->rw_devices); in gather_device_info()
5473 devices_info = kcalloc(fs_devices->rw_devices, sizeof(*devices_info), in btrfs_create_chunk()