Home
last modified time | relevance | path

Searched refs:shared_cpu_map (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/arch/ia64/kernel/
Dtopology.c125 cpumask_t shared_cpu_map; member
150 cpu_set(cpu, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
166 cpu_set(j, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
179 cpu_set(cpu, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
220 cpumask_t shared_cpu_map; in show_shared_cpu_map() local
222 cpus_and(shared_cpu_map, this_leaf->shared_cpu_map, cpu_online_map); in show_shared_cpu_map()
223 len = cpumask_scnprintf(buf, NR_CPUS+1, &shared_cpu_map); in show_shared_cpu_map()
258 define_one_ro(shared_cpu_map);
269 &shared_cpu_map.attr,
/linux-2.6.39/arch/powerpc/kernel/
Dcacheinfo.c110 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);
801 WARN_ONCE(!cpumask_test_cpu(cpu, &cache->shared_cpu_map), in cache_cpu_clear()
806 cpumask_clear_cpu(cpu, &cache->shared_cpu_map); in cache_cpu_clear()
810 if (cpumask_empty(&cache->shared_cpu_map)) in cache_cpu_clear()
/linux-2.6.39/drivers/acpi/
Dprocessor_perflib.c610 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
632 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
672 cpumask_set_cpu(j, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
690 cpumask_copy(match_pr->performance->shared_cpu_map, in acpi_processor_preregister_performance()
691 pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
703 cpumask_clear(pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
704 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
Dprocessor_throttling.c117 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
160 cpumask_set_cpu(j, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
180 cpumask_copy(match_pthrottling->shared_cpu_map, in acpi_processor_update_tsd_coord()
181 pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
199 cpumask_clear(pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
200 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
645 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_tsd()
1118 p_throttling->shared_cpu_map); in acpi_processor_set_throttling()
1239 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_throttling_info()
Dprocessor_driver.c455 if (!zalloc_cpumask_var(&pr->throttling.shared_cpu_map, GFP_KERNEL)) { in acpi_processor_add()
544 free_cpumask_var(pr->throttling.shared_cpu_map); in acpi_processor_add()
582 free_cpumask_var(pr->throttling.shared_cpu_map); in acpi_processor_remove()
/linux-2.6.39/arch/x86/kernel/cpu/
Dintel_cacheinfo.c166 DECLARE_BITMAP(shared_cpu_map, NR_CPUS);
499 cpu = cpumask_first(to_cpumask(this_leaf->shared_cpu_map)); in store_cache_disable()
778 set_bit(sibling, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
787 cpumask_set_cpu(cpu, to_cpumask(this_leaf->shared_cpu_map)); in cache_shared_cpu_map_setup()
795 to_cpumask(this_leaf->shared_cpu_map)); in cache_shared_cpu_map_setup()
800 sibling_leaf->shared_cpu_map)); in cache_shared_cpu_map_setup()
812 for_each_cpu(sibling, to_cpumask(this_leaf->shared_cpu_map)) { in cache_remove_shared_cpu_map()
815 to_cpumask(sibling_leaf->shared_cpu_map)); in cache_remove_shared_cpu_map()
936 mask = to_cpumask(this_leaf->shared_cpu_map); in show_shared_cpu_map_func()
987 define_one_ro(shared_cpu_map);
[all …]
/linux-2.6.39/include/acpi/
Dprocessor.h117 cpumask_var_t shared_cpu_map; member
162 cpumask_var_t shared_cpu_map; member
/linux-2.6.39/arch/x86/kernel/cpu/cpufreq/
Dacpi-cpufreq.c421 ->shared_cpu_map); in free_acpi_perf_data()
445 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in acpi_cpufreq_early_init()
555 cpumask_copy(policy->cpus, perf->shared_cpu_map); in acpi_cpufreq_cpu_init()
557 cpumask_copy(policy->related_cpus, perf->shared_cpu_map); in acpi_cpufreq_cpu_init()
Dpowernow-k7.c325 if (!zalloc_cpumask_var(&acpi_processor_perf->shared_cpu_map, in powernow_acpi_init()
436 free_cpumask_var(acpi_processor_perf->shared_cpu_map); in powernow_acpi_init()
702 free_cpumask_var(acpi_processor_perf->shared_cpu_map); in powernow_cpu_exit()
Dpowernow-k8.c887 if (!zalloc_cpumask_var(&data->acpi_data.shared_cpu_map, GFP_KERNEL)) { in powernow_k8_cpu_init_acpi()
1012 free_cpumask_var(data->acpi_data.shared_cpu_map); in powernow_k8_cpu_exit_acpi()