Lines Matching refs:subvol_name

945 static int btrfs_parse_subvol_options(const char *options, char **subvol_name,  in btrfs_parse_subvol_options()  argument
973 kfree(*subvol_name); in btrfs_parse_subvol_options()
974 *subvol_name = match_strdup(&args[0]); in btrfs_parse_subvol_options()
975 if (!*subvol_name) { in btrfs_parse_subvol_options()
1286 const char *subvol_name; in btrfs_show_options() local
1371 subvol_name = btrfs_get_subvol_name_from_objectid(info, in btrfs_show_options()
1373 if (!IS_ERR(subvol_name)) { in btrfs_show_options()
1375 seq_escape(seq, subvol_name, " \t\n\\"); in btrfs_show_options()
1376 kfree(subvol_name); in btrfs_show_options()
1407 static struct dentry *mount_subvol(const char *subvol_name, u64 subvol_objectid, in mount_subvol() argument
1413 if (!subvol_name) { in mount_subvol()
1422 subvol_name = btrfs_get_subvol_name_from_objectid( in mount_subvol()
1424 if (IS_ERR(subvol_name)) { in mount_subvol()
1425 root = ERR_CAST(subvol_name); in mount_subvol()
1426 subvol_name = NULL; in mount_subvol()
1432 root = mount_subtree(mnt, subvol_name); in mount_subvol()
1445 subvol_name); in mount_subvol()
1456 subvol_name, subvol_objectid); in mount_subvol()
1468 kfree(subvol_name); in mount_subvol()
1666 char *subvol_name = NULL; in btrfs_mount() local
1673 error = btrfs_parse_subvol_options(data, &subvol_name, in btrfs_mount()
1676 kfree(subvol_name); in btrfs_mount()
1691 kfree(subvol_name); in btrfs_mount()
1701 kfree(subvol_name); in btrfs_mount()
1708 kfree(subvol_name); in btrfs_mount()
1713 root = mount_subvol(subvol_name, subvol_objectid, device_name, mnt_root); in btrfs_mount()