Searched refs:shared_cpu_map (Results 1 – 6 of 6) sorted by relevance
/arch/ia64/kernel/ |
D | topology.c | 124 cpumask_t shared_cpu_map; member 149 cpu_set(cpu, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 165 cpu_set(j, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 178 cpu_set(cpu, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 219 cpumask_t shared_cpu_map; in show_shared_cpu_map() local 221 cpus_and(shared_cpu_map, this_leaf->shared_cpu_map, cpu_online_map); in show_shared_cpu_map() 222 len = cpumask_scnprintf(buf, NR_CPUS+1, &shared_cpu_map); in show_shared_cpu_map() 257 define_one_ro(shared_cpu_map); 268 &shared_cpu_map.attr,
|
/arch/x86/kernel/cpu/ |
D | intel_cacheinfo.c | 150 cpumask_t shared_cpu_map; /* future?: only cpus/node is needed */ member 509 cpu_set(cpu, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 516 cpu_set(i, this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 519 cpu_set(cpu, sibling_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 531 for_each_cpu_mask_nr(sibling, this_leaf->shared_cpu_map) { in cache_remove_shared_cpu_map() 533 cpu_clear(cpu, sibling_leaf->shared_cpu_map); in cache_remove_shared_cpu_map() 638 cpumask_t *mask = &this_leaf->shared_cpu_map; in show_shared_cpu_map_func() 702 int node = cpu_to_node(first_cpu(this_leaf->shared_cpu_map)); in show_cache_disable() 736 int node = cpu_to_node(first_cpu(this_leaf->shared_cpu_map)); in store_cache_disable() 783 define_one_ro(shared_cpu_map); [all …]
|
/arch/powerpc/kernel/ |
D | cacheinfo.c | 109 struct cpumask shared_cpu_map; /* online CPUs using this cache */ member 185 WARN_ONCE(cpumask_test_cpu(cpu, &next->shared_cpu_map), in cache_cpu_set() 189 cpumask_set_cpu(cpu, &next->shared_cpu_map); in cache_cpu_set() 614 n = cpumask_scnprintf(buf, len, &cache->shared_cpu_map); in shared_cpu_map_show() 622 __ATTR(shared_cpu_map, 0444, shared_cpu_map_show, NULL); 800 WARN_ONCE(!cpumask_test_cpu(cpu, &cache->shared_cpu_map), in cache_cpu_clear() 805 cpumask_clear_cpu(cpu, &cache->shared_cpu_map); in cache_cpu_clear() 809 if (cpumask_empty(&cache->shared_cpu_map)) in cache_cpu_clear()
|
/arch/x86/kernel/cpu/cpufreq/ |
D | acpi-cpufreq.c | 521 ->shared_cpu_map); in free_acpi_perf_data() 545 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in acpi_cpufreq_early_init() 623 cpumask_copy(policy->cpus, perf->shared_cpu_map); in acpi_cpufreq_cpu_init() 625 cpumask_copy(policy->related_cpus, perf->shared_cpu_map); in acpi_cpufreq_cpu_init()
|
D | powernow-k7.c | 313 if (!alloc_cpumask_var(&acpi_processor_perf->shared_cpu_map, in powernow_acpi_init() 421 free_cpumask_var(acpi_processor_perf->shared_cpu_map); in powernow_acpi_init() 663 free_cpumask_var(acpi_processor_perf->shared_cpu_map); in powernow_cpu_exit()
|
D | powernow-k8.c | 818 if (!alloc_cpumask_var(&data->acpi_data.shared_cpu_map, GFP_KERNEL)) { in powernow_k8_cpu_init_acpi() 939 free_cpumask_var(data->acpi_data.shared_cpu_map); in powernow_k8_cpu_exit_acpi()
|