Searched refs:next_device (Results 1 – 1 of 1) sorted by relevance
2044 struct btrfs_device *next_device; in btrfs_find_next_active_device() local2046 list_for_each_entry(next_device, &fs_devs->devices, dev_list) { in btrfs_find_next_active_device()2047 if (next_device != device && in btrfs_find_next_active_device()2048 !test_bit(BTRFS_DEV_STATE_MISSING, &next_device->dev_state) in btrfs_find_next_active_device()2049 && next_device->bdev) in btrfs_find_next_active_device()2050 return next_device; in btrfs_find_next_active_device()2063 struct btrfs_device *next_device) in btrfs_assign_next_active_device() argument2067 if (!next_device) in btrfs_assign_next_active_device()2068 next_device = btrfs_find_next_active_device(fs_info->fs_devices, in btrfs_assign_next_active_device()2070 ASSERT(next_device); in btrfs_assign_next_active_device()[all …]