Lines Matching refs:cur_devices
1553 struct btrfs_fs_devices *cur_devices; in btrfs_rm_device() local
1690 cur_devices = device->fs_devices; in btrfs_rm_device()
1719 if (cur_devices->open_devices == 0) { in btrfs_rm_device()
1723 if (fs_devices->seed == cur_devices) { in btrfs_rm_device()
1724 fs_devices->seed = cur_devices->seed; in btrfs_rm_device()
1729 cur_devices->seed = NULL; in btrfs_rm_device()
1730 __btrfs_close_devices(cur_devices); in btrfs_rm_device()
1731 free_fs_devices(cur_devices); in btrfs_rm_device()
5919 struct btrfs_fs_devices *cur_devices; in btrfs_find_device() local
5921 cur_devices = fs_info->fs_devices; in btrfs_find_device()
5922 while (cur_devices) { in btrfs_find_device()
5924 !memcmp(cur_devices->fsid, fsid, BTRFS_UUID_SIZE)) { in btrfs_find_device()
5925 device = __find_device(&cur_devices->devices, in btrfs_find_device()
5930 cur_devices = cur_devices->seed; in btrfs_find_device()