Home
last modified time | relevance | path

Searched refs:max_core_id (Results 1 – 2 of 2) sorted by relevance

/linux/tools/power/x86/turbostat/
H A Dturbostat.c2410 int max_core_id; /* within a package */ member
2450 #define GLOBAL_CORE_ID(core_id, pkg_id) (core_id + pkg_id * (topo.max_core_id + 1))
5212 return GLOBAL_CORE_ID(topo.max_core_id, topo.num_packages) + 1; in get_rapl_num_domains()
8921 const int cores_visited_elems = topo.max_core_id + 1; in cstate_perf_init_()
9527 int max_core_id = 0; in topology_probe() local
9688 if (cpus[i].core_id > max_core_id) in topology_probe()
9689 max_core_id = cpus[i].core_id; in topology_probe()
9698 topo.max_core_id = max_core_id; /* within a package */ in topology_probe()
9701 topo.cores_per_pkg = max_core_id + 1; in topology_probe()
9703 …fprintf(outf, "max_core_id %d, sizing for %d cores per package\n", max_core_id, topo.cores_per_pkg… in topology_probe()
[all …]
/linux/drivers/scsi/lpfc/
H A Dlpfc_init.c12434 int max_core_id, min_core_id; in lpfc_cpu_affinity_check() local
12443 max_core_id = 0; in lpfc_cpu_affinity_check()
12469 if (cpup->core_id > max_core_id) in lpfc_cpu_affinity_check()
12470 max_core_id = cpup->core_id; in lpfc_cpu_affinity_check()