Searched refs:restrict_type (Results 1 – 1 of 1) sorted by relevance
1028 struct key_type *restrict_type = NULL; in keyring_restrict() local1041 restrict_type = key_type_lookup(type); in keyring_restrict()1043 if (IS_ERR(restrict_type)) in keyring_restrict()1044 return PTR_ERR(restrict_type); in keyring_restrict()1046 if (!restrict_type->lookup_restriction) { in keyring_restrict()1051 restrict_link = restrict_type->lookup_restriction(restriction); in keyring_restrict()1080 if (restrict_type) in keyring_restrict()1081 key_type_put(restrict_type); in keyring_restrict()