Searched refs:cpu2 (Results 1 - 5 of 5) sorted by relevance

/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
420 int cpu2; local
469 cpu1 = cpu2 = pick_online_cpu();
472 cpu2 = atoi(argv[optind++]);
491 cpu1, cpu2, touch_fp ? "yes" : "no", touch_altivec ? "yes" : "no",
499 actions->setup(cpu1, cpu2);
502 start_fn(actions->thread2, NULL, cpu2);
[all...]
/linux-master/kernel/
H A Dstop_machine.c262 int cpu2, struct cpu_stop_work *work2)
265 struct cpu_stopper *stopper2 = per_cpu_ptr(&cpu_stopper, cpu2);
291 * queued a work on cpu1 but not on cpu2, we hold both locks.
326 * @cpu2: the other cpu to stop
334 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) argument
357 if (cpu1 > cpu2)
358 swap(cpu1, cpu2);
359 if (cpu_stop_queue_two_works(cpu1, &work1, cpu2, &work2))
261 cpu_stop_queue_two_works(int cpu1, struct cpu_stop_work *work1, int cpu2, struct cpu_stop_work *work2) argument
/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
408 if (per_cpu_l2c_id(cpu1) != per_cpu_l2c_id(cpu2))
450 int cpu1 = c->cpu_index, cpu2 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.h784 u8 cpu2:1; member in struct:MR_CPU_AFFINITY_MASK::__anon2629::__anon2630
790 u8 cpu2:1;

Completed in 136 milliseconds