Home
last modified time | relevance | path

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

/linux-5.19.10/arch/ia64/kernel/
Dtopology.c111 cpumask_t shared_cpu_map; member
136 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
152 cpumask_set_cpu(j, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
165 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
205 cpumask_t shared_cpu_map; in show_shared_cpu_map() local
207 cpumask_and(&shared_cpu_map, in show_shared_cpu_map()
208 &this_leaf->shared_cpu_map, cpu_online_mask); in show_shared_cpu_map()
210 cpumask_pr_args(&shared_cpu_map)); in show_shared_cpu_map()
243 define_one_ro(shared_cpu_map);
254 &shared_cpu_map.attr,
/linux-5.19.10/arch/mips/kernel/
Dcacheinfo.c86 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in populate_cache_leaves()
88 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in populate_cache_leaves()
98 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in populate_cache_leaves()
105 fill_cpumask_cluster(cpu, &this_leaf->shared_cpu_map); in populate_cache_leaves()
/linux-5.19.10/drivers/base/
Dcacheinfo.c241 if (!cpumask_empty(&this_leaf->shared_cpu_map)) in cache_shared_cpu_map_setup()
244 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
252 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
253 cpumask_set_cpu(i, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
272 for_each_cpu(sibling, &this_leaf->shared_cpu_map) { in cache_shared_cpu_map_remove()
283 cpumask_clear_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_shared_cpu_map_remove()
284 cpumask_clear_cpu(sibling, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_remove()
388 const struct cpumask *mask = &this_leaf->shared_cpu_map; in shared_cpu_map_show()
397 const struct cpumask *mask = &this_leaf->shared_cpu_map; in shared_cpu_list_show()
467 static DEVICE_ATTR_RO(shared_cpu_map);
[all …]
/linux-5.19.10/arch/loongarch/kernel/
Dcacheinfo.c81 if (!cpumask_empty(&this_leaf->shared_cpu_map)) in cache_cpumap_setup()
84 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in cache_cpumap_setup()
92 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_cpumap_setup()
93 cpumask_set_cpu(i, &this_leaf->shared_cpu_map); in cache_cpumap_setup()
/linux-5.19.10/drivers/acpi/
Dprocessor_throttling.c99 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
142 cpumask_set_cpu(j, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
162 cpumask_copy(match_pthrottling->shared_cpu_map, in acpi_processor_update_tsd_coord()
163 pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
181 cpumask_clear(pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
182 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
623 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_tsd()
1088 for_each_cpu_and(i, cpu_online_mask, p_throttling->shared_cpu_map) { in __acpi_processor_set_throttling()
1112 p_throttling->shared_cpu_map) { in __acpi_processor_set_throttling()
1146 for_each_cpu_and(i, cpu_online_mask, p_throttling->shared_cpu_map) { in __acpi_processor_set_throttling()
[all …]
Dprocessor_perflib.c636 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
675 cpumask_set_cpu(j, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
692 cpumask_copy(match_pr->performance->shared_cpu_map, in acpi_processor_preregister_performance()
693 pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
705 cpumask_clear(pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
706 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
Dacpi_processor.c364 if (!zalloc_cpumask_var(&pr->throttling.shared_cpu_map, GFP_KERNEL)) { in acpi_processor_add()
420 free_cpumask_var(pr->throttling.shared_cpu_map); in acpi_processor_add()
469 free_cpumask_var(pr->throttling.shared_cpu_map); in acpi_processor_remove()
Dcppc_acpi.c478 cpumask_set_cpu(cpu, cpu_data->shared_cpu_map); in acpi_get_psd_map()
510 cpumask_set_cpu(i, cpu_data->shared_cpu_map); in acpi_get_psd_map()
517 cpumask_clear(cpu_data->shared_cpu_map); in acpi_get_psd_map()
518 cpumask_set_cpu(cpu, cpu_data->shared_cpu_map); in acpi_get_psd_map()
/linux-5.19.10/arch/powerpc/kernel/
Dcacheinfo.c119 struct cpumask shared_cpu_map; /* online CPUs using this cache */ member
199 WARN_ONCE(cpumask_test_cpu(cpu, &next->shared_cpu_map), in cache_cpu_set()
203 cpumask_set_cpu(cpu, &next->shared_cpu_map); in cache_cpu_set()
690 mask = &cache->shared_cpu_map; in show_shared_cpumap()
706 __ATTR(shared_cpu_map, 0444, shared_cpu_map_show, NULL);
895 WARN_ONCE(!cpumask_test_cpu(cpu, &cache->shared_cpu_map), in cache_cpu_clear()
900 cpumask_clear_cpu(cpu, &cache->shared_cpu_map); in cache_cpu_clear()
904 if (cpumask_empty(&cache->shared_cpu_map)) in cache_cpu_clear()
/linux-5.19.10/arch/x86/kernel/cpu/
Dcacheinfo.c446 cpu = cpumask_first(&this_leaf->shared_cpu_map); in store_cache_disable()
477 int cpu = cpumask_first(&this_leaf->shared_cpu_map); in subcaches_show()
487 int cpu = cpumask_first(&this_leaf->shared_cpu_map); in subcaches_store()
899 &this_leaf->shared_cpu_map); in __cache_amd_cpumap_setup()
926 &this_leaf->shared_cpu_map); in __cache_amd_cpumap_setup()
953 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in __cache_cpumap_setup()
966 cpumask_set_cpu(i, &this_leaf->shared_cpu_map); in __cache_cpumap_setup()
967 cpumask_set_cpu(cpu, &sibling_leaf->shared_cpu_map); in __cache_cpumap_setup()
/linux-5.19.10/drivers/cpufreq/
Dcppc_cpufreq.c628 cpu_data->shared_cpu_map, 0); in cppc_cpufreq_register_em()
647 if (!zalloc_cpumask_var(&cpu_data->shared_cpu_map, GFP_KERNEL)) in cppc_cpufreq_get_cpu_data()
671 free_cpumask_var(cpu_data->shared_cpu_map); in cppc_cpufreq_get_cpu_data()
683 free_cpumask_var(cpu_data->shared_cpu_map); in cppc_cpufreq_put_cpu_data()
736 cpumask_copy(policy->cpus, cpu_data->shared_cpu_map); in cppc_cpufreq_cpu_init()
879 return cpufreq_show_cpus(cpu_data->shared_cpu_map, buf); in show_freqdomain_cpus()
969 free_cpumask_var(iter->shared_cpu_map); in free_cpu_data()
De_powersaver.c63 if (!zalloc_cpumask_var(&eps_acpi_cpu_perf->shared_cpu_map, in eps_acpi_init()
71 free_cpumask_var(eps_acpi_cpu_perf->shared_cpu_map); in eps_acpi_init()
83 free_cpumask_var(eps_acpi_cpu_perf->shared_cpu_map); in eps_acpi_exit()
Dpowernow-k7.c313 if (!zalloc_cpumask_var(&acpi_processor_perf->shared_cpu_map, in powernow_acpi_init()
424 free_cpumask_var(acpi_processor_perf->shared_cpu_map); in powernow_acpi_init()
652 free_cpumask_var(acpi_processor_perf->shared_cpu_map); in powernow_cpu_exit()
Dacpi-cpufreq.c530 ->shared_cpu_map); in free_acpi_perf_data()
572 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in acpi_cpufreq_early_init()
726 cpumask_copy(policy->cpus, perf->shared_cpu_map); in acpi_cpufreq_cpu_init()
728 cpumask_copy(data->freqdomain_cpus, perf->shared_cpu_map); in acpi_cpufreq_cpu_init()
Dpowernow-k8.c777 if (!zalloc_cpumask_var(&data->acpi_data.shared_cpu_map, GFP_KERNEL)) { in powernow_k8_cpu_init_acpi()
858 free_cpumask_var(data->acpi_data.shared_cpu_map); in powernow_k8_cpu_exit_acpi()
/linux-5.19.10/include/linux/
Dcacheinfo.h58 cpumask_t shared_cpu_map; member
/linux-5.19.10/include/acpi/
Dprocessor.h138 cpumask_var_t shared_cpu_map; member
183 cpumask_var_t shared_cpu_map; member
Dcppc_acpi.h133 cpumask_var_t shared_cpu_map; member
/linux-5.19.10/arch/s390/kernel/
Dcache.c120 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in ci_leaf_init()
/linux-5.19.10/drivers/xen/
Dxen-acpi-processor.c458 ->shared_cpu_map); in free_acpi_perf_data()
540 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in xen_acpi_processor_init()
/linux-5.19.10/Documentation/ABI/testing/
Dsysfs-devices-system-cpu382 shared_cpu_map: