Lines Matching defs:nh
497 dns_adbnamehook_t *nh;
524 nh = NULL;
541 INSIST(nh == NULL);
542 nh = new_adbnamehook(adb, NULL);
543 if (nh == NULL) {
564 nh->entry = entry;
575 nh->entry = foundentry;
577 free_adbnamehook(adb, &nh);
581 if (nh != NULL)
582 ISC_LIST_APPEND(*hookhead, nh, plink);
583 nh = NULL;
588 if (nh != NULL)
589 free_adbnamehook(adb, &nh);
1339 dns_adbnamehook_t *nh;
1341 nh = isc_mempool_get(adb->nhmp);
1342 if (nh == NULL)
1345 nh->magic = DNS_ADBNAMEHOOK_MAGIC;
1346 nh->entry = entry;
1347 ISC_LINK_INIT(nh, plink);
1349 return (nh);
1354 dns_adbnamehook_t *nh;
1357 nh = *namehook;
1360 INSIST(nh->entry == NULL);
1361 INSIST(!ISC_LINK_LINKED(nh, plink));
1363 nh->magic = 0;
1364 isc_mempool_put(adb->nhmp, nh);
2949 dns_adbnamehook_t *nh;
2951 for (nh = ISC_LIST_HEAD(*list);
2952 nh != NULL;
2953 nh = ISC_LIST_NEXT(nh, plink))
2956 fprintf(f, ";\tHook(%s) %p\n", legend, nh);
2957 dump_entry(f, nh->entry, debug, now);