Searched refs:restrict_link (Results 1 – 5 of 5) sorted by relevance
424 if (keyring->restrict_link) { in keyring_destroy()1005 keyres = keyres->key->restrict_link; in keyring_detect_restriction_cycle()1026 struct key_restriction *restrict_link; in keyring_restrict() local1051 if (IS_ERR(restrict_link)) { in keyring_restrict()1052 ret = PTR_ERR(restrict_link); in keyring_restrict()1059 if (keyring->restrict_link) { in keyring_restrict()1064 keyring->restrict_link = restrict_link; in keyring_restrict()1072 key_put(restrict_link->key); in keyring_restrict()1073 kfree(restrict_link); in keyring_restrict()1409 if (!keyring->restrict_link || !keyring->restrict_link->check) in __key_link_check_restriction()[all …]
228 struct key_restriction *restrict_link) in key_alloc() argument297 key->restrict_link = restrict_link; in key_alloc()529 if (keyring->restrict_link && keyring->restrict_link->check) { in key_instantiate_and_link()530 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()590 if (keyring->restrict_link) in key_reject_and_link()833 struct key_restriction *restrict_link = NULL; in key_create_or_update() local853 restrict_link = keyring->restrict_link; in key_create_or_update()892 if (restrict_link && restrict_link->check) { in key_create_or_update()893 ret = restrict_link->check(keyring, index_key.type, in key_create_or_update()894 &prep.payload, restrict_link->key); in key_create_or_update()
231 key->restrict_link) { in key_garbage_collector()
274 struct key_restriction *restrict_link; member283 struct key_restriction *restrict_link);410 struct key_restriction *restrict_link,
1260 struct key_restriction *restrict_link,1272 If restrict_link is not NULL, it should point to a structure that contains
Completed in 15 milliseconds