Home
last modified time | relevance | path

Searched refs:this_cpu (Results 1 – 12 of 12) sorted by relevance

/kernel/
Dsmp.c429 unsigned int this_cpu = smp_processor_id(); in __smp_call_single_queue_debug() local
434 cfd_seq_store(pcpu->seq_queue, this_cpu, cpu, CFD_SEQ_QUEUE); in __smp_call_single_queue_debug()
436 cfd_seq_store(pcpu->seq_ipi, this_cpu, cpu, CFD_SEQ_IPI); in __smp_call_single_queue_debug()
437 cfd_seq_store(seq->ping, this_cpu, cpu, CFD_SEQ_PING); in __smp_call_single_queue_debug()
439 cfd_seq_store(seq->pinged, this_cpu, cpu, CFD_SEQ_PINGED); in __smp_call_single_queue_debug()
441 cfd_seq_store(pcpu->seq_noipi, this_cpu, cpu, CFD_SEQ_NOIPI); in __smp_call_single_queue_debug()
745 int this_cpu; in smp_call_function_single() local
752 this_cpu = get_cpu(); in smp_call_function_single()
760 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_single()
898 int cpu, last_cpu, this_cpu = smp_processor_id(); in smp_call_function_many_cond() local
[all …]
Dpanic.c281 int old_cpu, this_cpu; in panic() local
318 this_cpu = raw_smp_processor_id(); in panic()
319 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in panic()
321 if (old_cpu != PANIC_CPU_INVALID && old_cpu != this_cpu) in panic()
Dwatchdog_hld.c132 int this_cpu = smp_processor_id(); in watchdog_overflow_callback() local
139 this_cpu); in watchdog_overflow_callback()
Dkexec_core.c986 int old_cpu, this_cpu; in crash_kexec() local
993 this_cpu = raw_smp_processor_id(); in crash_kexec()
994 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in crash_kexec()
/kernel/trace/
Dtrace_clock.c97 int this_cpu; in trace_clock_global() local
102 this_cpu = raw_smp_processor_id(); in trace_clock_global()
116 now = sched_clock_cpu(this_cpu); in trace_clock_global()
/kernel/sched/
Drt.c1672 int this_cpu; in select_task_rq_rt() local
1687 this_cpu = smp_processor_id(); in select_task_rq_rt()
1688 this_cpu_rq = cpu_rq(this_cpu); in select_task_rq_rt()
1726 cpumask_test_cpu(this_cpu, p->cpus_ptr)) { in select_task_rq_rt()
1727 cpu = this_cpu; in select_task_rq_rt()
1978 int this_cpu = smp_processor_id(); in find_lowest_rq() local
2031 if (!cpumask_test_cpu(this_cpu, lowest_mask)) in find_lowest_rq()
2032 this_cpu = -1; /* Skip this_cpu opt if not among lowest */ in find_lowest_rq()
2043 if (this_cpu != -1 && in find_lowest_rq()
2044 cpumask_test_cpu(this_cpu, sched_domain_span(sd))) { in find_lowest_rq()
[all …]
Ddeadline.c2137 int this_cpu = smp_processor_id(); in find_later_rq() local
2172 if (!cpumask_test_cpu(this_cpu, later_mask)) in find_later_rq()
2173 this_cpu = -1; in find_later_rq()
2184 if (this_cpu != -1 && in find_later_rq()
2185 cpumask_test_cpu(this_cpu, sched_domain_span(sd))) { in find_later_rq()
2187 return this_cpu; in find_later_rq()
2210 if (this_cpu != -1) in find_later_rq()
2211 return this_cpu; in find_later_rq()
2386 int this_cpu = this_rq->cpu, cpu; in pull_dl_task() local
2402 if (this_cpu == cpu) in pull_dl_task()
[all …]
Dfair.c6441 wake_affine_idle(int this_cpu, int prev_cpu, int sync) in wake_affine_idle() argument
6455 if (available_idle_cpu(this_cpu) && cpus_share_cache(this_cpu, prev_cpu)) in wake_affine_idle()
6456 return available_idle_cpu(prev_cpu) ? prev_cpu : this_cpu; in wake_affine_idle()
6458 if (sync && cpu_rq(this_cpu)->nr_running == 1) in wake_affine_idle()
6459 return this_cpu; in wake_affine_idle()
6469 int this_cpu, int prev_cpu, int sync) in wake_affine_weight() argument
6474 this_eff_load = cpu_load(cpu_rq(this_cpu)); in wake_affine_weight()
6480 return this_cpu; in wake_affine_weight()
6496 prev_eff_load *= capacity_of(this_cpu); in wake_affine_weight()
6507 return this_eff_load < prev_eff_load ? this_cpu : nr_cpumask_bits; in wake_affine_weight()
[all …]
Ddebug.c1056 unsigned int this_cpu = raw_smp_processor_id(); in proc_sched_show_task() local
1059 t0 = cpu_clock(this_cpu); in proc_sched_show_task()
1060 t1 = cpu_clock(this_cpu); in proc_sched_show_task()
Dcore.c3958 bool cpus_share_cache(int this_cpu, int that_cpu) in cpus_share_cache() argument
3960 if (this_cpu == that_cpu) in cpus_share_cache()
3963 return per_cpu(sd_llc_id, this_cpu) == per_cpu(sd_llc_id, that_cpu); in cpus_share_cache()
/kernel/debug/kdb/
Dkdb_io.c590 int this_cpu, old_cpu; in vkdb_printf() local
600 this_cpu = smp_processor_id(); in vkdb_printf()
602 old_cpu = cmpxchg(&kdb_printf_cpu, -1, this_cpu); in vkdb_printf()
603 if (old_cpu == -1 || old_cpu == this_cpu) in vkdb_printf()
/kernel/debug/
Ddebug_core.c244 int this_cpu = raw_smp_processor_id(); in kgdb_roundup_cpus() local
250 if (cpu == this_cpu) in kgdb_roundup_cpus()