Lines Matching refs:fs_devices
1177 struct btrfs_fs_devices *fs_devices, in btrfs_fill_super() argument
1204 err = open_ctree(sb, fs_devices, (char *)data); in btrfs_fill_super()
1375 return fs_info->fs_devices == p->fs_devices; in btrfs_test_super()
1523 struct btrfs_fs_devices *fs_devices = NULL; in btrfs_mount_root() local
1573 fs_devices = device->fs_devices; in btrfs_mount_root()
1574 fs_info->fs_devices = fs_devices; in btrfs_mount_root()
1576 error = btrfs_open_devices(fs_devices, mode, fs_type); in btrfs_mount_root()
1581 if (!(flags & SB_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_mount_root()
1586 bdev = fs_devices->latest_bdev; in btrfs_mount_root()
1595 btrfs_close_devices(fs_devices); in btrfs_mount_root()
1602 error = btrfs_fill_super(s, fs_devices, data); in btrfs_mount_root()
1619 btrfs_close_devices(fs_devices); in btrfs_mount_root()
1844 if (fs_info->fs_devices->rw_devices == 0) { in btrfs_remount()
1952 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; in btrfs_calc_avail_data_space() local
1965 nr_devices = fs_info->fs_devices->open_devices; in btrfs_calc_avail_data_space()
1968 nr_devices = fs_info->fs_devices->open_devices; in btrfs_calc_avail_data_space()
2000 list_for_each_entry_rcu(device, &fs_devices->devices, dev_list) { in btrfs_calc_avail_data_space()
2256 ret = !(device->fs_devices->num_devices == in btrfs_control_ioctl()
2257 device->fs_devices->total_devices); in btrfs_control_ioctl()
2315 cur_devices = fs_info->fs_devices; in btrfs_show_devname()