Searched refs:task_cpu (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/arch/x86/um/
H A Dptrace_32.c175 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 Dstop_task.c15 return task_cpu(p); /* stop tasks as never migrate */
H A Dcpuacct.c336 unsigned int cpu = task_cpu(tsk);
H A Dcpudeadline.c137 (cpu == task_cpu(p) && cap == max_cap)) {
H A Didle.c441 return task_cpu(p); /* IDLE tasks as never migrated */
H A Dcore.c280 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 Ddeadline.c450 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 Dpsi.c888 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 Ddebug.c621 if (task_cpu(p) != rq_cpu)
H A Dfair.c2420 .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 Drt.c1550 /* 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 Dkdb.h193 unsigned int cpu = task_cpu(p);
H A Dsched.h2114 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 Dtopology.h298 return cpu_to_node(task_cpu(p));
/linux-master/kernel/rcu/
H A Dtasks.h918 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 Dtree_stall.h427 cpu = task_cpu(rcuc);
535 cpu = gpk ? task_cpu(gpk) : -1;
578 cpu = task_cpu(gpk);
H A Dtree_nocb.h1657 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 Dtrace_sched_wakeup.c395 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 Dsched.h158 __entry->target_cpu = task_cpu(p);
292 __entry->orig_cpu = task_cpu(p);
/linux-master/kernel/
H A Dstop_machine.c55 * 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 Dtraps.c151 level, task_cpu(current), cr30, cr31);
/linux-master/arch/mips/kernel/
H A Dprocess.c850 cpumask_set_cpu(task_cpu(t), &process_cpus);
/linux-master/arch/powerpc/kernel/
H A Dprocess.c2147 unsigned long cpu = task_cpu(p);
2168 unsigned long cpu = task_cpu(p);
/linux-master/fs/proc/
H A Darray.c642 seq_put_decimal_ll(m, " ", task_cpu(task));
/linux-master/kernel/time/
H A Dtick-sched.c454 cpu = task_cpu(tsk);

Completed in 493 milliseconds

12