Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/base/
Dcacheinfo.c276 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
285 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
286 cpumask_set_cpu(i, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
304 for_each_cpu(sibling, &this_leaf->shared_cpu_map) { in cache_shared_cpu_map_remove()
312 cpumask_clear_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_shared_cpu_map_remove()
313 cpumask_clear_cpu(sibling, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_remove()
430 const struct cpumask *mask = &this_leaf->shared_cpu_map; in shared_cpu_map_show()
439 const struct cpumask *mask = &this_leaf->shared_cpu_map; in shared_cpu_list_show()
509 static DEVICE_ATTR_RO(shared_cpu_map);
535 const struct cpumask *mask = &this_leaf->shared_cpu_map; in cache_default_attrs_is_visible()
/linux-6.1.9/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.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.1.9/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.1.9/arch/x86/kernel/cpu/
Dcacheinfo.c452 cpu = cpumask_first(&this_leaf->shared_cpu_map); in store_cache_disable()
483 int cpu = cpumask_first(&this_leaf->shared_cpu_map); in subcaches_show()
493 int cpu = cpumask_first(&this_leaf->shared_cpu_map); in subcaches_store()
905 &this_leaf->shared_cpu_map); in __cache_amd_cpumap_setup()
932 &this_leaf->shared_cpu_map); in __cache_amd_cpumap_setup()
959 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in __cache_cpumap_setup()
972 cpumask_set_cpu(i, &this_leaf->shared_cpu_map); in __cache_cpumap_setup()
973 cpumask_set_cpu(cpu, &sibling_leaf->shared_cpu_map); in __cache_cpumap_setup()
/linux-6.1.9/drivers/cpufreq/
Dcppc_cpufreq.c645 cpu_data->shared_cpu_map, 0); in cppc_cpufreq_register_em()
664 if (!zalloc_cpumask_var(&cpu_data->shared_cpu_map, GFP_KERNEL)) in cppc_cpufreq_get_cpu_data()
688 free_cpumask_var(cpu_data->shared_cpu_map); in cppc_cpufreq_get_cpu_data()
700 free_cpumask_var(cpu_data->shared_cpu_map); in cppc_cpufreq_put_cpu_data()
753 cpumask_copy(policy->cpus, cpu_data->shared_cpu_map); in cppc_cpufreq_cpu_init()
896 return cpufreq_show_cpus(cpu_data->shared_cpu_map, buf); in show_freqdomain_cpus()
987 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.c534 ->shared_cpu_map); in free_acpi_perf_data()
576 &per_cpu_ptr(acpi_perf_data, i)->shared_cpu_map, in acpi_cpufreq_early_init()
730 cpumask_copy(policy->cpus, perf->shared_cpu_map); in acpi_cpufreq_cpu_init()
732 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.1.9/include/linux/
Dcacheinfo.h58 cpumask_t shared_cpu_map; member
/linux-6.1.9/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-6.1.9/arch/s390/kernel/
Dcache.c120 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in ci_leaf_init()
/linux-6.1.9/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-6.1.9/Documentation/ABI/testing/
Dsysfs-devices-system-cpu377 shared_cpu_map: