Home
last modified time | relevance | path

Searched refs:params (Results 1 – 7 of 7) sorted by relevance

/security/keys/
A Dkeyctl_pkey.c19 kfree(params->info); in keyctl_pkey_params_free()
20 key_put(params->key); in keyctl_pkey_params_free()
59 params->encoding = q; in keyctl_pkey_params_parse()
86 memset(params, 0, sizeof(*params)); in keyctl_pkey_params_get()
92 params->info = p; in keyctl_pkey_params_get()
122 memset(params, 0, sizeof(*params)); in keyctl_pkey_params_get_2()
132 ret = params->key->type->asym_query(params, &info); in keyctl_pkey_params_get_2()
181 ret = params.key->type->asym_query(&params, &res); in keyctl_pkey_query()
255 ret = params.key->type->asym_eds_op(&params, in, out); in keyctl_pkey_e_d_s()
298 &params); in keyctl_pkey_verify()
[all …]
A Dcompat_dh.c16 long compat_keyctl_dh_compute(struct keyctl_dh_params __user *params, in compat_keyctl_dh_compute() argument
24 return __keyctl_dh_compute(params, buffer, buflen, NULL); in compat_keyctl_dh_compute()
35 return __keyctl_dh_compute(params, buffer, buflen, &kdfcopy); in compat_keyctl_dh_compute()
A Ddh.c122 long __keyctl_dh_compute(struct keyctl_dh_params __user *params, in __keyctl_dh_compute() argument
140 if (!params || (!buffer && buflen)) { in __keyctl_dh_compute()
144 if (copy_from_user(&pcopy, params, sizeof(pcopy)) != 0) { in __keyctl_dh_compute()
300 long keyctl_dh_compute(struct keyctl_dh_params __user *params, in keyctl_dh_compute() argument
307 return __keyctl_dh_compute(params, buffer, buflen, NULL); in keyctl_dh_compute()
312 return __keyctl_dh_compute(params, buffer, buflen, &kdfcopy); in keyctl_dh_compute()
A Dinternal.h284 extern long compat_keyctl_dh_compute(struct keyctl_dh_params __user *params,
291 static inline long keyctl_dh_compute(struct keyctl_dh_params __user *params, in keyctl_dh_compute() argument
300 struct keyctl_dh_params __user *params, in compat_keyctl_dh_compute() argument
330 static inline long keyctl_pkey_verify(const struct keyctl_pkey_params __user *params, in keyctl_pkey_verify() argument
339 const struct keyctl_pkey_params __user *params, in keyctl_pkey_e_d_s() argument
/security/selinux/ss/
A Dsidtab.c426 int sidtab_convert(struct sidtab *s, struct sidtab_convert_params *params) in sidtab_convert() argument
446 rc = sidtab_do_lookup(params->target, count - 1, 1) ? 0 : -ENOMEM; in sidtab_convert()
453 params->target->count = count; in sidtab_convert()
456 s->convert = params; in sidtab_convert()
465 rc = sidtab_convert_tree(&params->target->roots[level], in sidtab_convert()
466 &s->roots[level], &pos, count, level, params); in sidtab_convert()
479 sidtab_convert_hashtable(params->target, count); in sidtab_convert()
A Dsidtab.h126 int sidtab_convert(struct sidtab *s, struct sidtab_convert_params *params);
/security/apparmor/
A Dpolicy_unpack.c851 struct rhashtable_params params = { 0 }; in unpack_profile() local
1083 params.nelem_hint = 3; in unpack_profile()
1084 params.key_len = sizeof(void *); in unpack_profile()
1085 params.key_offset = offsetof(struct aa_data, key); in unpack_profile()
1086 params.head_offset = offsetof(struct aa_data, head); in unpack_profile()
1087 params.hashfn = strhash; in unpack_profile()
1088 params.obj_cmpfn = datacmp; in unpack_profile()
1090 if (rhashtable_init(profile->data, &params)) { in unpack_profile()
1350 const zstd_parameters params = in compress_zstd() local
1352 const size_t wksp_len = zstd_cctx_workspace_bound(&params.cParams); in compress_zstd()
[all …]

Completed in 12 milliseconds