Lines Matching refs:args32
4897 struct btrfs_ioctl_received_subvol_args_32 *args32 = NULL; in btrfs_ioctl_set_received_subvol_32() local
4901 args32 = memdup_user(arg, sizeof(*args32)); in btrfs_ioctl_set_received_subvol_32()
4902 if (IS_ERR(args32)) in btrfs_ioctl_set_received_subvol_32()
4903 return PTR_ERR(args32); in btrfs_ioctl_set_received_subvol_32()
4911 memcpy(args64->uuid, args32->uuid, BTRFS_UUID_SIZE); in btrfs_ioctl_set_received_subvol_32()
4912 args64->stransid = args32->stransid; in btrfs_ioctl_set_received_subvol_32()
4913 args64->rtransid = args32->rtransid; in btrfs_ioctl_set_received_subvol_32()
4914 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32()
4915 args64->stime.nsec = args32->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
4916 args64->rtime.sec = args32->rtime.sec; in btrfs_ioctl_set_received_subvol_32()
4917 args64->rtime.nsec = args32->rtime.nsec; in btrfs_ioctl_set_received_subvol_32()
4918 args64->flags = args32->flags; in btrfs_ioctl_set_received_subvol_32()
4924 memcpy(args32->uuid, args64->uuid, BTRFS_UUID_SIZE); in btrfs_ioctl_set_received_subvol_32()
4925 args32->stransid = args64->stransid; in btrfs_ioctl_set_received_subvol_32()
4926 args32->rtransid = args64->rtransid; in btrfs_ioctl_set_received_subvol_32()
4927 args32->stime.sec = args64->stime.sec; in btrfs_ioctl_set_received_subvol_32()
4928 args32->stime.nsec = args64->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
4929 args32->rtime.sec = args64->rtime.sec; in btrfs_ioctl_set_received_subvol_32()
4930 args32->rtime.nsec = args64->rtime.nsec; in btrfs_ioctl_set_received_subvol_32()
4931 args32->flags = args64->flags; in btrfs_ioctl_set_received_subvol_32()
4933 ret = copy_to_user(arg, args32, sizeof(*args32)); in btrfs_ioctl_set_received_subvol_32()
4938 kfree(args32); in btrfs_ioctl_set_received_subvol_32()
5213 struct btrfs_ioctl_send_args_32 args32; in _btrfs_ioctl_send() local
5215 ret = copy_from_user(&args32, argp, sizeof(args32)); in _btrfs_ioctl_send()
5221 arg->send_fd = args32.send_fd; in _btrfs_ioctl_send()
5222 arg->clone_sources_count = args32.clone_sources_count; in _btrfs_ioctl_send()
5223 arg->clone_sources = compat_ptr(args32.clone_sources); in _btrfs_ioctl_send()
5224 arg->parent_root = args32.parent_root; in _btrfs_ioctl_send()
5225 arg->flags = args32.flags; in _btrfs_ioctl_send()
5226 memcpy(arg->reserved, args32.reserved, in _btrfs_ioctl_send()
5227 sizeof(args32.reserved)); in _btrfs_ioctl_send()
5262 struct btrfs_ioctl_encoded_io_args_32 args32; in btrfs_ioctl_encoded_read() local
5266 if (copy_from_user(&args32, argp, copy_end)) { in btrfs_ioctl_encoded_read()
5270 args.iov = compat_ptr(args32.iov); in btrfs_ioctl_encoded_read()
5271 args.iovcnt = args32.iovcnt; in btrfs_ioctl_encoded_read()
5272 args.offset = args32.offset; in btrfs_ioctl_encoded_read()
5273 args.flags = args32.flags; in btrfs_ioctl_encoded_read()
5346 struct btrfs_ioctl_encoded_io_args_32 args32; in btrfs_ioctl_encoded_write() local
5348 if (copy_from_user(&args32, argp, sizeof(args32))) { in btrfs_ioctl_encoded_write()
5352 args.iov = compat_ptr(args32.iov); in btrfs_ioctl_encoded_write()
5353 args.iovcnt = args32.iovcnt; in btrfs_ioctl_encoded_write()
5354 args.offset = args32.offset; in btrfs_ioctl_encoded_write()
5355 args.flags = args32.flags; in btrfs_ioctl_encoded_write()
5356 args.len = args32.len; in btrfs_ioctl_encoded_write()
5357 args.unencoded_len = args32.unencoded_len; in btrfs_ioctl_encoded_write()
5358 args.unencoded_offset = args32.unencoded_offset; in btrfs_ioctl_encoded_write()
5359 args.compression = args32.compression; in btrfs_ioctl_encoded_write()
5360 args.encryption = args32.encryption; in btrfs_ioctl_encoded_write()
5361 memcpy(args.reserved, args32.reserved, sizeof(args.reserved)); in btrfs_ioctl_encoded_write()