Lines Matching refs:node
62 struct bpf_crypto_type_list *node; in bpf_crypto_register_type() local
66 list_for_each_entry(node, &bpf_crypto_types, list) { in bpf_crypto_register_type()
67 if (!strcmp(node->type->name, type->name)) in bpf_crypto_register_type()
71 node = kmalloc(sizeof(*node), GFP_KERNEL); in bpf_crypto_register_type()
73 if (!node) in bpf_crypto_register_type()
76 node->type = type; in bpf_crypto_register_type()
77 list_add(&node->list, &bpf_crypto_types); in bpf_crypto_register_type()
89 struct bpf_crypto_type_list *node; in bpf_crypto_unregister_type() local
93 list_for_each_entry(node, &bpf_crypto_types, list) { in bpf_crypto_unregister_type()
94 if (strcmp(node->type->name, type->name)) in bpf_crypto_unregister_type()
97 list_del(&node->list); in bpf_crypto_unregister_type()
98 kfree(node); in bpf_crypto_unregister_type()
111 struct bpf_crypto_type_list *node; in bpf_crypto_get_type() local
114 list_for_each_entry(node, &bpf_crypto_types, list) { in bpf_crypto_get_type()
115 if (strcmp(node->type->name, name)) in bpf_crypto_get_type()
118 if (try_module_get(node->type->owner)) in bpf_crypto_get_type()
119 type = node->type; in bpf_crypto_get_type()