Home
last modified time | relevance | path

Searched refs:match_data (Results 1 – 6 of 6) sorted by relevance

/security/keys/
Dkeyring.c512 const struct key_match_data *match_data) in key_default_cmp() argument
514 return strcmp(key->description, match_data->raw_data) == 0; in key_default_cmp()
552 if (!ctx->match_data.cmp(key, &ctx->match_data)) { in keyring_search_iterator()
592 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_DIRECT) { in search_keyring()
637 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_ITERATE || in search_nested_keyrings()
892 .match_data.cmp = key_default_cmp, in keyring_search()
893 .match_data.raw_data = description, in keyring_search()
894 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_search()
901 ret = type->match_preparse(&ctx.match_data); in keyring_search()
909 type->match_free(&ctx.match_data); in keyring_search()
[all …]
Drequest_key_auth.c249 .match_data.cmp = key_default_cmp, in key_get_instantiation_authkey()
250 .match_data.raw_data = description, in key_get_instantiation_authkey()
251 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in key_get_instantiation_authkey()
Dinternal.h113 struct key_match_data match_data; member
132 const struct key_match_data *match_data);
155 const struct key_match_data *match_data);
Drequest_key.c548 .match_data.cmp = key_default_cmp, in request_key_and_link()
549 .match_data.raw_data = description, in request_key_and_link()
550 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_and_link()
563 ret = type->match_preparse(&ctx.match_data); in request_key_and_link()
600 type->match_free(&ctx.match_data); in request_key_and_link()
Dproc.c197 .match_data.cmp = lookup_user_key_possessed, in proc_keys_show()
198 .match_data.raw_data = key, in proc_keys_show()
199 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in proc_keys_show()
Dprocess_keys.c507 const struct key_match_data *match_data) in lookup_user_key_possessed() argument
509 return key == match_data->raw_data; in lookup_user_key_possessed()
534 .match_data.cmp = lookup_user_key_possessed, in lookup_user_key()
535 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in lookup_user_key()
691 ctx.match_data.raw_data = key; in lookup_user_key()