Searched refs:restrict_type (Results 1 – 1 of 1) sorted by relevance
1029 struct key_type *restrict_type = NULL; in keyring_restrict() local1042 restrict_type = key_type_lookup(type); in keyring_restrict()1044 if (IS_ERR(restrict_type)) in keyring_restrict()1045 return PTR_ERR(restrict_type); in keyring_restrict()1047 if (!restrict_type->lookup_restriction) { in keyring_restrict()1052 restrict_link = restrict_type->lookup_restriction(restriction); in keyring_restrict()1079 if (restrict_type) in keyring_restrict()1080 key_type_put(restrict_type); in keyring_restrict()