/linux-5.19.10/arch/ia64/kernel/ |
D | topology.c | 111 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/ |
D | cacheinfo.c | 86 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/ |
D | cacheinfo.c | 241 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/ |
D | cacheinfo.c | 81 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/ |
D | processor_throttling.c | 99 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 …]
|
D | processor_perflib.c | 636 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()
|
D | acpi_processor.c | 364 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()
|
D | cppc_acpi.c | 478 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/ |
D | cacheinfo.c | 119 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/ |
D | cacheinfo.c | 446 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/ |
D | cppc_cpufreq.c | 628 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()
|
D | e_powersaver.c | 63 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()
|
D | powernow-k7.c | 313 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()
|
D | acpi-cpufreq.c | 530 ->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()
|
D | powernow-k8.c | 777 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/ |
D | cacheinfo.h | 58 cpumask_t shared_cpu_map; member
|
/linux-5.19.10/include/acpi/ |
D | processor.h | 138 cpumask_var_t shared_cpu_map; member 183 cpumask_var_t shared_cpu_map; member
|
D | cppc_acpi.h | 133 cpumask_var_t shared_cpu_map; member
|
/linux-5.19.10/arch/s390/kernel/ |
D | cache.c | 120 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in ci_leaf_init()
|
/linux-5.19.10/drivers/xen/ |
D | xen-acpi-processor.c | 458 ->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/ |
D | sysfs-devices-system-cpu | 382 shared_cpu_map:
|