/kernel/ |
D | softlockup.c | 64 static unsigned long get_timestamp(int this_cpu) in get_timestamp() argument 66 return cpu_clock(this_cpu) >> 30LL; /* 2^30 ~= 10^9 */ in get_timestamp() 71 int this_cpu = raw_smp_processor_id(); in __touch_softlockup_watchdog() local 73 __raw_get_cpu_var(touch_timestamp) = get_timestamp(this_cpu); in __touch_softlockup_watchdog() 106 int this_cpu = smp_processor_id(); in softlockup_tick() local 107 unsigned long touch_timestamp = per_cpu(touch_timestamp, this_cpu); in softlockup_tick() 113 if (!per_cpu(watchdog_task, this_cpu) || softlockup_thresh <= 0) { in softlockup_tick() 116 per_cpu(touch_timestamp, this_cpu) = 0; in softlockup_tick() 125 print_timestamp = per_cpu(print_timestamp, this_cpu); in softlockup_tick() 137 now = get_timestamp(this_cpu); in softlockup_tick() [all …]
|
D | sched_fair.c | 122 static inline struct cfs_rq *cpu_cfs_rq(struct cfs_rq *cfs_rq, int this_cpu) in cpu_cfs_rq() argument 124 return cfs_rq->tg->cfs_rq[this_cpu]; in cpu_cfs_rq() 220 static inline struct cfs_rq *cpu_cfs_rq(struct cfs_rq *cfs_rq, int this_cpu) in cpu_cfs_rq() argument 222 return &cpu_rq(this_cpu)->cfs; in cpu_cfs_rq() 1045 int this_cpu; in wake_idle() local 1053 this_cpu = smp_processor_id(); in wake_idle() 1055 cpu_rq(this_cpu)->rd->sched_mc_preferred_wakeup_cpu; in wake_idle() 1058 idle_cpu(cpu) && idle_cpu(this_cpu) && in wake_idle() 1190 struct task_struct *p, int prev_cpu, int this_cpu, int sync, in wake_affine() argument 1217 tl += effective_load(tg, this_cpu, -weight, -weight); in wake_affine() [all …]
|
D | sched_rt.c | 963 static inline int pick_optimal_cpu(int this_cpu, cpumask_t *mask) in pick_optimal_cpu() argument 968 if ((this_cpu != -1) && cpu_isset(this_cpu, *mask)) in pick_optimal_cpu() 969 return this_cpu; in pick_optimal_cpu() 982 int this_cpu = smp_processor_id(); in find_lowest_rq() local 1013 if (this_cpu == cpu) in find_lowest_rq() 1014 this_cpu = -1; /* Skip this_cpu opt if the same */ in find_lowest_rq() 1024 best_cpu = pick_optimal_cpu(this_cpu, in find_lowest_rq() 1036 return pick_optimal_cpu(this_cpu, lowest_mask); in find_lowest_rq() 1176 int this_cpu = this_rq->cpu, ret = 0, cpu; in pull_rt_task() local 1186 if (this_cpu == cpu) in pull_rt_task() [all …]
|
D | sched.c | 1385 balance_tasks(struct rq *this_rq, int this_cpu, struct rq *busiest, 1391 iter_move_one_task(struct rq *this_rq, int this_cpu, struct rq *busiest, 2102 find_idlest_group(struct sched_domain *sd, struct task_struct *p, int this_cpu) in find_idlest_group() argument 2119 local_group = cpumask_test_cpu(this_cpu, in find_idlest_group() 2157 find_idlest_cpu(struct sched_group *group, struct task_struct *p, int this_cpu) in find_idlest_cpu() argument 2167 if (load < min_load || (load == min_load && i == this_cpu)) { in find_idlest_cpu() 2261 int cpu, orig_cpu, this_cpu, success = 0; in try_to_wake_up() local 2273 this_cpu = raw_smp_processor_id(); in try_to_wake_up() 2276 for_each_domain(this_cpu, sd) { in try_to_wake_up() 2297 this_cpu = smp_processor_id(); in try_to_wake_up() [all …]
|
D | sched_idletask.c | 48 load_balance_idle(struct rq *this_rq, int this_cpu, struct rq *busiest, in load_balance_idle() argument 57 move_one_task_idle(struct rq *this_rq, int this_cpu, struct rq *busiest, in move_one_task_idle() argument
|
D | softirq.c | 523 void __send_remote_softirq(struct call_single_data *cp, int cpu, int this_cpu, int softirq) in __send_remote_softirq() argument 525 if (cpu == this_cpu || __try_remote_softirq(cp, cpu, softirq)) in __send_remote_softirq() 542 int this_cpu; in send_remote_softirq() local 545 this_cpu = smp_processor_id(); in send_remote_softirq() 546 __send_remote_softirq(cp, cpu, this_cpu, softirq); in send_remote_softirq()
|
D | printk.c | 680 int this_cpu; in vprintk() local 688 this_cpu = smp_processor_id(); in vprintk() 693 if (unlikely(printk_cpu == this_cpu)) { in vprintk() 710 printk_cpu = this_cpu; in vprintk() 784 if (acquire_console_semaphore_for_printk(this_cpu)) in vprintk()
|
D | sched_debug.c | 468 unsigned int this_cpu = raw_smp_processor_id(); in proc_sched_show_task() local 471 t0 = cpu_clock(this_cpu); in proc_sched_show_task() 472 t1 = cpu_clock(this_cpu); in proc_sched_show_task()
|