Searched refs:task_cpu (Results 1 - 25 of 32) sorted by last modified time

12

/linux-master/kernel/sched/
H A Drt.c1549 /* 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 Dfair.c2413 .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 Ddeadline.c449 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 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 Dsched.h1245 #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 Didle.c441 return task_cpu(p); /* IDLE tasks as never migrated */
H A Dstop_task.c15 return task_cpu(p); /* stop tasks as never migrate */
H A Ddebug.c621 if (task_cpu(p) != rq_cpu)
/linux-master/kernel/events/
H A Dcore.c79 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 Dsched.h2118 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 Dxmon.c3281 state, task_cpu(tsk),
/linux-master/arch/powerpc/kernel/
H A Dprocess.c2164 unsigned long cpu = task_cpu(p);
2185 unsigned long cpu = task_cpu(p);
/linux-master/kernel/rcu/
H A Dtree_stall.h427 cpu = task_cpu(rcuc);
536 cpu = gpk ? task_cpu(gpk) : -1;
579 cpu = task_cpu(gpk);
H A Dtree.c742 cpu = task_cpu(t);
H A Dtasks.h921 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 Drcutorture.c2278 wtp == NULL ? -1 : (int)task_cpu(wtp));
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/include/trace/events/
H A Dsched.h158 __entry->target_cpu = task_cpu(p);
292 __entry->orig_cpu = task_cpu(p);
/linux-master/include/linux/sched/
H A Dtopology.h298 return cpu_to_node(task_cpu(p));
/linux-master/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c579 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 Dtick-sched.c454 cpu = task_cpu(tsk);
/linux-master/fs/proc/
H A Darray.c642 seq_put_decimal_ll(m, " ", task_cpu(task));
/linux-master/kernel/trace/
H A Dtrace_osnoise.c1222 long cpu = task_cpu(p);
/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/arch/mips/kernel/
H A Dprocess.c850 cpumask_set_cpu(task_cpu(t), &process_cpus);

Completed in 485 milliseconds

12