Searched refs:keyres (Results 1 – 2 of 2) sorted by relevance
398 struct key_restriction *keyres = keyring->restrict_link; in keyring_destroy() local400 key_put(keyres->key); in keyring_destroy()401 kfree(keyres); in keyring_destroy()948 struct key_restriction *keyres = in keyring_restriction_alloc() local951 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() argument972 while (keyres && keyres->key && in keyring_detect_restriction_cycle()973 keyres->key->type == &key_type_keyring) { in keyring_detect_restriction_cycle()[all …]
523 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link() local525 ret = keyres->check(keyring, key->type, &prep.payload, in key_instantiate_and_link()526 keyres->key); in key_instantiate_and_link()