Home
last modified time | relevance | path

Searched refs:cpus (Results 1 – 25 of 720) sorted by relevance

12345678910>>...29

/arch/x86/hyperv/
Dmmu.c20 static u64 hyperv_flush_tlb_others_ex(const struct cpumask *cpus,
55 static void hyperv_flush_tlb_multi(const struct cpumask *cpus, in hyperv_flush_tlb_multi() argument
64 trace_hyperv_mmu_flush_tlb_multi(cpus, info); in hyperv_flush_tlb_multi()
95 if (cpumask_equal(cpus, cpu_present_mask)) { in hyperv_flush_tlb_multi()
109 cpu = cpumask_last(cpus); in hyperv_flush_tlb_multi()
114 for_each_cpu(cpu, cpus) { in hyperv_flush_tlb_multi()
158 status = hyperv_flush_tlb_others_ex(cpus, info); in hyperv_flush_tlb_multi()
166 native_flush_tlb_multi(cpus, info); in hyperv_flush_tlb_multi()
169 static u64 hyperv_flush_tlb_others_ex(const struct cpumask *cpus, in hyperv_flush_tlb_others_ex() argument
201 nr_bank = cpumask_to_vpset(&(flush->hv_vp_set), cpus); in hyperv_flush_tlb_others_ex()
/arch/x86/include/asm/trace/
Dhyperv.h12 TP_PROTO(const struct cpumask *cpus,
14 TP_ARGS(cpus, info),
21 TP_fast_assign(__entry->ncpus = cpumask_weight(cpus);
60 TP_PROTO(const struct cpumask *cpus,
62 TP_ARGS(cpus, vector),
67 TP_fast_assign(__entry->ncpus = cpumask_weight(cpus);
/arch/mips/cavium-octeon/
Dsmp.c142 int cpus; in octeon_smp_setup() local
161 cpus = 1; in octeon_smp_setup()
164 set_cpu_possible(cpus, true); in octeon_smp_setup()
165 set_cpu_present(cpus, true); in octeon_smp_setup()
166 __cpu_number_map[id] = cpus; in octeon_smp_setup()
167 __cpu_logical_map[cpus] = id; in octeon_smp_setup()
168 cpus++; in octeon_smp_setup()
181 set_cpu_possible(cpus, true); in octeon_smp_setup()
182 __cpu_number_map[id] = cpus; in octeon_smp_setup()
183 __cpu_logical_map[cpus] = id; in octeon_smp_setup()
[all …]
/arch/s390/kernel/
Dsthyi.c234 for (i = 0; i < block->hdr.cpus; i++) { in fill_diag_mac()
235 switch (cpu_id(block->cpus[i].ctidx, diag224_buf)) { in fill_diag_mac()
237 if (block->cpus[i].weight == DED_WEIGHT) in fill_diag_mac()
243 if (block->cpus[i].weight == DED_WEIGHT) in fill_diag_mac()
263 if (!(block->cpus[i].cflag & DIAG204_CPU_ONLINE)) in lpar_cpu_inf()
266 switch (cpu_id(block->cpus[i].ctidx, diag224_buf)) { in lpar_cpu_inf()
269 if (block->cpus[i].cur_weight < DED_WEIGHT) in lpar_cpu_inf()
270 weight_cp |= block->cpus[i].cur_weight; in lpar_cpu_inf()
274 if (block->cpus[i].cur_weight < DED_WEIGHT) in lpar_cpu_inf()
275 weight_ifl |= block->cpus[i].cur_weight; in lpar_cpu_inf()
[all …]
/arch/arm/common/
Dmcpm_entry.c36 mcpm_sync.clusters[cluster].cpus[cpu].cpu = CPU_GOING_DOWN; in __mcpm_cpu_going_down()
37 sync_cache_w(&mcpm_sync.clusters[cluster].cpus[cpu].cpu); in __mcpm_cpu_going_down()
50 mcpm_sync.clusters[cluster].cpus[cpu].cpu = CPU_DOWN; in __mcpm_cpu_down()
51 sync_cache_w(&mcpm_sync.clusters[cluster].cpus[cpu].cpu); in __mcpm_cpu_down()
103 sync_cache_r(&c->cpus); in __mcpm_outbound_enter_critical()
111 cpustate = c->cpus[i].cpu; in __mcpm_outbound_enter_critical()
116 sync_cache_r(&c->cpus[i].cpu); in __mcpm_outbound_enter_critical()
439 mcpm_sync.clusters[i].cpus[j].cpu = CPU_DOWN; in mcpm_sync_init()
445 mcpm_sync.clusters[this_cluster].cpus[i].cpu = CPU_UP; in mcpm_sync_init()
/arch/ia64/kernel/
Dsmp.c294 cpumask_var_t cpus; in smp_flush_tlb_mm() local
303 if (!alloc_cpumask_var(&cpus, GFP_ATOMIC)) { in smp_flush_tlb_mm()
307 cpumask_copy(cpus, mm_cpumask(mm)); in smp_flush_tlb_mm()
308 smp_call_function_many(cpus, in smp_flush_tlb_mm()
310 free_cpumask_var(cpus); in smp_flush_tlb_mm()
/arch/mips/kernel/
Dtime.c40 struct cpumask *cpus = freq->policy->cpus; in cpufreq_callback() local
73 for_each_cpu(cpu, cpus) { in cpufreq_callback()
/arch/arm/kernel/
Ddevtree.c74 struct device_node *cpu, *cpus; in arm_dt_init_cpu_maps() local
81 cpus = of_find_node_by_path("/cpus"); in arm_dt_init_cpu_maps()
83 if (!cpus) in arm_dt_init_cpu_maps()
167 set_smp_ops_by_method(cpus); in arm_dt_init_cpu_maps()
Dsmp.c806 struct cpumask *cpus = freq->policy->cpus; in cpufreq_callback() local
807 int cpu, first = cpumask_first(cpus); in cpufreq_callback()
814 for_each_cpu(cpu, cpus) { in cpufreq_callback()
834 for_each_cpu(cpu, cpus) in cpufreq_callback()
/arch/arm64/kernel/
Dtopology.c201 static void amu_fie_setup(const struct cpumask *cpus) in amu_fie_setup() argument
206 if (unlikely(cpumask_subset(cpus, amu_fie_cpus))) in amu_fie_setup()
209 for_each_cpu(cpu, cpus) { in amu_fie_setup()
217 cpumask_or(amu_fie_cpus, amu_fie_cpus, cpus); in amu_fie_setup()
222 cpumask_pr_args(cpus)); in amu_fie_setup()
/arch/s390/include/asm/
Ddiag.h131 __u8 cpus; member
138 __u8 cpus; member
190 __u8 cpus; member
197 __u8 cpus; member
224 struct diag204_x_cpu_info cpus[]; member
229 struct diag204_x_phys_cpu cpus[]; member
/arch/x86/kernel/
Dtsc_sync.c352 int cpus = 2; in check_tsc_sync_source() local
374 while (atomic_read(&start_count) != cpus - 1) { in check_tsc_sync_source()
389 while (atomic_read(&stop_count) != cpus-1) in check_tsc_sync_source()
445 int cpus = 2; in check_tsc_sync_target() local
471 while (atomic_read(&start_count) != cpus) in check_tsc_sync_target()
489 while (atomic_read(&stop_count) != cpus) in check_tsc_sync_target()
/arch/powerpc/platforms/powermac/
Dsmp.c628 struct device_node *cpus; in smp_core99_pfunc_tb_freeze() local
631 cpus = of_find_node_by_path("/cpus"); in smp_core99_pfunc_tb_freeze()
632 BUG_ON(cpus == NULL); in smp_core99_pfunc_tb_freeze()
635 pmf_call_function(cpus, "cpu-timebase", &args); in smp_core99_pfunc_tb_freeze()
636 of_node_put(cpus); in smp_core99_pfunc_tb_freeze()
706 struct device_node *cpus = in smp_core99_setup() local
708 if (cpus && in smp_core99_setup()
709 of_get_property(cpus, "platform-cpu-timebase", NULL)) { in smp_core99_setup()
762 struct device_node *cpus; in smp_core99_probe() local
768 for_each_node_by_type(cpus, "cpu") in smp_core99_probe()
/arch/arm/boot/dts/
Dbcm2836.dtsi39 cpus: cpus { label
Dmstar-infinity2m.dtsi9 &cpus {
Daxm5516-amarillo.dts13 #include "axm5516-cpus.dtsi"
Dbcm47081.dtsi22 cpus {
/arch/powerpc/platforms/cell/
Dcpufreq_spudemand.c94 for_each_cpu(i, policy->cpus) { in spu_gov_start()
117 for_each_cpu (i, policy->cpus) { in spu_gov_stop()
/arch/ia64/mm/
Ddiscontig.c115 unsigned long pernodesize = 0, cpus; in compute_pernodesize() local
117 cpus = early_nr_cpus_node(node); in compute_pernodesize()
118 pernodesize += PERCPU_PAGE_SIZE * cpus; in compute_pernodesize()
263 int cpus = early_nr_cpus_node(node); in fill_pernode() local
270 pernode += PERCPU_PAGE_SIZE * cpus; in fill_pernode()
/arch/mips/boot/dts/xilfpga/
DmicroAptiv.dtsi7 cpus {
/arch/mips/boot/dts/realtek/
Drtl838x.dtsi4 cpus {
/arch/powerpc/boot/dts/fsl/
Dmpc8536ds.dts14 cpus {
15 #cpus = <1>;
Dmpc8536ds_36b.dts14 cpus {
15 #cpus = <1>;
/arch/arm64/boot/dts/broadcom/bcmbca/
Dbcm4906.dtsi6 cpus {
/arch/arm64/boot/dts/marvell/
Darmada-372x.dtsi18 cpus {

12345678910>>...29