Home
last modified time | relevance | path

Searched refs:uarg (Results 1 – 5 of 5) sorted by relevance

/fs/verity/
Dmeasure.c26 struct fsverity_digest __user *uarg = _uarg; in fsverity_ioctl_measure() local
42 if (get_user(arg.digest_size, &uarg->digest_size)) in fsverity_ioctl_measure()
51 if (copy_to_user(uarg, &arg, sizeof(arg))) in fsverity_ioctl_measure()
54 if (copy_to_user(uarg->digest, vi->measurement, hash_alg->digest_size)) in fsverity_ioctl_measure()
Denable.c340 int fsverity_ioctl_enable(struct file *filp, const void __user *uarg) in fsverity_ioctl_enable() argument
346 if (copy_from_user(&arg, uarg, sizeof(arg))) in fsverity_ioctl_enable()
/fs/crypto/
Dkeyring.c645 struct fscrypt_add_key_arg __user *uarg = _uarg; in fscrypt_ioctl_add_key() local
650 if (copy_from_user(&arg, uarg, sizeof(arg))) in fscrypt_ioctl_add_key()
695 if (copy_from_user(secret.raw, uarg->raw, secret.size)) in fscrypt_ioctl_add_key()
706 copy_to_user(uarg->key_spec.u.identifier, arg.key_spec.u.identifier, in fscrypt_ioctl_add_key()
934 struct fscrypt_remove_key_arg __user *uarg = _uarg; in do_remove_key() local
942 if (copy_from_user(&arg, uarg, sizeof(arg))) in do_remove_key()
1025 err = put_user(status_flags, &uarg->removal_status_flags); in do_remove_key()
1029 int fscrypt_ioctl_remove_key(struct file *filp, void __user *uarg) in fscrypt_ioctl_remove_key() argument
1031 return do_remove_key(filp, uarg, false); in fscrypt_ioctl_remove_key()
1035 int fscrypt_ioctl_remove_key_all_users(struct file *filp, void __user *uarg) in fscrypt_ioctl_remove_key_all_users() argument
[all …]
Dpolicy.c510 int fscrypt_ioctl_get_policy_ex(struct file *filp, void __user *uarg) in fscrypt_ioctl_get_policy_ex() argument
528 if (copy_from_user(&arg, uarg, sizeof(arg.policy_size))) in fscrypt_ioctl_get_policy_ex()
535 if (copy_to_user(uarg, &arg, sizeof(arg.policy_size) + policy_size)) in fscrypt_ioctl_get_policy_ex()
/fs/btrfs/
Dioctl.c2356 struct btrfs_ioctl_search_args_v2 __user *uarg; in btrfs_ioctl_tree_search_v2() local
2367 uarg = (struct btrfs_ioctl_search_args_v2 __user *)argp; in btrfs_ioctl_tree_search_v2()
2368 if (copy_from_user(&args, uarg, sizeof(args))) in btrfs_ioctl_tree_search_v2()
2379 (char __user *)(&uarg->buf[0])); in btrfs_ioctl_tree_search_v2()
2380 if (ret == 0 && copy_to_user(&uarg->key, &args.key, sizeof(args.key))) in btrfs_ioctl_tree_search_v2()
2383 copy_to_user(&uarg->buf_size, &buf_size, sizeof(buf_size))) in btrfs_ioctl_tree_search_v2()