Home
last modified time | relevance | path

Searched refs:topology_sibling_cpumask (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v6.6/Documentation/translations/zh_CN/admin-guide/
Dcputopology.rst29 #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/
Dsmpboot.c672 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/
Dtopology.h217 #ifndef topology_sibling_cpumask
218 #define topology_sibling_cpumask(cpu) cpumask_of(cpu) macro
239 return topology_sibling_cpumask(cpu); in cpu_smt_mask()
Darch_topology.h84 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_sibling) macro
/Linux-v6.6/Documentation/admin-guide/
Dcputopology.rst24 #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/
Dtopology.h18 #define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu]) macro
/Linux-v6.6/arch/x86/events/amd/
Dpower.c231 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/
Dtopology.h45 #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) macro
/Linux-v6.6/arch/loongarch/include/asm/
Dtopology.h35 #define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu]) macro
/Linux-v6.6/arch/powerpc/include/asm/
Dtlb.h54 topology_sibling_cpumask(smp_processor_id())); in mm_is_core_local()
Dtopology.h139 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu)) macro
/Linux-v6.6/arch/sparc/include/asm/
Dtopology_64.h50 #define topology_sibling_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) macro
/Linux-v6.6/arch/s390/include/asm/
Dtopology.h31 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_mask) macro
/Linux-v6.6/drivers/base/
Darch_topology.c727 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/
Dcore.c402 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/
Dcoretemp.c52 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()
Dfam15h_power.c188 cpumask_set_cpu(cpumask_any(topology_sibling_cpumask(cpu)), mask); in read_registers()
/Linux-v6.6/arch/x86/events/intel/
Dcstate.c332 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/
Dtopology.h122 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu)) macro
/Linux-v6.6/drivers/cpufreq/
Dp4-clockmod.c162 cpumask_copy(policy->cpus, topology_sibling_cpumask(policy->cpu)); in cpufreq_p4_cpu_init()
Dspeedstep-ich.c296 cpumask_copy(policy->cpus, topology_sibling_cpumask(policy->cpu)); in speedstep_cpu_init()
/Linux-v6.6/lib/
Dcpu_rmap.c203 topology_sibling_cpumask(cpu), 1)) in cpu_rmap_update()
Dgroup_cpus.c32 siblmsk = topology_sibling_cpumask(cpu); in grp_spread_init_one()
/Linux-v6.6/drivers/virt/nitro_enclaves/
Dne_misc_dev.c261 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/
Dacpi_pad.c101 cpumask_or(tmp, tmp, topology_sibling_cpumask(cpu)); in round_robin_cpu()

12