Lines Matching defs:knode
179 dns_keynode_t *knode;
192 knode = isc_mem_get(keytable->mctx, sizeof(*knode));
193 if (knode == NULL)
202 knode->magic = KEYNODE_MAGIC;
203 knode->key = *keyp;
204 knode->next = node->data;
205 node->data = knode;
207 knode = NULL;
213 if (knode != NULL)
214 isc_mem_put(keytable->mctx, knode, sizeof(*knode));
225 dns_keynode_t *knode;
246 knode = NULL;
252 for (knode = data; knode != NULL; knode = knode->next) {
253 if (algorithm == dst_key_alg(knode->key)
254 && tag == dst_key_id(knode->key))
257 if (knode != NULL) {
261 *keynodep = knode;
277 dns_keynode_t *knode;
288 for (knode = keynode->next; knode != NULL; knode = knode->next) {
289 if (dst_key_alg(keynode->key) == dst_key_alg(knode->key) &&
290 dst_key_id(keynode->key) == dst_key_id(knode->key))
293 if (knode != NULL) {
298 *nextnodep = knode;