Lines Matching refs:literal
421 double expr__get_literal(const char *literal, const struct expr_scanner_ctx *ctx)
426 if (!strcmp("#num_cpus", literal)) {
430 if (!strcmp("#num_cpus_online", literal)) {
438 if (!strcasecmp("#system_tsc_freq", literal)) {
449 if (!strcasecmp("#smt_on", literal)) {
453 if (!strcmp("#core_wide", literal)) {
458 if (!strcmp("#num_packages", literal)) {
463 if (!strcmp("#num_dies", literal)) {
468 if (!strcmp("#num_cores", literal)) {
473 if (!strcmp("#slots", literal)) {
477 if (!strcmp("#has_pmem", literal)) {
482 pr_err("Unrecognized literal '%s'", literal);
484 pr_debug2("literal: %s = %f\n", literal, result);