Searched refs:ktype (Results 1 – 4 of 4) sorted by relevance
/security/keys/ |
D | key.c | 665 struct key_type *ktype; in key_type_lookup() local 671 list_for_each_entry(ktype, &key_types_list, link) { in key_type_lookup() 672 if (strcmp(ktype->name, type) == 0) in key_type_lookup() 677 ktype = ERR_PTR(-ENOKEY); in key_type_lookup() 680 return ktype; in key_type_lookup() 706 void key_type_put(struct key_type *ktype) in key_type_put() argument 1084 int register_key_type(struct key_type *ktype) in register_key_type() argument 1089 memset(&ktype->lock_class, 0, sizeof(ktype->lock_class)); in register_key_type() 1096 if (strcmp(p->name, ktype->name) == 0) in register_key_type() 1101 list_add(&ktype->link, &key_types_list); in register_key_type() [all …]
|
D | keyctl.c | 169 struct key_type *ktype; in SYSCALL_DEFINE4() local 212 ktype = key_type_lookup(type); in SYSCALL_DEFINE4() 213 if (IS_ERR(ktype)) { in SYSCALL_DEFINE4() 214 ret = PTR_ERR(ktype); in SYSCALL_DEFINE4() 219 key = request_key_and_link(ktype, description, callout_info, in SYSCALL_DEFINE4() 237 key_type_put(ktype); in SYSCALL_DEFINE4() 643 struct key_type *ktype; in keyctl_keyring_search() local 678 ktype = key_type_lookup(type); in keyctl_keyring_search() 679 if (IS_ERR(ktype)) { in keyctl_keyring_search() 680 ret = PTR_ERR(ktype); in keyctl_keyring_search() [all …]
|
D | gc.c | 104 void key_gc_keytype(struct key_type *ktype) in key_gc_keytype() argument 106 kenter("%s", ktype->name); in key_gc_keytype() 108 key_gc_dead_keytype = ktype; in key_gc_keytype()
|
D | internal.h | 89 extern void key_type_put(struct key_type *ktype); 170 extern void key_gc_keytype(struct key_type *ktype);
|