/linux-master/kernel/sched/ |
H A D | rt.c | 1549 /* For anything but wake ups, just return the task_cpu */ 1829 int cpu = task_cpu(task); 1986 BUG_ON(rq->cpu != task_cpu(p));
|
H A D | fair.c | 2413 .src_cpu = task_cpu(p), 3523 int src_nid = cpu_to_node(task_cpu(p)); 6954 if (cpu_of(rq) != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) 6977 if (cpu_of(rq) != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) 7726 if (p && task_cpu(p) == cpu && dst_cpu != cpu) 7728 else if (p && task_cpu(p) != cpu && dst_cpu == cpu) 7799 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) 8257 * Called immediately before a task is migrated to a new CPU; task_cpu(p) and 10215 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) 12905 set_task_rq(p, task_cpu( [all...] |
H A D | deadline.c | 449 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); 454 __dl_sub(dl_b, dl_se->dl_bw, dl_bw_cpus(task_cpu(p))); 1487 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); 1496 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); 2224 int cpu = task_cpu(task); 2370 WARN_ON_ONCE(rq->cpu != task_cpu(p)); 2601 __dl_sub(src_dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); 2950 int cpus, err = -1, cpu = task_cpu(p);
|
H A D | core.c | 280 int cpu = task_cpu(p); 515 * rq->locks. It indicates task_cpu() is not stable, see task_rq_lock(). 526 * task_cpu(p): is changed by set_task_cpu(), the rules are: 2214 return cpu_curr(task_cpu(p)) == p; 2532 WARN_ON_ONCE(task_cpu(p) != new_cpu); 2626 if (cpumask_test_cpu(task_cpu(p), &p->cpus_mask)) 2659 if (cpumask_test_cpu(task_cpu(p), p->cpus_ptr)) { 2673 stop_one_cpu_nowait(task_cpu(p), migration_cpu_stop, 2976 if (cpumask_test_cpu(task_cpu(p), &p->cpus_mask)) { 3166 !cpumask_test_cpu(task_cpu( [all...] |
H A D | sched.h | 1245 #define task_rq(p) cpu_rq(task_cpu(p)) 2282 int (*select_task_rq)(struct task_struct *p, int task_cpu, int flags);
|
H A D | idle.c | 441 return task_cpu(p); /* IDLE tasks as never migrated */
|
H A D | stop_task.c | 15 return task_cpu(p); /* stop tasks as never migrate */
|
H A D | debug.c | 621 if (task_cpu(p) != rq_cpu)
|
/linux-master/kernel/events/ |
H A D | core.c | 79 if (task_cpu(p) != smp_processor_id()) 104 * task_cpu() goes offline concurrently. 120 ret = smp_call_function_single(task_cpu(p), remote_function, 2906 * task_cpu() load, such that if the IPI then does not find the task
|
/linux-master/include/linux/ |
H A D | sched.h | 2118 static inline unsigned int task_cpu(const struct task_struct *p) function 2127 static inline unsigned int task_cpu(const struct task_struct *p) function 2173 return READ_ONCE(owner->on_cpu) && !vcpu_is_preempted(task_cpu(owner));
|
/linux-master/arch/powerpc/xmon/ |
H A D | xmon.c | 3281 state, task_cpu(tsk),
|
/linux-master/arch/powerpc/kernel/ |
H A D | process.c | 2164 unsigned long cpu = task_cpu(p); 2185 unsigned long cpu = task_cpu(p);
|
/linux-master/kernel/rcu/ |
H A D | tree_stall.h | 427 cpu = task_cpu(rcuc); 536 cpu = gpk ? task_cpu(gpk) : -1; 579 cpu = task_cpu(gpk);
|
H A D | tree.c | 742 cpu = task_cpu(t);
|
H A D | tasks.h | 921 cpu = task_cpu(t); 1031 cpu = task_cpu(t); 1612 int cpu = task_cpu(t); 1633 WARN_ON_ONCE(ofl && task_curr(t) && (t != idle_task(task_cpu(t)))); 1692 cpu = task_cpu(t); 1817 if (task_curr(t) && cpu_online(task_cpu(t))) 1836 cpu = task_cpu(t);
|
H A D | rcutorture.c | 2278 wtp == NULL ? -1 : (int)task_cpu(wtp));
|
H A D | tree_nocb.h | 1657 rdp->nocb_gp_kthread ? (int)task_cpu(rdp->nocb_gp_kthread) : -1, 1702 rdp->nocb_cb_kthread ? (int)task_cpu(rdp->nocb_cb_kthread) : -1,
|
/linux-master/include/trace/events/ |
H A D | sched.h | 158 __entry->target_cpu = task_cpu(p); 292 __entry->orig_cpu = task_cpu(p);
|
/linux-master/include/linux/sched/ |
H A D | topology.h | 298 return cpu_to_node(task_cpu(p));
|
/linux-master/arch/x86/kernel/cpu/resctrl/ |
H A D | rdtgroup.c | 579 smp_call_function_single(task_cpu(t), _update_task_closid_rmid, t, 1); 2879 cpumask_set_cpu(task_cpu(t), mask);
|
/linux-master/kernel/time/ |
H A D | tick-sched.c | 454 cpu = task_cpu(tsk);
|
/linux-master/fs/proc/ |
H A D | array.c | 642 seq_put_decimal_ll(m, " ", task_cpu(task));
|
/linux-master/kernel/trace/ |
H A D | trace_osnoise.c | 1222 long cpu = task_cpu(p);
|
/linux-master/arch/x86/um/ |
H A D | ptrace_32.c | 175 int err, n, cpu = task_cpu(child); 192 int n, cpu = task_cpu(child); 205 int err, n, cpu = task_cpu(child); 221 int n, cpu = task_cpu(child);
|
/linux-master/arch/mips/kernel/ |
H A D | process.c | 850 cpumask_set_cpu(task_cpu(t), &process_cpus);
|