Lines Matching refs:enabled
35 long long enabled; in __ikm_read_enable() local
40 retval = tracefs_instance_file_read_number(NULL, path, &enabled); in __ikm_read_enable()
44 return enabled; in __ikm_read_enable()
54 int enabled; in ikm_read_enable() local
56 enabled = __ikm_read_enable(monitor_name); in ikm_read_enable()
57 if (enabled < 0) { in ikm_read_enable()
58 err_msg("ikm: fail read enabled: %d\n", enabled); in ikm_read_enable()
62 debug_msg("ikm: read enabled: %d\n", enabled); in ikm_read_enable()
64 return enabled; in ikm_read_enable()
139 int enabled; in ikm_fill_monitor_definition() local
142 enabled = ikm_read_enable(name); in ikm_fill_monitor_definition()
143 if (enabled < 0) { in ikm_fill_monitor_definition()
155 ikm->enabled = enabled; in ikm_fill_monitor_definition()
296 printf("%-24s %s %s\n", ikm.name, ikm.desc, ikm.enabled ? "[ON]" : "[OFF]"); in ikm_list_monitors()