Searched refs:ktype (Results 1 – 4 of 4) sorted by relevance
662 struct key_type *ktype; in key_type_lookup() local668 list_for_each_entry(ktype, &key_types_list, link) { in key_type_lookup()669 if (strcmp(ktype->name, type) == 0) in key_type_lookup()674 ktype = ERR_PTR(-ENOKEY); in key_type_lookup()677 return ktype; in key_type_lookup()685 void key_type_put(struct key_type *ktype) in key_type_put() argument747 struct key_type *ktype; in key_create_or_update() local754 ktype = key_type_lookup(type); in key_create_or_update()755 if (IS_ERR(ktype)) { in key_create_or_update()761 if (!ktype->match || !ktype->instantiate) in key_create_or_update()[all …]
154 struct key_type *ktype; in SYSCALL_DEFINE4() local196 ktype = key_type_lookup(type); in SYSCALL_DEFINE4()197 if (IS_ERR(ktype)) { in SYSCALL_DEFINE4()198 ret = PTR_ERR(ktype); in SYSCALL_DEFINE4()203 key = request_key_and_link(ktype, description, callout_info, in SYSCALL_DEFINE4()215 key_type_put(ktype); in SYSCALL_DEFINE4()544 struct key_type *ktype; in keyctl_keyring_search() local578 ktype = key_type_lookup(type); in keyctl_keyring_search()579 if (IS_ERR(ktype)) { in keyctl_keyring_search()580 ret = PTR_ERR(ktype); in keyctl_keyring_search()[all …]
86 extern void key_type_put(struct key_type *ktype);
476 const struct key_type *ktype, in __keyring_search_one() argument495 if (key->type == ktype && in __keyring_search_one()