Home
last modified time | relevance | path

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

/linux/security/keys/
H A 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/tools/testing/selftests/resctrl/
H A Dcat_test.c139 * @uparams: User supplied parameters
157 const struct user_params *uparams, in cat_test() argument
175 ret = taskset_benchmark(bm_pid, uparams->cpu, &old_affinity); in cat_test()
186 pe_fd = perf_open(&pea, bm_pid, uparams->cpu); in cat_test()
200 ret = write_schemata("", schemata, uparams->cpu, test->resource); in cat_test()
204 ret = write_schemata(param->ctrlgrp, schemata, uparams->cpu, test->resource); in cat_test()
235 static int cat_run_test(const struct resctrl_test *test, const struct user_params *uparams) in cat_run_test() argument
239 int n = uparams->bits; in cat_run_test()
254 ret = get_cache_size(uparams->cpu, test->resource, &cache_total_size); in cat_run_test()
282 ret = cat_test(test, uparams, in cat_run_test()
314 noncont_cat_run_test(const struct resctrl_test * test,const struct user_params * uparams) noncont_cat_run_test() argument
[all...]
H A Dresctrl.h112 const struct user_params *uparams);
141 const struct user_params *uparams,
143 int (*measure)(const struct user_params *uparams,
191 int measure_read_mem_bw(const struct user_params *uparams,
196 const struct user_params *uparams,
/linux/drivers/tee/
H A Dtee_core.c434 struct tee_ioctl_param __user *uparams) in params_from_user() argument
442 if (copy_from_user(&ip, uparams + n, sizeof(ip))) in params_from_user()
493 static int params_to_user(struct tee_ioctl_param __user *uparams, in params_to_user() argument
499 struct tee_ioctl_param __user *up = uparams + n; in params_to_user()
541 struct tee_ioctl_param __user *uparams = NULL; in tee_ioctl_open_session() local
566 uparams = uarg->params; in tee_ioctl_open_session()
567 rc = params_from_user(ctx, params, arg.num_params, uparams); in tee_ioctl_open_session()
590 rc = params_to_user(uparams, arg.num_params, params); in tee_ioctl_open_session()
619 struct tee_ioctl_param __user *uparams = NULL; in tee_ioctl_invoke() local
643 uparams = uarg->params; in tee_ioctl_invoke()
[all …]