Home
last modified time | relevance | path

Searched refs:subvol_name (Results 1 – 2 of 2) sorted by relevance

/fs/btrfs/
Dsuper.c1139 static int btrfs_parse_subvol_options(const char *options, char **subvol_name, in btrfs_parse_subvol_options() argument
1167 kfree(*subvol_name); in btrfs_parse_subvol_options()
1168 *subvol_name = match_strdup(&args[0]); in btrfs_parse_subvol_options()
1169 if (!*subvol_name) { in btrfs_parse_subvol_options()
1467 const char *subvol_name; in btrfs_show_options() local
1559 subvol_name = btrfs_get_subvol_name_from_objectid(info, in btrfs_show_options()
1561 if (!IS_ERR(subvol_name)) { in btrfs_show_options()
1563 seq_escape(seq, subvol_name, " \t\n\\"); in btrfs_show_options()
1564 kfree(subvol_name); in btrfs_show_options()
1595 static struct dentry *mount_subvol(const char *subvol_name, u64 subvol_objectid, in mount_subvol() argument
[all …]
Dioctl.c2934 char *subvol_name, *subvol_name_ptr = NULL; in btrfs_ioctl_snap_destroy() local
2955 subvol_name = vol_args2->name; in btrfs_ioctl_snap_destroy()
3031 subvol_name = (char *)kbasename(subvol_name_ptr); in btrfs_ioctl_snap_destroy()
3039 subvol_name = vol_args->name; in btrfs_ioctl_snap_destroy()
3046 subvol_namelen = strlen(subvol_name); in btrfs_ioctl_snap_destroy()
3048 if (strchr(subvol_name, '/') || in btrfs_ioctl_snap_destroy()
3049 strncmp(subvol_name, "..", subvol_namelen) == 0) { in btrfs_ioctl_snap_destroy()
3062 dentry = lookup_one(mnt_userns, subvol_name, parent, subvol_namelen); in btrfs_ioctl_snap_destroy()