Lines Matching refs:cur_devices
2123 struct btrfs_fs_devices *cur_devices; in btrfs_rm_device() local
2213 cur_devices = device->fs_devices; in btrfs_rm_device()
2217 cur_devices->num_devices--; in btrfs_rm_device()
2218 cur_devices->total_devices--; in btrfs_rm_device()
2220 if (cur_devices != fs_devices) in btrfs_rm_device()
2224 cur_devices->missing_devices--; in btrfs_rm_device()
2229 cur_devices->open_devices--; in btrfs_rm_device()
2267 if (cur_devices->num_devices == 0) { in btrfs_rm_device()
2268 list_del_init(&cur_devices->seed_list); in btrfs_rm_device()
2269 ASSERT(cur_devices->opened == 1); in btrfs_rm_device()
2270 cur_devices->opened--; in btrfs_rm_device()
2271 free_fs_devices(cur_devices); in btrfs_rm_device()