Lines Matching defs:imp
78 dyndb_implementation_t *imp;
80 for (imp = ISC_LIST_HEAD(dyndb_implementations); imp != NULL;
81 imp = ISC_LIST_NEXT(imp, link))
83 if (strcasecmp(name, imp->name) == 0) {
84 return (imp);
125 dyndb_implementation_t *imp = NULL;
164 imp = isc_mem_get(mctx, sizeof(dyndb_implementation_t));
166 imp->mctx = NULL;
167 isc_mem_attach(mctx, &imp->mctx);
168 imp->handle = handle;
169 imp->register_func = register_func;
170 imp->destroy_func = destroy_func;
171 imp->name = isc_mem_strdup(mctx, instname);
173 imp->inst = NULL;
174 INIT_LINK(imp, link);
176 *impp = imp;
177 imp = NULL;
188 if (imp != NULL) {
189 isc_mem_putanddetach(&imp->mctx, imp,
201 dyndb_implementation_t *imp;
205 imp = *impp;
208 isc_mem_free(imp->mctx, imp->name);
209 isc_mem_putanddetach(&imp->mctx, imp, sizeof(dyndb_implementation_t));
241 dyndb_implementation_t *imp = NULL;
277 imp = isc_mem_get(mctx, sizeof(dyndb_implementation_t));
279 imp->mctx = NULL;
280 isc_mem_attach(mctx, &imp->mctx);
281 imp->handle = handle;
282 imp->register_func = register_func;
283 imp->destroy_func = destroy_func;
284 imp->name = isc_mem_strdup(mctx, instname);
286 imp->inst = NULL;
287 INIT_LINK(imp, link);
289 *impp = imp;
290 imp = NULL;
301 if (imp != NULL) {
302 isc_mem_putanddetach(&imp->mctx, imp,
314 dyndb_implementation_t *imp;
318 imp = *impp;
321 isc_mem_free(imp->mctx, imp->name);
322 isc_mem_putanddetach(&imp->mctx, imp, sizeof(dyndb_implementation_t));