Searched defs:inst (Results 1 - 6 of 6) sorted by relevance

/bind-9.11.3/bin/tests/system/dyndb/driver/
H A Dlock.c19 * For this reason this wrapper function always works with inst->task.
20 * As a result, this function have to be be called only from inst->task.
26 * The pair (inst, state) used for run_exclusive_enter() has to be
29 * @param[in] inst The instance with the only task which is allowed to run.
33 run_exclusive_enter(sample_instance_t *inst, isc_result_t *statep) { argument
37 *statep = isc_task_beginexclusive(inst->task);
44 * @param[in] inst The instance used for previous run_exclusive_enter() call.
48 run_exclusive_exit(sample_instance_t *inst, isc_result_t state) { argument
50 isc_task_endexclusive(inst->task);
H A Dinstance.c79 sample_instance_t *inst = NULL; local
83 CHECKED_MEM_GET_PTR(mctx, inst);
84 ZERO_PTR(inst);
85 isc_mem_attach(mctx, &inst->mctx);
87 inst->db_name = isc_mem_strdup(mctx, db_name);
88 if (inst->db_name == NULL) {
93 dns_fixedname_init(&inst->zone1_fn);
94 inst->zone1_name = dns_fixedname_name(&inst->zone1_fn);
96 dns_fixedname_init(&inst
123 load_sample_instance_zones(sample_instance_t *inst) argument
138 sample_instance_t *inst; local
[all...]
H A Dzone.c28 create_zone(sample_instance_t * const inst, dns_name_t * const name, argument
37 REQUIRE(inst != NULL);
41 zone_argv[0] = inst->db_name;
43 CHECK(dns_zone_create(&raw, inst->mctx));
48 CHECK(dns_zonemgr_managezone(inst->zmgr, raw));
51 CHECK(dns_acl_any(inst->mctx, &acl_any));
66 dns_zonemgr_releasezone(inst->zmgr, raw);
76 * Add zone to the view defined in inst->view. This will make the zone visible
80 publish_zone(sample_instance_t *inst, dns_zone_t *zone) { argument
87 REQUIRE(inst !
171 activate_zone(sample_instance_t *inst, dns_zone_t *raw) argument
[all...]
H A Dsyncptr.c89 syncptr_find_zone(sample_instance_t *inst, dns_rdata_t *rdata, argument
97 REQUIRE(inst != NULL);
102 CHECK(dns_rdata_tostruct(rdata, &ipv4, inst->mctx));
107 CHECK(dns_rdata_tostruct(rdata, &ipv6, inst->mctx));
125 result = dns_zt_find(inst->view->zonetable, name, 0, NULL, zone);
132 if (*zone != inst->zone1 && *zone != inst->zone2) {
164 syncptr(sample_instance_t *inst, dns_name_t *name, argument
168 isc_mem_t *mctx = inst->mctx;
181 pevent = (syncptrevent_t *)isc_event_allocate(inst
247 syncptrs(sample_instance_t *inst, dns_name_t *name, dns_rdataset_t *rdataset, dns_diffop_t op) argument
[all...]
H A Ddb.c39 sample_instance_t *inst; member in struct:sampledb
323 CHECK(syncptrs(sampledb->inst, dns_fixedname_name(&name),
351 CHECK(syncptrs(sampledb->inst, dns_fixedname_name(&name),
792 sampledb->inst = driverarg;
/bind-9.11.3/lib/dns/
H A Ddyndb.c49 void *inst; member in struct:dyndb_implementation
176 imp->inst = NULL;
291 imp->inst = NULL;
370 dctx, &implementation->inst));
399 elem->destroy_func(&elem->inst);
400 ENSURE(elem->inst == NULL);

Completed in 1196 milliseconds