Searched refs:next_device (Results 1 – 1 of 1) sorted by relevance
2033 struct btrfs_device *next_device; in btrfs_find_next_active_device() local2035 list_for_each_entry(next_device, &fs_devs->devices, dev_list) { in btrfs_find_next_active_device()2036 if (next_device != device && in btrfs_find_next_active_device()2037 !test_bit(BTRFS_DEV_STATE_MISSING, &next_device->dev_state) in btrfs_find_next_active_device()2038 && next_device->bdev) in btrfs_find_next_active_device()2039 return next_device; in btrfs_find_next_active_device()2055 struct btrfs_device *next_device; in btrfs_assign_next_active_device() local2058 next_device = this_dev; in btrfs_assign_next_active_device()2060 next_device = btrfs_find_next_active_device(fs_info->fs_devices, in btrfs_assign_next_active_device()2062 ASSERT(next_device); in btrfs_assign_next_active_device()[all …]