Searched refs:this_cpu (Results 1 – 12 of 12) sorted by relevance
/kernel/ |
D | smp.c | 276 int this_cpu; in smp_call_function_single() local 283 this_cpu = get_cpu(); in smp_call_function_single() 291 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_single() 416 int cpu, next_cpu, this_cpu = smp_processor_id(); in smp_call_function_many() local 424 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_many() 437 if (cpu == this_cpu) in smp_call_function_many() 446 if (next_cpu == this_cpu) in smp_call_function_many() 458 __cpumask_clear_cpu(this_cpu, cfd->cpumask); in smp_call_function_many()
|
D | panic.c | 173 int old_cpu, this_cpu; in panic() local 200 this_cpu = raw_smp_processor_id(); in panic() 201 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in panic() 203 if (old_cpu != PANIC_CPU_INVALID && old_cpu != this_cpu) in panic()
|
D | watchdog_hld.c | 132 int this_cpu = smp_processor_id(); in watchdog_overflow_callback() local 139 this_cpu); in watchdog_overflow_callback()
|
D | kexec_core.c | 964 int old_cpu, this_cpu; in crash_kexec() local 971 this_cpu = raw_smp_processor_id(); in crash_kexec() 972 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); in crash_kexec()
|
/kernel/trace/ |
D | trace_clock.c | 97 int this_cpu; in trace_clock_global() local 102 this_cpu = raw_smp_processor_id(); in trace_clock_global() 103 now = sched_clock_cpu(this_cpu); in trace_clock_global()
|
/kernel/debug/kdb/ |
D | kdb_io.c | 563 int this_cpu, old_cpu; in vkdb_printf() local 574 this_cpu = smp_processor_id(); in vkdb_printf() 576 old_cpu = cmpxchg(&kdb_printf_cpu, -1, this_cpu); in vkdb_printf() 577 if (old_cpu == -1 || old_cpu == this_cpu) in vkdb_printf()
|
/kernel/sched/ |
D | rt.c | 1686 int this_cpu = smp_processor_id(); in find_lowest_rq() local 1715 if (!cpumask_test_cpu(this_cpu, lowest_mask)) in find_lowest_rq() 1716 this_cpu = -1; /* Skip this_cpu opt if not among lowest */ in find_lowest_rq() 1727 if (this_cpu != -1 && in find_lowest_rq() 1728 cpumask_test_cpu(this_cpu, sched_domain_span(sd))) { in find_lowest_rq() 1730 return this_cpu; in find_lowest_rq() 1748 if (this_cpu != -1) in find_lowest_rq() 1749 return this_cpu; in find_lowest_rq() 2099 int this_cpu = this_rq->cpu, cpu; in pull_rt_task() local 2127 if (this_cpu == cpu) in pull_rt_task() [all …]
|
D | deadline.c | 1880 int this_cpu = smp_processor_id(); in find_later_rq() local 1915 if (!cpumask_test_cpu(this_cpu, later_mask)) in find_later_rq() 1916 this_cpu = -1; in find_later_rq() 1927 if (this_cpu != -1 && in find_later_rq() 1928 cpumask_test_cpu(this_cpu, sched_domain_span(sd))) { in find_later_rq() 1930 return this_cpu; in find_later_rq() 1953 if (this_cpu != -1) in find_later_rq() 1954 return this_cpu; in find_later_rq() 2136 int this_cpu = this_rq->cpu, cpu; in pull_dl_task() local 2152 if (this_cpu == cpu) in pull_dl_task() [all …]
|
D | fair.c | 5470 wake_affine_idle(int this_cpu, int prev_cpu, int sync) in wake_affine_idle() argument 5484 if (available_idle_cpu(this_cpu) && cpus_share_cache(this_cpu, prev_cpu)) in wake_affine_idle() 5485 return available_idle_cpu(prev_cpu) ? prev_cpu : this_cpu; in wake_affine_idle() 5487 if (sync && cpu_rq(this_cpu)->nr_running == 1) in wake_affine_idle() 5488 return this_cpu; in wake_affine_idle() 5495 int this_cpu, int prev_cpu, int sync) in wake_affine_weight() argument 5500 this_eff_load = cpu_runnable_load(cpu_rq(this_cpu)); in wake_affine_weight() 5506 return this_cpu; in wake_affine_weight() 5522 prev_eff_load *= capacity_of(this_cpu); in wake_affine_weight() 5533 return this_eff_load < prev_eff_load ? this_cpu : nr_cpumask_bits; in wake_affine_weight() [all …]
|
D | debug.c | 969 unsigned int this_cpu = raw_smp_processor_id(); in proc_sched_show_task() local 972 t0 = cpu_clock(this_cpu); in proc_sched_show_task() 973 t1 = cpu_clock(this_cpu); in proc_sched_show_task()
|
D | core.c | 2389 bool cpus_share_cache(int this_cpu, int that_cpu) in cpus_share_cache() argument 2391 return per_cpu(sd_llc_id, this_cpu) == per_cpu(sd_llc_id, that_cpu); in cpus_share_cache()
|
/kernel/debug/ |
D | debug_core.c | 248 int this_cpu = raw_smp_processor_id(); in kgdb_roundup_cpus() local 254 if (cpu == this_cpu) in kgdb_roundup_cpus()
|