/linux-6.1.9/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-6.1.9/arch/loongarch/kernel/ |
D | cacheinfo.c | 42 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/ |
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-6.1.9/drivers/base/ |
D | cacheinfo.c | 276 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/ |
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 | 481 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/ |
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-6.1.9/arch/x86/kernel/cpu/ |
D | cacheinfo.c | 452 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/ |
D | cppc_cpufreq.c | 645 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()
|
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 | 534 ->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()
|
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-6.1.9/include/linux/ |
D | cacheinfo.h | 58 cpumask_t shared_cpu_map; member
|
/linux-6.1.9/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-6.1.9/arch/s390/kernel/ |
D | cache.c | 120 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in ci_leaf_init()
|
/linux-6.1.9/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-6.1.9/Documentation/ABI/testing/ |
D | sysfs-devices-system-cpu | 377 shared_cpu_map:
|