Home
last modified time | relevance | path

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

/security/keys/
Dkeyring.c398 struct key_restriction *keyres = keyring->restrict_link; in keyring_destroy() local
400 key_put(keyres->key); in keyring_destroy()
401 kfree(keyres); in keyring_destroy()
948 struct key_restriction *keyres = in keyring_restriction_alloc() local
951 if (!keyres) in keyring_restriction_alloc()
954 keyres->check = check; in keyring_restriction_alloc()
956 return keyres; in keyring_restriction_alloc()
970 struct key_restriction *keyres) in keyring_detect_restriction_cycle() argument
972 while (keyres && keyres->key && in keyring_detect_restriction_cycle()
973 keyres->key->type == &key_type_keyring) { in keyring_detect_restriction_cycle()
[all …]
Dkey.c523 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link() local
525 ret = keyres->check(keyring, key->type, &prep.payload, in key_instantiate_and_link()
526 keyres->key); in key_instantiate_and_link()