Searched refs:cpu_map (Results 1 – 3 of 3) sorted by relevance
14 cpu_map = {} variable161 if not cpu_phy_id in cpu_map.keys():164 core_info = cpu_map[cpu_phy_id]169 cpu_map[cpu_phy_id] = core_info179 if not cpu_phy_id in cpu_map.keys():180 cpu_map[cpu_phy_id] = [i]182 cpu_map[cpu_phy_id].append(i)494 print >> debugfile, "cpu_map: ", cpu_map496 print >> keyvalfile, "nr_packages=%d" % len(cpu_map)498 for pkg in sorted(cpu_map.keys()):[all …]
84 int cpu_map[MAX_CPU_NUM]; in is_ht_enabled() local114 cpu_map[cpu_id] = package; in is_ht_enabled()150 if (cpu_map[i] == cpu_map[j]) { in is_ht_enabled()152 if (cpu_map[j] == cpu_map[k]) { in is_ht_enabled()
66 unsigned long *cpu_map; member506 if (cpu >= pdi->cpu_map_max || !pdi->cpu_map) { in cpu_mark_online()512 if (pdi->cpu_map) { in cpu_mark_online()513 memcpy(map, pdi->cpu_map, pdi->cpu_map_max / sizeof(long)); in cpu_mark_online()514 free(pdi->cpu_map); in cpu_mark_online()517 pdi->cpu_map = map; in cpu_mark_online()521 pdi->cpu_map[CPU_IDX(cpu)] |= (1UL << CPU_BIT(cpu)); in cpu_mark_online()526 pdi->cpu_map[CPU_IDX(cpu)] &= ~(1UL << CPU_BIT(cpu)); in cpu_mark_offline()531 return (pdi->cpu_map[CPU_IDX(cpu)] & (1UL << CPU_BIT(cpu))) != 0; in cpu_is_online()1955 unsigned long *cpu_map; in check_cpu_map() local[all …]