Lines Matching refs:subvol_name

1055 static int btrfs_parse_subvol_options(const char *options, char **subvol_name,  in btrfs_parse_subvol_options()  argument
1083 kfree(*subvol_name); in btrfs_parse_subvol_options()
1084 *subvol_name = match_strdup(&args[0]); in btrfs_parse_subvol_options()
1085 if (!*subvol_name) { in btrfs_parse_subvol_options()
1390 const char *subvol_name; in btrfs_show_options() local
1477 subvol_name = btrfs_get_subvol_name_from_objectid(info, in btrfs_show_options()
1479 if (!IS_ERR(subvol_name)) { in btrfs_show_options()
1481 seq_escape(seq, subvol_name, " \t\n\\"); in btrfs_show_options()
1482 kfree(subvol_name); in btrfs_show_options()
1513 static struct dentry *mount_subvol(const char *subvol_name, u64 subvol_objectid, in mount_subvol() argument
1519 if (!subvol_name) { in mount_subvol()
1528 subvol_name = btrfs_get_subvol_name_from_objectid( in mount_subvol()
1530 if (IS_ERR(subvol_name)) { in mount_subvol()
1531 root = ERR_CAST(subvol_name); in mount_subvol()
1532 subvol_name = NULL; in mount_subvol()
1538 root = mount_subtree(mnt, subvol_name); in mount_subvol()
1551 subvol_name); in mount_subvol()
1562 subvol_name, subvol_objectid); in mount_subvol()
1574 kfree(subvol_name); in mount_subvol()
1720 char *subvol_name = NULL; in btrfs_mount() local
1724 error = btrfs_parse_subvol_options(data, &subvol_name, in btrfs_mount()
1727 kfree(subvol_name); in btrfs_mount()
1742 kfree(subvol_name); in btrfs_mount()
1752 kfree(subvol_name); in btrfs_mount()
1759 kfree(subvol_name); in btrfs_mount()
1764 root = mount_subvol(subvol_name, subvol_objectid, mnt_root); in btrfs_mount()