Lines Matching refs:enabled
85 * category we'll color the disabled services a faded shade of their enabled
86 * counterparts. The foreground of the enabled services will all be black,
178 * Return 1 if inst is enabled, 0 otherwise. Uses g_pg, g_prop, and g_val.
311 choose_color(const char *fmri, int enabled)
323 return (cp->colors[enabled ? 0 : 1]);
372 fmri = "svc:/system/enabled:default";
375 "svc:/system/enabled:default", "label=\"require_all\",style=bold",
381 fmri = "svc:/network/enabled:default";
384 "svc:/network/enabled:default", "label=\"require_any\"", 1);
389 fmri = "svc:/milestone/enabled:default";
392 "svc:/milestone/enabled:default",
398 fmri = "svc:/other/enabled:default";
401 "svc:/other/enabled:default",
448 int enabled;
459 * enabled status and call print_service_node(). The dependency names
543 enabled = is_enabled(i);
546 choose_color(fmri, enabled));
685 if (enabled && is_enabled(g_inst))
692 if (enabled && is_enabled(g_inst))