Searched refs:cur_devices (Results 1 – 2 of 2) sorted by relevance
2247 struct btrfs_fs_devices *cur_devices; in btrfs_show_devname() local2259 cur_devices = fs_info->fs_devices; in btrfs_show_devname()2260 while (cur_devices) { in btrfs_show_devname()2261 head = &cur_devices->devices; in btrfs_show_devname()2270 cur_devices = cur_devices->seed; in btrfs_show_devname()
2094 struct btrfs_fs_devices *cur_devices; in btrfs_rm_device() local2177 cur_devices = device->fs_devices; in btrfs_rm_device()2181 cur_devices->num_devices--; in btrfs_rm_device()2182 cur_devices->total_devices--; in btrfs_rm_device()2184 if (cur_devices != fs_devices) in btrfs_rm_device()2188 cur_devices->missing_devices--; in btrfs_rm_device()2193 cur_devices->open_devices--; in btrfs_rm_device()2214 if (cur_devices->open_devices == 0) { in btrfs_rm_device()2216 if (fs_devices->seed == cur_devices) { in btrfs_rm_device()2217 fs_devices->seed = cur_devices->seed; in btrfs_rm_device()[all …]