Lines Matching refs:subvol_name
940 static int btrfs_parse_subvol_options(const char *options, char **subvol_name, in btrfs_parse_subvol_options() argument
968 kfree(*subvol_name); in btrfs_parse_subvol_options()
969 *subvol_name = match_strdup(&args[0]); in btrfs_parse_subvol_options()
970 if (!*subvol_name) { in btrfs_parse_subvol_options()
1396 static struct dentry *mount_subvol(const char *subvol_name, u64 subvol_objectid, in mount_subvol() argument
1402 if (!subvol_name) { in mount_subvol()
1411 subvol_name = get_subvol_name_from_objectid(btrfs_sb(mnt->mnt_sb), in mount_subvol()
1413 if (IS_ERR(subvol_name)) { in mount_subvol()
1414 root = ERR_CAST(subvol_name); in mount_subvol()
1415 subvol_name = NULL; in mount_subvol()
1421 root = mount_subtree(mnt, subvol_name); in mount_subvol()
1434 subvol_name); in mount_subvol()
1445 subvol_name, subvol_objectid); in mount_subvol()
1457 kfree(subvol_name); in mount_subvol()
1655 char *subvol_name = NULL; in btrfs_mount() local
1662 error = btrfs_parse_subvol_options(data, &subvol_name, in btrfs_mount()
1665 kfree(subvol_name); in btrfs_mount()
1699 root = mount_subvol(subvol_name, subvol_objectid, device_name, mnt_root); in btrfs_mount()