Lines Matching defs:cfg
74 control_set_role_common(struct hastd_config *cfg, struct nv *nvout,
84 PJDLOG_ASSERT(cfg != NULL);
87 TAILQ_FOREACH(res, &cfg->hc_resources, hr_next) {
238 control_status(struct hastd_config *cfg, struct nv *nvout,
242 PJDLOG_ASSERT(cfg != NULL);
250 TAILQ_FOREACH(res, &cfg->hc_resources, hr_next) {
306 control_handle(struct hastd_config *cfg)
315 if (proto_accept(cfg->hc_controlconn, &conn) == -1) {
320 cfg->hc_controlin = conn;
371 TAILQ_FOREACH(res, &cfg->hc_resources, hr_next) {
374 control_set_role_common(cfg, nvout, role, res,
378 control_status(cfg, nvout, res, res->hr_name,
397 control_set_role_common(cfg, nvout, role, NULL,
401 control_status(cfg, nvout, NULL, str, ii);
425 cfg->hc_controlin = NULL;