Lines Matching refs:subvol_name
1080 static int btrfs_parse_subvol_options(const char *options, char **subvol_name, in btrfs_parse_subvol_options() argument
1108 kfree(*subvol_name); in btrfs_parse_subvol_options()
1109 *subvol_name = match_strdup(&args[0]); in btrfs_parse_subvol_options()
1110 if (!*subvol_name) { in btrfs_parse_subvol_options()
1415 const char *subvol_name; in btrfs_show_options() local
1502 subvol_name = btrfs_get_subvol_name_from_objectid(info, in btrfs_show_options()
1504 if (!IS_ERR(subvol_name)) { in btrfs_show_options()
1506 seq_escape(seq, subvol_name, " \t\n\\"); in btrfs_show_options()
1507 kfree(subvol_name); in btrfs_show_options()
1538 static struct dentry *mount_subvol(const char *subvol_name, u64 subvol_objectid, in mount_subvol() argument
1544 if (!subvol_name) { in mount_subvol()
1553 subvol_name = btrfs_get_subvol_name_from_objectid( in mount_subvol()
1555 if (IS_ERR(subvol_name)) { in mount_subvol()
1556 root = ERR_CAST(subvol_name); in mount_subvol()
1557 subvol_name = NULL; in mount_subvol()
1563 root = mount_subtree(mnt, subvol_name); in mount_subvol()
1576 subvol_name); in mount_subvol()
1587 subvol_name, subvol_objectid); in mount_subvol()
1599 kfree(subvol_name); in mount_subvol()
1745 char *subvol_name = NULL; in btrfs_mount() local
1749 error = btrfs_parse_subvol_options(data, &subvol_name, in btrfs_mount()
1752 kfree(subvol_name); in btrfs_mount()
1767 kfree(subvol_name); in btrfs_mount()
1777 kfree(subvol_name); in btrfs_mount()
1784 kfree(subvol_name); in btrfs_mount()
1789 root = mount_subvol(subvol_name, subvol_objectid, mnt_root); in btrfs_mount()