Home
last modified time | relevance | path

Searched refs:cpu2 (Results 1 – 3 of 3) sorted by relevance

/kernel/locking/
Dlglock.c63 void lg_double_lock(struct lglock *lg, int cpu1, int cpu2) in lg_double_lock() argument
65 BUG_ON(cpu1 == cpu2); in lg_double_lock()
68 if (cpu2 < cpu1) in lg_double_lock()
69 swap(cpu1, cpu2); in lg_double_lock()
74 arch_spin_lock(per_cpu_ptr(lg->lock, cpu2)); in lg_double_lock()
77 void lg_double_unlock(struct lglock *lg, int cpu1, int cpu2) in lg_double_unlock() argument
81 arch_spin_unlock(per_cpu_ptr(lg->lock, cpu2)); in lg_double_unlock()
/kernel/
Dstop_machine.c220 int cpu2, struct cpu_stop_work *work2) in cpu_stop_queue_two_works() argument
223 struct cpu_stopper *stopper2 = per_cpu_ptr(&cpu_stopper, cpu2); in cpu_stop_queue_two_works()
226 lg_double_lock(&stop_cpus_lock, cpu1, cpu2); in cpu_stop_queue_two_works()
240 lg_double_unlock(&stop_cpus_lock, cpu1, cpu2); in cpu_stop_queue_two_works()
255 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument
278 if (cpu1 > cpu2) in stop_two_cpus()
279 swap(cpu1, cpu2); in stop_two_cpus()
280 if (cpu_stop_queue_two_works(cpu1, &work1, cpu2, &work2)) { in stop_two_cpus()
/kernel/trace/
DKconfig274 echo 1 > /sys/kernel/debug/tracing/per_cpu/cpu2/snapshot