Home
last modified time | relevance | path

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

/linux-6.1.9/security/keys/
Dkeyctl_pkey.c118 struct keyctl_pkey_params uparams; in keyctl_pkey_params_get_2() local
125 if (copy_from_user(&uparams, _params, sizeof(uparams)) != 0) in keyctl_pkey_params_get_2()
128 ret = keyctl_pkey_params_get(uparams.key_id, _info, params); in keyctl_pkey_params_get_2()
138 if (uparams.in_len > info.max_dec_size || in keyctl_pkey_params_get_2()
139 uparams.out_len > info.max_enc_size) in keyctl_pkey_params_get_2()
143 if (uparams.in_len > info.max_enc_size || in keyctl_pkey_params_get_2()
144 uparams.out_len > info.max_dec_size) in keyctl_pkey_params_get_2()
148 if (uparams.in_len > info.max_data_size || in keyctl_pkey_params_get_2()
149 uparams.out_len > info.max_sig_size) in keyctl_pkey_params_get_2()
153 if (uparams.in_len > info.max_data_size || in keyctl_pkey_params_get_2()
[all …]
/linux-6.1.9/drivers/tee/
Dtee_core.c358 struct tee_ioctl_param __user *uparams) in params_from_user() argument
366 if (copy_from_user(&ip, uparams + n, sizeof(ip))) in params_from_user()
435 static int params_to_user(struct tee_ioctl_param __user *uparams, in params_to_user() argument
441 struct tee_ioctl_param __user *up = uparams + n; in params_to_user()
472 struct tee_ioctl_param __user *uparams = NULL; in tee_ioctl_open_session() local
498 uparams = uarg->params; in tee_ioctl_open_session()
499 rc = params_from_user(ctx, params, arg.num_params, uparams); in tee_ioctl_open_session()
522 rc = params_to_user(uparams, arg.num_params, params); in tee_ioctl_open_session()
551 struct tee_ioctl_param __user *uparams = NULL; in tee_ioctl_invoke() local
576 uparams = uarg->params; in tee_ioctl_invoke()
[all …]