Lines Matching refs:next_device
2039 struct btrfs_device *next_device;
2041 list_for_each_entry(next_device, &fs_devs->devices, dev_list) {
2042 if (next_device != device &&
2043 !test_bit(BTRFS_DEV_STATE_MISSING, &next_device->dev_state)
2044 && next_device->bdev)
2045 return next_device;
2058 struct btrfs_device *next_device)
2062 if (!next_device)
2063 next_device = btrfs_find_next_active_device(fs_info->fs_devices,
2065 ASSERT(next_device);
2069 fs_info->sb->s_bdev = next_device->bdev;
2072 fs_info->fs_devices->latest_bdev = next_device->bdev;