Searched refs:keyres (Results 1 – 4 of 4) sorted by relevance
425 struct key_restriction *keyres = keyring->restrict_link; in keyring_destroy() local 427 key_put(keyres->key); in keyring_destroy() 428 kfree(keyres); in keyring_destroy() 979 struct key_restriction *keyres = in keyring_restriction_alloc() local 982 if (!keyres) in keyring_restriction_alloc() 985 keyres->check = check; in keyring_restriction_alloc() 987 return keyres; in keyring_restriction_alloc() 1001 struct key_restriction *keyres) in keyring_detect_restriction_cycle() argument 1003 while (keyres && keyres in keyring_detect_restriction_cycle() 1767 struct key_restriction *keyres; keyring_restriction_gc() local [all...]
531 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link() local 533 ret = keyres->check(keyring, key->type, &prep.payload, in key_instantiate_and_link() 534 keyres->key); in key_instantiate_and_link()
488 struct key_restriction *keyres = in asymmetric_restriction_alloc() local491 if (!keyres) in asymmetric_restriction_alloc()494 keyres->check = check; in asymmetric_restriction_alloc()495 keyres->key = key; in asymmetric_restriction_alloc()496 keyres->keytype = &key_type_asymmetric; in asymmetric_restriction_alloc()498 return keyres; in asymmetric_restriction_alloc()
679 u32 keyres[] = { in vcap_api_encode_max_keyfield_test() local699 for (idx = 0; idx < ARRAY_SIZE(keyres); ++idx) in vcap_api_encode_max_keyfield_test()700 KUNIT_EXPECT_EQ(test, keyres[idx], keywords[idx]); in vcap_api_encode_max_keyfield_test()