/Linux-v5.4/arch/x86/um/ |
D | ptrace_32.c | 198 int err, n, cpu = task_cpu(child); in get_fpregs() 215 int n, cpu = task_cpu(child); in set_fpregs() 228 int err, n, cpu = task_cpu(child); in get_fpxregs() 244 int n, cpu = task_cpu(child); in set_fpxregs()
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | switch_to.h | 70 (task_cpu(current) != \ 72 task_thread_info(current)->last_cpu = task_cpu(current); \
|
/Linux-v5.4/kernel/sched/ |
D | stop_task.c | 16 return task_cpu(p); /* stop tasks as never migrate */ in select_task_rq_stop()
|
D | deadline.c | 275 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in task_non_contending() 280 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in task_non_contending() 1297 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in inactive_task_timer() 1306 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in inactive_task_timer() 1878 int cpu = task_cpu(task); in find_later_rq() 2028 BUG_ON(rq->cpu != task_cpu(p)); in pick_next_pushable_dl_task() 2254 __dl_sub(src_dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in set_cpus_allowed_dl() 2552 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in sched_dl_overflow() 2571 cpus = dl_bw_cpus(task_cpu(p)); in sched_dl_overflow()
|
D | core.c | 1393 return cpu_curr(task_cpu(p)) == p; in task_curr() 1501 BUG_ON(task_cpu(p) != new_cpu); in move_queued_task() 1678 if (cpumask_test_cpu(task_cpu(p), new_mask)) in __set_cpus_allowed_ptr() 1747 if (task_cpu(p) != new_cpu) { in set_task_cpu() 1810 if (task_cpu(arg->dst_task) != arg->dst_cpu) in migrate_swap_stop() 1813 if (task_cpu(arg->src_task) != arg->src_cpu) in migrate_swap_stop() 2001 cpu = task_cpu(p); in kick_process() 2123 cpu = select_fallback_rq(task_cpu(p), p); in select_task_rq() 2538 cpu = task_cpu(p); in try_to_wake_up() 2560 cpu = task_cpu(p); in try_to_wake_up() [all …]
|
D | idle.c | 366 return task_cpu(p); /* IDLE tasks as never migrated */ in select_task_rq_idle()
|
D | sched.h | 1047 #define task_rq(p) cpu_rq(task_cpu(p)) 1735 int (*select_task_rq)(struct task_struct *p, int task_cpu, int sd_flag, int flags);
|
D | fair.c | 1742 .src_cpu = task_cpu(p), in task_numa_migrate() 1863 trace_sched_stick_numa(p, env.src_cpu, task_cpu(env.best_task)); in task_numa_migrate() 2705 int src_nid = cpu_to_node(task_cpu(p)); in update_scan_period() 6108 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in cpu_util_without() 6220 if (task_cpu(p) == cpu && dst_cpu != cpu) in cpu_util_next() 6222 else if (task_cpu(p) != cpu && dst_cpu == cpu) in cpu_util_next() 10194 set_task_rq(p, task_cpu(p)); in task_set_group_fair() 10201 set_task_rq(p, task_cpu(p)); in task_move_group_fair()
|
D | debug.c | 475 if (task_cpu(p) != rq_cpu) in print_rq()
|
D | rt.c | 1637 int cpu = task_cpu(task); in find_lowest_rq() 1774 BUG_ON(rq->cpu != task_cpu(p)); in pick_next_pushable_task()
|
D | psi.c | 748 int cpu = task_cpu(task); in psi_task_change()
|
/Linux-v5.4/include/linux/ |
D | kdb.h | 180 unsigned int cpu = task_cpu(p); in kdb_process_cpu()
|
D | sched.h | 1813 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function 1826 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function
|
/Linux-v5.4/include/linux/sched/ |
D | topology.h | 230 return cpu_to_node(task_cpu(p)); in task_node()
|
/Linux-v5.4/kernel/trace/ |
D | trace_sched_wakeup.c | 396 entry->next_cpu = task_cpu(next); in tracing_sched_switch_trace() 424 entry->next_cpu = task_cpu(wakee); in tracing_sched_wakeup_trace() 569 wakeup_cpu = task_cpu(p); in probe_wakeup()
|
/Linux-v5.4/include/trace/events/ |
D | sched.h | 76 __entry->target_cpu = task_cpu(p); 207 __entry->orig_cpu = task_cpu(p);
|
/Linux-v5.4/kernel/locking/ |
D | mutex.c | 569 vcpu_is_preempted(task_cpu(owner))) { in mutex_spin_on_owner() 605 retval = owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in mutex_can_spin_on_owner()
|
D | rwsem.c | 653 return owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in owner_on_cpu()
|
/Linux-v5.4/kernel/rcu/ |
D | update.c | 620 cpu = task_cpu(t); in check_holdout_task()
|
D | tree_stall.h | 345 gpk ? gpk->state : ~0, gpk ? task_cpu(gpk) : -1); in rcu_check_gp_kthread_starvation()
|
/Linux-v5.4/arch/arm64/kernel/ |
D | smp.c | 199 cpu = task_cpu(current); in secondary_start_kernel()
|
/Linux-v5.4/arch/mips/kernel/ |
D | process.c | 813 cpumask_set_cpu(task_cpu(t), &process_cpus); in mips_set_process_fp_mode()
|
/Linux-v5.4/fs/proc/ |
D | array.c | 594 seq_put_decimal_ll(m, " ", task_cpu(task)); in do_task_stat()
|
/Linux-v5.4/arch/ia64/kernel/ |
D | mca.c | 1626 printk(" %d (cpu %d task 0x%p)", g->pid, task_cpu(g), g); in default_monarch_init_process()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | process.c | 1960 unsigned long cpu = task_cpu(p); in valid_irq_stack()
|