Lines Matching refs:vol_args2
2373 struct btrfs_ioctl_vol_args_v2 *vol_args2 = NULL; in btrfs_ioctl_snap_destroy() local
2388 vol_args2 = memdup_user(arg, sizeof(*vol_args2)); in btrfs_ioctl_snap_destroy()
2389 if (IS_ERR(vol_args2)) in btrfs_ioctl_snap_destroy()
2390 return PTR_ERR(vol_args2); in btrfs_ioctl_snap_destroy()
2392 if (vol_args2->flags & ~BTRFS_SUBVOL_DELETE_ARGS_MASK) { in btrfs_ioctl_snap_destroy()
2401 if (!(vol_args2->flags & BTRFS_SUBVOL_SPEC_BY_ID)) { in btrfs_ioctl_snap_destroy()
2402 vol_args2->name[BTRFS_SUBVOL_NAME_MAX] = 0; in btrfs_ioctl_snap_destroy()
2403 subvol_name = vol_args2->name; in btrfs_ioctl_snap_destroy()
2411 if (vol_args2->subvolid < BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()
2422 vol_args2->subvolid, 0); in btrfs_ioctl_snap_destroy()
2473 fs_info, vol_args2->subvolid); in btrfs_ioctl_snap_destroy()
2585 kfree(vol_args2); in btrfs_ioctl_snap_destroy()