Lines Matching full:literal
417 double expr__get_literal(const char *literal, const struct expr_scanner_ctx *ctx) in expr__get_literal() argument
422 if (!strcmp("#num_cpus", literal)) { in expr__get_literal()
426 if (!strcmp("#num_cpus_online", literal)) { in expr__get_literal()
434 if (!strcasecmp("#system_tsc_freq", literal)) { in expr__get_literal()
445 if (!strcasecmp("#smt_on", literal)) { in expr__get_literal()
449 if (!strcmp("#core_wide", literal)) { in expr__get_literal()
454 if (!strcmp("#num_packages", literal)) { in expr__get_literal()
459 if (!strcmp("#num_dies", literal)) { in expr__get_literal()
464 if (!strcmp("#num_cores", literal)) { in expr__get_literal()
469 if (!strcmp("#slots", literal)) { in expr__get_literal()
473 if (!strcmp("#has_pmem", literal)) { in expr__get_literal()
478 pr_err("Unrecognized literal '%s'", literal); in expr__get_literal()
480 pr_debug2("literal: %s = %f\n", literal, result); in expr__get_literal()