Lines Matching defs:controls
91 ns_controls_t * controls;
193 ISC_LIST_UNLINK(listener->controls->listeners, listener, link);
349 if (listener->controls->shuttingdown)
426 isccc_cc_cleansymtab(listener->controls->symtab, now);
427 result = isccc_cc_checkdup(listener->controls->symtab, request, now);
626 controls_shutdown(ns_controls_t *controls) {
630 for (listener = ISC_LIST_HEAD(controls->listeners);
644 ns_controls_shutdown(ns_controls_t *controls) {
645 controls_shutdown(controls);
646 controls->shuttingdown = ISC_TRUE;
1071 listener->controls = cp;
1211 * Get the list of named.conf 'controls' statements.
1213 (void)cfg_map_get(config, "controls", &controlslist);
1227 const cfg_obj_t *controls;
1230 controls = cfg_listelt_value(element);
1231 (void)cfg_map_get(controls, "inet", &inetcontrols);
1293 const cfg_obj_t *controls;
1296 controls = cfg_listelt_value(element);
1297 (void)cfg_map_get(controls, "unix", &unixcontrols);
1432 ns_controls_t *controls = isc_mem_get(mctx, sizeof(*controls));
1434 if (controls == NULL)
1436 controls->server = server;
1437 ISC_LIST_INIT(controls->listeners);
1438 controls->shuttingdown = ISC_FALSE;
1439 controls->symtab = NULL;
1440 result = isccc_cc_createsymtab(&controls->symtab);
1442 isc_mem_put(server->mctx, controls, sizeof(*controls));
1445 *ctrlsp = controls;
1451 ns_controls_t *controls = *ctrlsp;
1453 REQUIRE(ISC_LIST_EMPTY(controls->listeners));
1455 isccc_symtab_destroy(&controls->symtab);
1456 isc_mem_put(controls->server->mctx, controls, sizeof(*controls));