Lines Matching refs:ev
2120 catz_chgzone_event_t *ev = (catz_chgzone_event_t *) event0;
2131 cfg = (ns_cfgctx_t *) ev->view->new_zone_config;
2141 dns_name_totext(dns_catz_entry_getname(ev->entry), ISC_TRUE, &namebuf);
2145 result = dns_zt_find(ev->view->zonetable,
2146 dns_catz_entry_getname(ev->entry), 0, NULL, &zone);
2148 if (ev->mod == ISC_TRUE) {
2168 if (dns_zone_get_parentcatz(zone) != ev->origin) {
2197 result = dns_catz_generate_zonecfg(ev->origin, ev->entry, &confbuf);
2227 dns_view_thaw(ev->view);
2229 ev->cbd->server->mctx, ev->view,
2230 &ev->cbd->server->viewlist, cfg->actx,
2231 ISC_TRUE, ISC_FALSE, ev->mod);
2232 dns_view_freeze(ev->view);
2244 CHECK(dns_zt_find(ev->view->zonetable,
2245 dns_catz_entry_getname(ev->entry), 0, NULL, &zone));
2267 dns_zt_unmount(ev->view->zonetable, zone);
2273 dns_zone_set_parentcatz(zone, ev->origin);
2280 dns_catz_entry_detach(ev->origin, &ev->entry);
2281 dns_catz_zone_detach(&ev->origin);
2282 dns_view_detach(&ev->view);
2283 isc_event_free(ISC_EVENT_PTR(&ev));
2288 catz_chgzone_event_t *ev = (catz_chgzone_event_t *) event0;
2298 dns_name_format(dns_catz_entry_getname(ev->entry), cname,
2300 result = dns_zt_find(ev->view->zonetable,
2301 dns_catz_entry_getname(ev->entry), 0, NULL, &zone);
2319 if (dns_zone_get_parentcatz(zone) != ev->origin) {
2334 CHECK(dns_zt_unmount(ev->view->zonetable, zone));
2347 dns_catz_entry_detach(ev->origin, &ev->entry);
2348 dns_catz_zone_detach(&ev->origin);
2349 dns_view_detach(&ev->view);
2350 isc_event_free(ISC_EVENT_PTR(&ev));