Home
last modified time | relevance | path

Searched refs:ktype (Results 1 – 4 of 4) sorted by relevance

/security/keys/
A Dkey.c718 struct key_type *ktype; in key_type_lookup() local
725 if (strcmp(ktype->name, type) == 0) in key_type_lookup()
730 ktype = ERR_PTR(-ENOKEY); in key_type_lookup()
733 return ktype; in key_type_lookup()
754 void key_type_put(struct key_type *ktype) in key_type_put() argument
1224 int register_key_type(struct key_type *ktype) in register_key_type() argument
1229 memset(&ktype->lock_class, 0, sizeof(ktype->lock_class)); in register_key_type()
1236 if (strcmp(p->name, ktype->name) == 0) in register_key_type()
1241 list_add(&ktype->link, &key_types_list); in register_key_type()
1263 list_del_init(&ktype->link); in unregister_key_type()
[all …]
A Dgc.c112 void key_gc_keytype(struct key_type *ktype) in key_gc_keytype() argument
114 kenter("%s", ktype->name); in key_gc_keytype()
116 key_gc_dead_keytype = ktype; in key_gc_keytype()
A Dkeyctl.c172 struct key_type *ktype; in SYSCALL_DEFINE4() local
215 ktype = key_type_lookup(type); in SYSCALL_DEFINE4()
216 if (IS_ERR(ktype)) { in SYSCALL_DEFINE4()
217 ret = PTR_ERR(ktype); in SYSCALL_DEFINE4()
222 key = request_key_and_link(ktype, description, NULL, callout_info, in SYSCALL_DEFINE4()
240 key_type_put(ktype); in SYSCALL_DEFINE4()
721 struct key_type *ktype; in keyctl_keyring_search() local
756 ktype = key_type_lookup(type); in keyctl_keyring_search()
757 if (IS_ERR(ktype)) { in keyctl_keyring_search()
758 ret = PTR_ERR(ktype); in keyctl_keyring_search()
[all …]
A Dinternal.h93 extern void key_type_put(struct key_type *ktype);
173 extern void key_gc_keytype(struct key_type *ktype);

Completed in 13 milliseconds