/linux-3.4.99/arch/ia64/kernel/ |
D | topology.c | 126 cpumask_t shared_cpu_map; member 151 cpu_set(cpu, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 167 cpu_set(j, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 180 cpu_set(cpu, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 221 cpumask_t shared_cpu_map; in show_shared_cpu_map() local 223 cpumask_and(&shared_cpu_map, in show_shared_cpu_map() 224 &this_leaf->shared_cpu_map, cpu_online_mask); in show_shared_cpu_map() 225 len = cpumask_scnprintf(buf, NR_CPUS+1, &shared_cpu_map); in show_shared_cpu_map() 260 define_one_ro(shared_cpu_map); 271 &shared_cpu_map.attr,
|
/linux-3.4.99/arch/powerpc/kernel/ |
D | cacheinfo.c | 110 struct cpumask shared_cpu_map; /* online CPUs using this cache */ member 186 WARN_ONCE(cpumask_test_cpu(cpu, &next->shared_cpu_map), in cache_cpu_set() 190 cpumask_set_cpu(cpu, &next->shared_cpu_map); in cache_cpu_set() 615 n = cpumask_scnprintf(buf, len, &cache->shared_cpu_map); in shared_cpu_map_show() 623 __ATTR(shared_cpu_map, 0444, shared_cpu_map_show, NULL); 804 WARN_ONCE(!cpumask_test_cpu(cpu, &cache->shared_cpu_map), in cache_cpu_clear() 809 cpumask_clear_cpu(cpu, &cache->shared_cpu_map); in cache_cpu_clear() 813 if (cpumask_empty(&cache->shared_cpu_map)) in cache_cpu_clear()
|
/linux-3.4.99/arch/x86/kernel/cpu/ |
D | intel_cacheinfo.c | 164 DECLARE_BITMAP(shared_cpu_map, NR_CPUS); 463 cpu = cpumask_first(to_cpumask(this_leaf->shared_cpu_map)); in store_cache_disable() 744 set_bit(sibling, this_leaf->shared_cpu_map); in cache_shared_amd_cpu_map_setup() 756 set_bit(sibling, this_leaf->shared_cpu_map); in cache_shared_amd_cpu_map_setup() 780 cpumask_set_cpu(cpu, to_cpumask(this_leaf->shared_cpu_map)); in cache_shared_cpu_map_setup() 788 to_cpumask(this_leaf->shared_cpu_map)); in cache_shared_cpu_map_setup() 793 sibling_leaf->shared_cpu_map)); in cache_shared_cpu_map_setup() 805 for_each_cpu(sibling, to_cpumask(this_leaf->shared_cpu_map)) { in cache_remove_shared_cpu_map() 808 to_cpumask(sibling_leaf->shared_cpu_map)); in cache_remove_shared_cpu_map() 918 mask = to_cpumask(this_leaf->shared_cpu_map); in show_shared_cpu_map_func() [all …]
|
/linux-3.4.99/drivers/acpi/ |
D | processor_throttling.c | 123 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 166 cpumask_set_cpu(j, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 186 cpumask_copy(match_pthrottling->shared_cpu_map, in acpi_processor_update_tsd_coord() 187 pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 205 cpumask_clear(pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 206 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 651 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_tsd() 1115 for_each_cpu_and(i, cpu_online_mask, p_throttling->shared_cpu_map) { in acpi_processor_set_throttling() 1138 p_throttling->shared_cpu_map) { in acpi_processor_set_throttling() 1173 for_each_cpu_and(i, cpu_online_mask, p_throttling->shared_cpu_map) { in acpi_processor_set_throttling() [all …]
|
D | processor_perflib.c | 628 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance() 650 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance() 690 cpumask_set_cpu(j, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance() 708 cpumask_copy(match_pr->performance->shared_cpu_map, in acpi_processor_preregister_performance() 709 pr->performance->shared_cpu_map); in acpi_processor_preregister_performance() 721 cpumask_clear(pr->performance->shared_cpu_map); in acpi_processor_preregister_performance() 722 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
|
D | processor_driver.c | 539 if (!zalloc_cpumask_var(&pr->throttling.shared_cpu_map, GFP_KERNEL)) { in acpi_processor_add() 605 free_cpumask_var(pr->throttling.shared_cpu_map); in acpi_processor_add() 644 free_cpumask_var(pr->throttling.shared_cpu_map); in acpi_processor_remove()
|
/linux-3.4.99/drivers/cpufreq/ |
D | e_powersaver.c | 62 if (!zalloc_cpumask_var(&eps_acpi_cpu_perf->shared_cpu_map, in eps_acpi_init() 70 free_cpumask_var(eps_acpi_cpu_perf->shared_cpu_map); in eps_acpi_init() 82 free_cpumask_var(eps_acpi_cpu_perf->shared_cpu_map); in eps_acpi_exit()
|
D | acpi-cpufreq.c | 418 ->shared_cpu_map); in free_acpi_perf_data() 442 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in acpi_cpufreq_early_init() 552 cpumask_copy(policy->cpus, perf->shared_cpu_map); in acpi_cpufreq_cpu_init() 554 cpumask_copy(policy->related_cpus, perf->shared_cpu_map); in acpi_cpufreq_cpu_init()
|
D | powernow-k7.c | 321 if (!zalloc_cpumask_var(&acpi_processor_perf->shared_cpu_map, in powernow_acpi_init() 432 free_cpumask_var(acpi_processor_perf->shared_cpu_map); in powernow_acpi_init() 698 free_cpumask_var(acpi_processor_perf->shared_cpu_map); in powernow_cpu_exit()
|
D | powernow-k8.c | 896 if (!zalloc_cpumask_var(&data->acpi_data.shared_cpu_map, GFP_KERNEL)) { in powernow_k8_cpu_init_acpi() 1025 free_cpumask_var(data->acpi_data.shared_cpu_map); in powernow_k8_cpu_exit_acpi()
|
/linux-3.4.99/include/acpi/ |
D | processor.h | 117 cpumask_var_t shared_cpu_map; member 162 cpumask_var_t shared_cpu_map; member
|
/linux-3.4.99/drivers/xen/ |
D | xen-acpi-processor.c | 466 ->shared_cpu_map); in free_acpi_perf_data() 492 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in xen_acpi_processor_init()
|