Searched refs:cpu1 (Results 1 - 8 of 8) sorted by relevance

/linux-master/arch/mips/kernel/
H A Dcacheinfo.c60 int cpu1; local
62 for_each_possible_cpu(cpu1)
63 if (cpus_are_siblings(cpu, cpu1))
64 cpumask_set_cpu(cpu1, cpu_map);
69 int cpu1; local
72 for_each_possible_cpu(cpu1)
73 if (cpu_cluster(&cpu_data[cpu1]) == cluster)
74 cpumask_set_cpu(cpu1, cpu_map);
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c176 static void pipe_setup(int cpu1, int cpu2) argument
219 static void yield_setup(int cpu1, int cpu2) argument
221 if (cpu1 != cpu2) {
321 static void futex_setup(int cpu1, int cpu2) argument
419 int cpu1; local
469 cpu1 = cpu2 = pick_online_cpu();
471 cpu1 = atoi(argv[optind++]);
491 cpu1, cpu2, touch_fp ? "yes" : "no", touch_altivec ? "yes" : "no",
499 actions->setup(cpu1, cpu2);
501 start_fn(actions->thread1, NULL, cpu1);
[all...]
/linux-master/kernel/
H A Dstop_machine.c261 static int cpu_stop_queue_two_works(int cpu1, struct cpu_stop_work *work1, argument
264 struct cpu_stopper *stopper1 = per_cpu_ptr(&cpu_stopper, cpu1);
291 * queued a work on cpu1 but not on cpu2, we hold both locks.
325 * @cpu1: the cpu to stop
334 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) argument
344 .active_cpus = cpumask_of(cpu1),
357 if (cpu1 > cpu2)
358 swap(cpu1, cpu2);
359 if (cpu_stop_queue_two_works(cpu1, &work1, cpu2, &work2))
H A Dworkqueue.c7804 static bool __init cpus_dont_share(int cpu0, int cpu1) argument
7809 static bool __init cpus_share_smt(int cpu0, int cpu1) argument
7812 return cpumask_test_cpu(cpu0, cpu_smt_mask(cpu1));
7818 static bool __init cpus_share_numa(int cpu0, int cpu1) argument
7820 return cpu_to_node(cpu0) == cpu_to_node(cpu1);
/linux-master/arch/x86/kernel/
H A Dsmpboot.c339 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; local
341 return (cpu_to_node(cpu1) == cpu_to_node(cpu2));
347 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; local
352 cpu1, name, cpu2, cpu_to_node(cpu1), cpu_to_node(cpu2));
364 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; local
369 per_cpu_llc_id(cpu1) == per_cpu_llc_id(cpu2)) {
401 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; local
404 if (per_cpu_l2c_id(cpu1) == BAD_APICID)
408 if (per_cpu_l2c_id(cpu1) !
450 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; local
[all...]
/linux-master/include/linux/
H A Dstop_machine.h33 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg);
/linux-master/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.h783 u8 cpu1:1; member in struct:MR_CPU_AFFINITY_MASK::__anon2629::__anon2630
791 u8 cpu1:1;
H A Dmegaraid_sas_fusion.c2659 (raid->cpuAffinity.pdRead.cpu1))
2661 else if (raid->cpuAffinity.pdRead.cpu1)
2665 (raid->cpuAffinity.pdWrite.cpu1))
2667 else if (raid->cpuAffinity.pdWrite.cpu1)
2682 (raid->cpuAffinity.ldRead.cpu1))
2684 else if (raid->cpuAffinity.ldRead.cpu1)
2688 (raid->cpuAffinity.ldWrite.cpu1))
2690 else if (raid->cpuAffinity.ldWrite.cpu1)

Completed in 189 milliseconds