Home
last modified time | relevance | path

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

/kernel/
Dsmp.c228 int this_cpu; in smp_call_function_single() local
235 this_cpu = get_cpu(); in smp_call_function_single()
243 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_single()
246 if (cpu == this_cpu) { in smp_call_function_single()
331 unsigned int this_cpu; in __smp_call_function_single() local
334 this_cpu = get_cpu(); in __smp_call_function_single()
344 if (cpu == this_cpu) { in __smp_call_function_single()
373 int cpu, next_cpu, this_cpu = smp_processor_id(); in smp_call_function_many() local
381 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_many()
386 if (cpu == this_cpu) in smp_call_function_many()
[all …]
Dsoftirq.c676 void __send_remote_softirq(struct call_single_data *cp, int cpu, int this_cpu, int softirq) in __send_remote_softirq() argument
678 if (cpu == this_cpu || __try_remote_softirq(cp, cpu, softirq)) in __send_remote_softirq()
695 int this_cpu; in send_remote_softirq() local
698 this_cpu = smp_processor_id(); in send_remote_softirq()
699 __send_remote_softirq(cp, cpu, this_cpu, softirq); in send_remote_softirq()
Dwatchdog.c311 int this_cpu = smp_processor_id(); in watchdog_overflow_callback() local
318 panic("Watchdog detected hard LOCKUP on cpu %d", this_cpu); in watchdog_overflow_callback()
320 WARN(1, "Watchdog detected hard LOCKUP on cpu %d", this_cpu); in watchdog_overflow_callback()
Dhrtimer.c174 static int hrtimer_get_target(int this_cpu, int pinned) in hrtimer_get_target() argument
177 if (!pinned && get_sysctl_timer_migration() && idle_cpu(this_cpu)) in hrtimer_get_target()
180 return this_cpu; in hrtimer_get_target()
215 int this_cpu = smp_processor_id(); in switch_hrtimer_base() local
216 int cpu = hrtimer_get_target(this_cpu, pinned); in switch_hrtimer_base()
241 if (cpu != this_cpu && hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base()
242 cpu = this_cpu; in switch_hrtimer_base()
Dprintk.c1510 int this_cpu; in vprintk_emit() local
1518 this_cpu = smp_processor_id(); in vprintk_emit()
1523 if (unlikely(logbuf_cpu == this_cpu)) { in vprintk_emit()
1540 logbuf_cpu = this_cpu; in vprintk_emit()
1636 if (console_trylock_for_printk(this_cpu)) in vprintk_emit()
/kernel/trace/
Dtrace_clock.c92 int this_cpu; in trace_clock_global() local
97 this_cpu = raw_smp_processor_id(); in trace_clock_global()
98 now = sched_clock_cpu(this_cpu); in trace_clock_global()
/kernel/sched/
Dfair.c3116 int idx, this_cpu, prev_cpu; in wake_affine() local
3123 this_cpu = smp_processor_id(); in wake_affine()
3126 this_load = target_load(this_cpu, idx); in wake_affine()
3137 this_load += effective_load(tg, this_cpu, -weight, -weight); in wake_affine()
3159 effective_load(tg, this_cpu, weight, weight); in wake_affine()
3162 prev_eff_load *= power_of(this_cpu); in wake_affine()
3178 tl_per_task = cpu_avg_load_per_task(this_cpu); in wake_affine()
3202 int this_cpu, int load_idx) in find_idlest_group() argument
3218 local_group = cpumask_test_cpu(this_cpu, in find_idlest_group()
3254 find_idlest_cpu(struct sched_group *group, struct task_struct *p, int this_cpu) in find_idlest_cpu() argument
[all …]
Drt.c1481 int this_cpu = smp_processor_id(); in find_lowest_rq() local
1509 if (!cpumask_test_cpu(this_cpu, lowest_mask)) in find_lowest_rq()
1510 this_cpu = -1; /* Skip this_cpu opt if not among lowest */ in find_lowest_rq()
1521 if (this_cpu != -1 && in find_lowest_rq()
1522 cpumask_test_cpu(this_cpu, sched_domain_span(sd))) { in find_lowest_rq()
1524 return this_cpu; in find_lowest_rq()
1542 if (this_cpu != -1) in find_lowest_rq()
1543 return this_cpu; in find_lowest_rq()
1714 int this_cpu = this_rq->cpu, ret = 0, cpu; in pull_rt_task() local
1722 if (this_cpu == cpu) in pull_rt_task()
[all …]
Ddebug.c577 unsigned int this_cpu = raw_smp_processor_id(); in proc_sched_show_task() local
580 t0 = cpu_clock(this_cpu); in proc_sched_show_task()
581 t1 = cpu_clock(this_cpu); in proc_sched_show_task()
Dsched.h1029 extern void idle_balance(int this_cpu, struct rq *this_rq);
Dcore.c1285 int this_cpu = smp_processor_id(); in ttwu_stat() local
1287 if (cpu == this_cpu) { in ttwu_stat()
1295 for_each_domain(this_cpu, sd) { in ttwu_stat()
1446 bool cpus_share_cache(int this_cpu, int that_cpu) in cpus_share_cache() argument
1448 return per_cpu(sd_llc_id, this_cpu) == per_cpu(sd_llc_id, that_cpu); in cpus_share_cache()