/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/kernel/sched/ |
H A D | stop_task.c | 15 return task_cpu(p); /* stop tasks as never migrate */
|
H A D | cpuacct.c | 336 unsigned int cpu = task_cpu(tsk);
|
H A D | cpudeadline.c | 137 (cpu == task_cpu(p) && cap == max_cap)) {
|
H A D | idle.c | 441 return task_cpu(p); /* IDLE tasks as never migrated */
|
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 | deadline.c | 450 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); 455 __dl_sub(dl_b, dl_se->dl_bw, dl_bw_cpus(task_cpu(p))); 1488 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); 1497 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); 2225 int cpu = task_cpu(task); 2371 WARN_ON_ONCE(rq->cpu != task_cpu(p)); 2602 __dl_sub(src_dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); 2951 int cpus, err = -1, cpu = task_cpu(p);
|
H A D | psi.c | 888 task->pid, task->comm, task_cpu(task), 899 int cpu = task_cpu(task); 920 int cpu = task_cpu(prev); 996 int cpu = task_cpu(task);
|
H A D | debug.c | 621 if (task_cpu(p) != rq_cpu)
|
H A D | fair.c | 2420 .src_cpu = task_cpu(p), 3530 int src_nid = cpu_to_node(task_cpu(p)); 6923 if (cpu_of(rq) != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) 6946 if (cpu_of(rq) != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) 7695 if (p && task_cpu(p) == cpu && dst_cpu != cpu) 7697 else if (p && task_cpu(p) != cpu && dst_cpu == cpu) 7768 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) 8227 * Called immediately before a task is migrated to a new CPU; task_cpu(p) and 10162 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) 12833 set_task_rq(p, task_cpu( [all...] |
H A D | rt.c | 1550 /* For anything but wake ups, just return the task_cpu */ 1830 int cpu = task_cpu(task); 1987 BUG_ON(rq->cpu != task_cpu(p));
|
/linux-master/include/linux/ |
H A D | kdb.h | 193 unsigned int cpu = task_cpu(p);
|
H A D | sched.h | 2114 static inline unsigned int task_cpu(const struct task_struct *p) function 2123 static inline unsigned int task_cpu(const struct task_struct *p) function 2169 return READ_ONCE(owner->on_cpu) && !vcpu_is_preempted(task_cpu(owner));
|
/linux-master/include/linux/sched/ |
H A D | topology.h | 298 return cpu_to_node(task_cpu(p));
|
/linux-master/kernel/rcu/ |
H A D | tasks.h | 918 cpu = task_cpu(t); 1028 cpu = task_cpu(t); 1587 int cpu = task_cpu(t); 1608 WARN_ON_ONCE(ofl && task_curr(t) && (t != idle_task(task_cpu(t)))); 1667 cpu = task_cpu(t); 1792 if (task_curr(t) && cpu_online(task_cpu(t))) 1811 cpu = task_cpu(t);
|
H A D | tree_stall.h | 427 cpu = task_cpu(rcuc); 535 cpu = gpk ? task_cpu(gpk) : -1; 578 cpu = task_cpu(gpk);
|
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/kernel/trace/ |
H A D | trace_sched_wakeup.c | 395 entry->next_cpu = task_cpu(next); 423 entry->next_cpu = task_cpu(wakee); 569 wakeup_cpu = task_cpu(p);
|
/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/kernel/ |
H A D | stop_machine.c | 55 * If @task is a stopper task, it cannot migrate and task_cpu() is 58 struct cpu_stopper *stopper = per_cpu_ptr(&cpu_stopper, task_cpu(task));
|
/linux-master/arch/parisc/kernel/ |
H A D | traps.c | 151 level, task_cpu(current), cr30, cr31);
|
/linux-master/arch/mips/kernel/ |
H A D | process.c | 850 cpumask_set_cpu(task_cpu(t), &process_cpus);
|
/linux-master/arch/powerpc/kernel/ |
H A D | process.c | 2147 unsigned long cpu = task_cpu(p); 2168 unsigned long cpu = task_cpu(p);
|
/linux-master/fs/proc/ |
H A D | array.c | 642 seq_put_decimal_ll(m, " ", task_cpu(task));
|
/linux-master/kernel/time/ |
H A D | tick-sched.c | 454 cpu = task_cpu(tsk);
|