Lines Matching defs:option
737 static int osnoise_options_get_option(char *option)
748 * Check first if the option is disabled.
750 snprintf(no_option, sizeof(no_option), "NO_%s", option);
758 * enabled. If the string is not there, the option does not exist.
760 opt = strstr(options, option);
771 static int osnoise_options_set_option(char *option, bool onoff)
776 return tracefs_instance_file_write(NULL, "osnoise/options", option);
778 snprintf(no_option, sizeof(no_option), "NO_%s", option);
828 err_msg("Could not restore original OSNOISE_IRQ_DISABLE option\n");
889 err_msg("Could not restore original OSNOISE_WORKLOAD option\n");