Searched refs:subvol_name (Results 1 – 2 of 2) sorted by relevance
/fs/btrfs/ |
D | super.c | 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 [all …]
|
D | ioctl.c | 2956 char *subvol_name, *subvol_name_ptr = NULL; in btrfs_ioctl_snap_destroy() local 2977 subvol_name = vol_args2->name; in btrfs_ioctl_snap_destroy() 3036 subvol_name = (char *)kbasename(subvol_name_ptr); in btrfs_ioctl_snap_destroy() 3044 subvol_name = vol_args->name; in btrfs_ioctl_snap_destroy() 3051 subvol_namelen = strlen(subvol_name); in btrfs_ioctl_snap_destroy() 3053 if (strchr(subvol_name, '/') || in btrfs_ioctl_snap_destroy() 3054 strncmp(subvol_name, "..", subvol_namelen) == 0) { in btrfs_ioctl_snap_destroy() 3067 dentry = lookup_one_len(subvol_name, parent, subvol_namelen); in btrfs_ioctl_snap_destroy()
|