Lines Matching refs:fs_devices
241 struct btrfs_fs_devices **fs_devices) in btrfs_parse_early_options() argument
270 flags, holder, fs_devices); in btrfs_parse_early_options()
296 struct btrfs_fs_devices *fs_devices, in btrfs_fill_super() argument
314 tree_root = open_ctree(sb, fs_devices, (char *)data); in btrfs_fill_super()
398 return root->fs_info->fs_devices == test_fs_devices; in btrfs_test_super()
414 struct btrfs_fs_devices *fs_devices = NULL; in btrfs_get_sb() local
422 &subvol_name, &fs_devices); in btrfs_get_sb()
426 error = btrfs_scan_one_device(dev_name, mode, fs_type, &fs_devices); in btrfs_get_sb()
430 error = btrfs_open_devices(fs_devices, mode, fs_type); in btrfs_get_sb()
434 if (!(flags & MS_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_get_sb()
439 bdev = fs_devices->latest_bdev; in btrfs_get_sb()
440 s = sget(fs_type, btrfs_test_super, set_anon_super, fs_devices); in btrfs_get_sb()
452 btrfs_close_devices(fs_devices); in btrfs_get_sb()
458 error = btrfs_fill_super(s, fs_devices, data, in btrfs_get_sb()
502 btrfs_close_devices(fs_devices); in btrfs_get_sb()
526 if (root->fs_info->fs_devices->rw_devices == 0) in btrfs_remount()
586 struct btrfs_fs_devices *fs_devices; in btrfs_control_ioctl() local
604 &btrfs_fs_type, &fs_devices); in btrfs_control_ioctl()