Lines Matching refs:imp
88 dns_dbimplementation_t *imp;
90 for (imp = ISC_LIST_HEAD(implementations);
91 imp != NULL;
92 imp = ISC_LIST_NEXT(imp, link))
93 if (strcasecmp(name, imp->name) == 0)
94 return (imp);
904 dns_dbimplementation_t *imp;
912 imp = impfind(name);
913 if (imp != NULL) {
918 imp = isc_mem_get(mctx, sizeof(dns_dbimplementation_t));
919 if (imp == NULL) {
923 imp->name = name;
924 imp->create = create;
925 imp->mctx = NULL;
926 imp->driverarg = driverarg;
927 isc_mem_attach(mctx, &imp->mctx);
928 ISC_LINK_INIT(imp, link);
929 ISC_LIST_APPEND(implementations, imp, link);
932 *dbimp = imp;
939 dns_dbimplementation_t *imp;
946 imp = *dbimp;
949 ISC_LIST_UNLINK(implementations, imp, link);
950 mctx = imp->mctx;
951 isc_mem_put(mctx, imp, sizeof(dns_dbimplementation_t));