Lines Matching defs:controls
82 ns_controls_t * controls;
193 ISC_LIST_UNLINK(listener->controls->listeners, listener, link);
350 if (listener->controls->shuttingdown)
431 isccc_cc_cleansymtab(listener->controls->symtab, now);
432 result = isccc_cc_checkdup(listener->controls->symtab, request, now);
661 controls_shutdown(ns_controls_t *controls) {
665 for (listener = ISC_LIST_HEAD(controls->listeners);
679 ns_controls_shutdown(ns_controls_t *controls) {
680 controls_shutdown(controls);
681 controls->shuttingdown = ISC_TRUE;
1128 listener->controls = cp;
1277 * Get the list of named.conf 'controls' statements.
1279 (void)cfg_map_get(config, "controls", &controlslist);
1293 const cfg_obj_t *controls;
1296 controls = cfg_listelt_value(element);
1297 (void)cfg_map_get(controls, "inet", &inetcontrols);
1359 const cfg_obj_t *controls;
1362 controls = cfg_listelt_value(element);
1363 (void)cfg_map_get(controls, "unix", &unixcontrols);
1498 ns_controls_t *controls = isc_mem_get(mctx, sizeof(*controls));
1500 if (controls == NULL)
1502 controls->server = server;
1503 ISC_LIST_INIT(controls->listeners);
1504 controls->shuttingdown = ISC_FALSE;
1505 controls->symtab = NULL;
1506 result = isccc_cc_createsymtab(&controls->symtab);
1508 isc_mem_put(server->mctx, controls, sizeof(*controls));
1511 *ctrlsp = controls;
1517 ns_controls_t *controls = *ctrlsp;
1519 REQUIRE(ISC_LIST_EMPTY(controls->listeners));
1521 isccc_symtab_destroy(&controls->symtab);
1522 isc_mem_put(controls->server->mctx, controls, sizeof(*controls));