Lines Matching refs:subvol_name

1213 static int btrfs_parse_subvol_options(const char *options, char **subvol_name,  in btrfs_parse_subvol_options()  argument
1241 kfree(*subvol_name); in btrfs_parse_subvol_options()
1242 *subvol_name = match_strdup(&args[0]); in btrfs_parse_subvol_options()
1243 if (!*subvol_name) { in btrfs_parse_subvol_options()
1540 const char *subvol_name; in btrfs_show_options() local
1632 subvol_name = btrfs_get_subvol_name_from_objectid(info, in btrfs_show_options()
1634 if (!IS_ERR(subvol_name)) { in btrfs_show_options()
1636 seq_escape(seq, subvol_name, " \t\n\\"); in btrfs_show_options()
1637 kfree(subvol_name); in btrfs_show_options()
1668 static struct dentry *mount_subvol(const char *subvol_name, u64 subvol_objectid, in mount_subvol() argument
1674 if (!subvol_name) { in mount_subvol()
1683 subvol_name = btrfs_get_subvol_name_from_objectid( in mount_subvol()
1685 if (IS_ERR(subvol_name)) { in mount_subvol()
1686 root = ERR_CAST(subvol_name); in mount_subvol()
1687 subvol_name = NULL; in mount_subvol()
1693 root = mount_subtree(mnt, subvol_name); in mount_subvol()
1706 subvol_name); in mount_subvol()
1717 subvol_name, subvol_objectid); in mount_subvol()
1729 kfree(subvol_name); in mount_subvol()
1877 char *subvol_name = NULL; in btrfs_mount() local
1881 error = btrfs_parse_subvol_options(data, &subvol_name, in btrfs_mount()
1884 kfree(subvol_name); in btrfs_mount()
1899 kfree(subvol_name); in btrfs_mount()
1909 kfree(subvol_name); in btrfs_mount()
1916 kfree(subvol_name); in btrfs_mount()
1921 root = mount_subvol(subvol_name, subvol_objectid, mnt_root); in btrfs_mount()