Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/arch/loongarch/kernel/
Dcacheinfo.c42 if (!cpumask_empty(&this_leaf->shared_cpu_map)) in cache_cpumap_setup()
45 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in cache_cpumap_setup()
55 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_cpumap_setup()
56 cpumask_set_cpu(i, &this_leaf->shared_cpu_map); in cache_cpumap_setup()
/linux-6.6.21/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-6.6.21/drivers/base/
Dcacheinfo.c383 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
402 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
403 cpumask_set_cpu(i, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
426 for_each_cpu(sibling, &this_leaf->shared_cpu_map) { in cache_shared_cpu_map_remove()
446 cpumask_clear_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_shared_cpu_map_remove()
447 cpumask_clear_cpu(sibling, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_remove()
642 const struct cpumask *mask = &this_leaf->shared_cpu_map; in shared_cpu_map_show()
651 const struct cpumask *mask = &this_leaf->shared_cpu_map; in shared_cpu_list_show()
721 static DEVICE_ATTR_RO(shared_cpu_map);
747 const struct cpumask *mask = &this_leaf->shared_cpu_map; in cache_default_attrs_is_visible()
/linux-6.6.21/drivers/acpi/
Dprocessor_throttling.c99 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
141 cpumask_set_cpu(j, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
160 cpumask_copy(match_pthrottling->shared_cpu_map, in acpi_processor_update_tsd_coord()
161 pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
179 cpumask_clear(pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
180 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
621 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_tsd()
1086 for_each_cpu_and(i, cpu_online_mask, p_throttling->shared_cpu_map) { in __acpi_processor_set_throttling()
1110 p_throttling->shared_cpu_map) { in __acpi_processor_set_throttling()
1144 for_each_cpu_and(i, cpu_online_mask, p_throttling->shared_cpu_map) { in __acpi_processor_set_throttling()
[all …]
Dprocessor_perflib.c653 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
692 cpumask_set_cpu(j, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
709 cpumask_copy(match_pr->performance->shared_cpu_map, in acpi_processor_preregister_performance()
710 pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
722 cpumask_clear(pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
723 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
Dacpi_processor.c406 if (!zalloc_cpumask_var(&pr->throttling.shared_cpu_map, GFP_KERNEL)) { in acpi_processor_add()
462 free_cpumask_var(pr->throttling.shared_cpu_map); in acpi_processor_add()
511 free_cpumask_var(pr->throttling.shared_cpu_map); in acpi_processor_remove()
Dcppc_acpi.c481 cpumask_set_cpu(cpu, cpu_data->shared_cpu_map); in acpi_get_psd_map()
513 cpumask_set_cpu(i, cpu_data->shared_cpu_map); in acpi_get_psd_map()
520 cpumask_clear(cpu_data->shared_cpu_map); in acpi_get_psd_map()
521 cpumask_set_cpu(cpu, cpu_data->shared_cpu_map); in acpi_get_psd_map()
/linux-6.6.21/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-6.6.21/drivers/cpufreq/
Dcppc_cpufreq.c648 cpu_data->shared_cpu_map, 0); in cppc_cpufreq_register_em()
667 if (!zalloc_cpumask_var(&cpu_data->shared_cpu_map, GFP_KERNEL)) in cppc_cpufreq_get_cpu_data()
691 free_cpumask_var(cpu_data->shared_cpu_map); in cppc_cpufreq_get_cpu_data()
703 free_cpumask_var(cpu_data->shared_cpu_map); in cppc_cpufreq_put_cpu_data()
756 cpumask_copy(policy->cpus, cpu_data->shared_cpu_map); in cppc_cpufreq_cpu_init()
899 return cpufreq_show_cpus(cpu_data->shared_cpu_map, buf); in show_freqdomain_cpus()
990 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.c536 ->shared_cpu_map); in free_acpi_perf_data()
569 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in acpi_cpufreq_early_init()
723 cpumask_copy(policy->cpus, perf->shared_cpu_map); in acpi_cpufreq_cpu_init()
725 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-6.6.21/arch/x86/kernel/cpu/
Dcacheinfo.c461 cpu = cpumask_first(&this_leaf->shared_cpu_map); in store_cache_disable()
492 int cpu = cpumask_first(&this_leaf->shared_cpu_map); in subcaches_show()
502 int cpu = cpumask_first(&this_leaf->shared_cpu_map); in subcaches_store()
911 &this_leaf->shared_cpu_map); in __cache_amd_cpumap_setup()
938 &this_leaf->shared_cpu_map); in __cache_amd_cpumap_setup()
965 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in __cache_cpumap_setup()
978 cpumask_set_cpu(i, &this_leaf->shared_cpu_map); in __cache_cpumap_setup()
979 cpumask_set_cpu(cpu, &sibling_leaf->shared_cpu_map); in __cache_cpumap_setup()
/linux-6.6.21/include/linux/
Dcacheinfo.h58 cpumask_t shared_cpu_map; member
/linux-6.6.21/include/acpi/
Dprocessor.h138 cpumask_var_t shared_cpu_map; member
183 cpumask_var_t shared_cpu_map; member
Dcppc_acpi.h136 cpumask_var_t shared_cpu_map; member
/linux-6.6.21/arch/s390/kernel/
Dcache.c120 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in ci_leaf_init()
/linux-6.6.21/drivers/xen/
Dxen-acpi-processor.c458 ->shared_cpu_map); in free_acpi_perf_data()
537 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in xen_acpi_processor_init()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-devices-system-cpu377 shared_cpu_map: