Lines Matching refs:next_device
1989 struct btrfs_device *next_device;
1991 list_for_each_entry(next_device, &fs_devs->devices, dev_list) {
1992 if (next_device != device &&
1993 !test_bit(BTRFS_DEV_STATE_MISSING, &next_device->dev_state)
1994 && next_device->bdev)
1995 return next_device;
2008 struct btrfs_device *next_device)
2012 if (!next_device)
2013 next_device = btrfs_find_next_active_device(fs_info->fs_devices,
2015 ASSERT(next_device);
2019 fs_info->sb->s_bdev = next_device->bdev;
2022 fs_info->fs_devices->latest_dev = next_device;