/linux/arch/x86/um/ |
A 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/arch/ia64/include/asm/ |
A D | switch_to.h | 62 (task_cpu(current) != \ 64 task_thread_info(current)->last_cpu = task_cpu(current); \
|
/linux/arch/arm/include/asm/ |
A D | switch_to.h | 35 task_thread_info(p)->cpu = task_cpu(p); in set_ti_cpu()
|
/linux/kernel/rcu/ |
A D | tasks.h | 486 cpu = task_cpu(t); in check_holdout_task() 924 int cpu = task_cpu(t); in trc_inspect_reader() 1003 cpu = task_cpu(t); in trc_wait_for_one_reader() 1086 cpu = task_cpu(t); in show_stalled_task_trace()
|
A D | tree_stall.h | 464 cpu = gpk ? task_cpu(gpk) : -1; in rcu_check_gp_kthread_starvation() 508 cpu = task_cpu(gpk); in rcu_check_gp_kthread_expired_fqs_timer()
|
A D | tree_nocb.h | 1346 rdp->nocb_cb_kthread ? (int)task_cpu(rdp->nocb_gp_kthread) : -1, in show_rcu_nocb_gp_state() 1385 rdp->nocb_cb_kthread ? (int)task_cpu(rdp->nocb_gp_kthread) : -1, in show_rcu_nocb_state()
|
/linux/kernel/trace/ |
A D | trace_sched_wakeup.c | 393 entry->next_cpu = task_cpu(next); in tracing_sched_switch_trace() 421 entry->next_cpu = task_cpu(wakee); in tracing_sched_wakeup_trace() 566 wakeup_cpu = task_cpu(p); in probe_wakeup()
|
/linux/kernel/sched/ |
A D | stop_task.c | 16 return task_cpu(p); /* stop tasks as never migrate */ in select_task_rq_stop()
|
A D | core.c | 2090 return cpu_curr(task_cpu(p)) == p; in task_curr() 2261 BUG_ON(task_cpu(p) != new_cpu); in move_queued_task() 3056 if (task_cpu(p) != new_cpu) { in set_task_cpu() 3310 cpu = task_cpu(p); in kick_process() 4105 if (task_cpu(p) != cpu) { in try_to_wake_up() 4116 cpu = task_cpu(p); in try_to_wake_up() 4124 ttwu_stat(p, task_cpu(p), wake_flags); in try_to_wake_up() 4493 p->recent_used_cpu = task_cpu(p); in wake_up_new_task() 8717 int curr_cpu = task_cpu(p); in migrate_task_to() 9168 if (task_cpu(p) != cpu) in dump_rq_tasks() [all …]
|
A D | deadline.c | 352 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in task_non_contending() 357 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in task_non_contending() 1361 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in inactive_task_timer() 1370 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in inactive_task_timer() 2064 int cpu = task_cpu(task); in find_later_rq() 2214 BUG_ON(rq->cpu != task_cpu(p)); in pick_next_pushable_dl_task() 2455 __dl_sub(src_dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in set_cpus_allowed_dl() 2773 int cpus, err = -1, cpu = task_cpu(p); in sched_dl_overflow()
|
A D | idle.c | 414 return task_cpu(p); /* IDLE tasks as never migrated */ in select_task_rq_idle()
|
A D | psi.c | 783 task->pid, task->comm, task_cpu(task), in psi_flags_change() 794 int cpu = task_cpu(task); in psi_task_change() 825 int cpu = task_cpu(prev); in psi_task_switch()
|
A D | cpudeadline.c | 138 (cpu == task_cpu(p) && cap == max_cap)) { in cpudl_find()
|
A D | fair.c | 1927 .src_cpu = task_cpu(p), in task_numa_migrate() 2890 int src_nid = cpu_to_node(task_cpu(p)); in update_scan_period() 5789 if (cpu_of(rq) != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in cpu_load_without() 5812 if (cpu_of(rq) != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in cpu_runnable_without() 6530 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in cpu_util_without() 6615 if (task_cpu(p) == cpu && dst_cpu != cpu) in cpu_util_next() 6617 else if (task_cpu(p) != cpu && dst_cpu == cpu) in cpu_util_next() 8901 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in task_running_on_cpu() 11426 set_task_rq(p, task_cpu(p)); in task_set_group_fair() 11433 set_task_rq(p, task_cpu(p)); in task_move_group_fair()
|
/linux/include/linux/ |
A D | kdb.h | 193 unsigned int cpu = task_cpu(p); in kdb_process_cpu()
|
A D | sched.h | 2128 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function 2137 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function
|
/linux/include/linux/sched/ |
A D | topology.h | 278 return cpu_to_node(task_cpu(p)); in task_node()
|
/linux/Documentation/scheduler/ |
A D | sched-capacity.rst | 341 task_util(p) < capacity(task_cpu(p)) 404 then it might become CPU-bound, IOW ``task_util(p) > capacity(task_cpu(p))``; 423 task_uclamp_min(p) <= capacity(task_cpu(cpu)) 437 task_bandwidth(p) < capacity(task_cpu(p))
|
/linux/kernel/locking/ |
A D | mutex.c | 371 vcpu_is_preempted(task_cpu(owner))) { in mutex_spin_on_owner() 413 retval = owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in mutex_can_spin_on_owner()
|
/linux/include/trace/events/ |
A D | sched.h | 158 __entry->target_cpu = task_cpu(p); 289 __entry->orig_cpu = task_cpu(p);
|
/linux/kernel/ |
A D | stop_machine.c | 58 struct cpu_stopper *stopper = per_cpu_ptr(&cpu_stopper, task_cpu(task)); in print_stop_info()
|
/linux/arch/parisc/kernel/ |
A D | traps.c | 147 level, task_cpu(current), cr30, cr31); in show_regs()
|
/linux/arch/mips/kernel/ |
A D | process.c | 848 cpumask_set_cpu(task_cpu(t), &process_cpus); in mips_set_process_fp_mode()
|
/linux/arch/powerpc/kernel/ |
A D | process.c | 2053 unsigned long cpu = task_cpu(p); in valid_irq_stack() 2071 unsigned long cpu = task_cpu(p); in valid_emergency_stack()
|
/linux/fs/proc/ |
A D | array.c | 614 seq_put_decimal_ll(m, " ", task_cpu(task)); in do_task_stat()
|