/Linux-v6.6/Documentation/translations/zh_CN/admin-guide/ |
D | cputopology.rst | 29 #define topology_sibling_cpumask(cpu) 38 ``**_siblings`` sysfs属性对应(除了topology_sibling_cpumask(),它和thread_siblings 50 7) topology_sibling_cpumask: 仅入参CPU
|
/Linux-v6.6/arch/x86/kernel/ |
D | smpboot.c | 672 cpumask_set_cpu(cpu, topology_sibling_cpumask(cpu)); in set_cpu_sibling_map() 688 link_mask(topology_sibling_cpumask, cpu, i); in set_cpu_sibling_map() 700 threads = cpumask_weight(topology_sibling_cpumask(cpu)); in set_cpu_sibling_map() 704 for_each_cpu(i, topology_sibling_cpumask(cpu)) in set_cpu_sibling_map() 726 topology_sibling_cpumask(i)) == i) in set_cpu_sibling_map() 1139 cpumask_set_cpu(0, topology_sibling_cpumask(0)); in disable_smp() 1368 int threads = cpumask_weight(topology_sibling_cpumask(cpu)); in recompute_smt_state() 1386 if (cpumask_weight(topology_sibling_cpumask(cpu)) == 1) in remove_siblinginfo() 1393 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) { in remove_siblinginfo() 1394 cpumask_clear_cpu(cpu, topology_sibling_cpumask(sibling)); in remove_siblinginfo() [all …]
|
/Linux-v6.6/include/linux/ |
D | topology.h | 217 #ifndef topology_sibling_cpumask 218 #define topology_sibling_cpumask(cpu) cpumask_of(cpu) macro 239 return topology_sibling_cpumask(cpu); in cpu_smt_mask()
|
D | arch_topology.h | 84 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_sibling) macro
|
/Linux-v6.6/Documentation/admin-guide/ |
D | cputopology.rst | 24 #define topology_sibling_cpumask(cpu) 34 topology_sibling_cpumask() which corresponds with thread_siblings). 46 7) topology_sibling_cpumask: just the given CPU
|
/Linux-v6.6/arch/mips/include/asm/ |
D | topology.h | 18 #define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu]) macro
|
/Linux-v6.6/arch/x86/events/amd/ |
D | power.c | 231 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); in power_cpu_exit() 252 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); in power_cpu_init()
|
/Linux-v6.6/arch/ia64/include/asm/ |
D | topology.h | 45 #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) macro
|
/Linux-v6.6/arch/loongarch/include/asm/ |
D | topology.h | 35 #define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu]) macro
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | tlb.h | 54 topology_sibling_cpumask(smp_processor_id())); in mm_is_core_local()
|
D | topology.h | 139 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu)) macro
|
/Linux-v6.6/arch/sparc/include/asm/ |
D | topology_64.h | 50 #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) macro
|
/Linux-v6.6/arch/s390/include/asm/ |
D | topology.h | 31 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_mask) macro
|
/Linux-v6.6/drivers/base/ |
D | arch_topology.c | 727 return topology_sibling_cpumask(cpu); in cpu_clustergroup_mask() 810 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) in remove_cpu_topology() 811 cpumask_clear_cpu(cpu, topology_sibling_cpumask(sibling)); in remove_cpu_topology()
|
/Linux-v6.6/arch/x86/kernel/cpu/microcode/ |
D | core.c | 402 if (cpumask_first(topology_sibling_cpumask(cpu)) == cpu) in __reload_late() 424 if (cpumask_first(topology_sibling_cpumask(cpu)) != cpu) in __reload_late()
|
/Linux-v6.6/drivers/hwmon/ |
D | coretemp.c | 52 for_each_cpu(i, topology_sibling_cpumask(cpu)) 687 if (!cpumask_intersects(&pdata->cpumask, topology_sibling_cpumask(cpu))) in coretemp_cpu_online() 730 target = cpumask_any_and(&pd->cpumask, topology_sibling_cpumask(cpu)); in coretemp_cpu_offline()
|
D | fam15h_power.c | 188 cpumask_set_cpu(cpumask_any(topology_sibling_cpumask(cpu)), mask); in read_registers()
|
/Linux-v6.6/arch/x86/events/intel/ |
D | cstate.c | 332 topology_sibling_cpumask(event->cpu)); in cstate_pmu_event_init() 411 target = cpumask_any_but(topology_sibling_cpumask(cpu), cpu); in cstate_cpu_exit() 441 topology_sibling_cpumask(cpu)); in cstate_cpu_init()
|
/Linux-v6.6/arch/x86/include/asm/ |
D | topology.h | 122 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu)) macro
|
/Linux-v6.6/drivers/cpufreq/ |
D | p4-clockmod.c | 162 cpumask_copy(policy->cpus, topology_sibling_cpumask(policy->cpu)); in cpufreq_p4_cpu_init()
|
D | speedstep-ich.c | 296 cpumask_copy(policy->cpus, topology_sibling_cpumask(policy->cpu)); in speedstep_cpu_init()
|
/Linux-v6.6/lib/ |
D | cpu_rmap.c | 203 topology_sibling_cpumask(cpu), 1)) in cpu_rmap_update()
|
D | group_cpus.c | 32 siblmsk = topology_sibling_cpumask(cpu); in grp_spread_init_one()
|
/Linux-v6.6/drivers/virt/nitro_enclaves/ |
D | ne_misc_dev.c | 261 for_each_cpu(cpu_sibling, topology_sibling_cpumask(0)) { in ne_setup_cpu_pool() 278 for_each_cpu(cpu_sibling, topology_sibling_cpumask(cpu)) { in ne_setup_cpu_pool() 292 for_each_cpu(cpu_sibling, topology_sibling_cpumask(cpu)) in ne_setup_cpu_pool()
|
/Linux-v6.6/drivers/acpi/ |
D | acpi_pad.c | 101 cpumask_or(tmp, tmp, topology_sibling_cpumask(cpu)); in round_robin_cpu()
|