| /OK3568_Linux_fs/kernel/arch/x86/um/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/arch/ia64/include/asm/ |
| H A D | switch_to.h | 62 (task_cpu(current) != \ 64 task_thread_info(current)->last_cpu = task_cpu(current); \
|
| /OK3568_Linux_fs/kernel/kernel/rcu/ |
| H A D | tasks.h | 451 cpu = task_cpu(t); in check_holdout_task() 858 int cpu = task_cpu(t); in trc_inspect_reader() 930 cpu = task_cpu(t); in trc_wait_for_one_reader() 1017 cpu = task_cpu(t); in show_stalled_task_trace()
|
| H A D | tree_stall.h | 462 gpk ? gpk->state : ~0, gpk ? task_cpu(gpk) : -1); in rcu_check_gp_kthread_starvation()
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/kernel/sched/ |
| H A D | stop_task.c | 16 return task_cpu(p); /* stop tasks as never migrate */ in select_task_rq_stop()
|
| H A D | deadline.c | 336 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in task_non_contending() 341 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in task_non_contending() 1357 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in inactive_task_timer() 1366 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in inactive_task_timer() 1963 int cpu = task_cpu(task); in find_later_rq() 2113 BUG_ON(rq->cpu != task_cpu(p)); in pick_next_pushable_dl_task() 2339 __dl_sub(src_dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in set_cpus_allowed_dl() 2646 int cpus, err = -1, cpu = task_cpu(p); in sched_dl_overflow()
|
| H A D | core.c | 1763 return cpu_curr(task_cpu(p)) == p; in task_curr() 1865 BUG_ON(task_cpu(p) != new_cpu); in move_queued_task() 2045 if (cpumask_test_cpu(task_cpu(p), new_mask)) in __set_cpus_allowed_ptr_locked() 2201 if (task_cpu(p) != new_cpu) { in set_task_cpu() 2265 if (task_cpu(arg->dst_task) != arg->dst_cpu) in migrate_swap_stop() 2268 if (task_cpu(arg->src_task) != arg->src_cpu) in migrate_swap_stop() 2456 cpu = task_cpu(p); in kick_process() 2579 cpu = select_fallback_rq(task_cpu(p), p); in select_task_rq() 2794 if (WARN_ON_ONCE(task_cpu(p) != cpu_of(rq))) in sched_ttwu_pending() 3190 ttwu_queue_wakelist(p, task_cpu(p), wake_flags | WF_ON_CPU)) in try_to_wake_up() [all …]
|
| H A D | psi.c | 830 task->pid, task->comm, task_cpu(task), in psi_flags_change() 841 int cpu = task_cpu(task); in psi_task_change() 870 int cpu = task_cpu(prev); in psi_task_switch()
|
| H A D | idle.c | 409 return task_cpu(p); /* IDLE tasks as never migrated */ in select_task_rq_idle()
|
| H A D | cpudeadline.c | 138 (cpu == task_cpu(p) && cap == max_cap)) { in cpudl_find()
|
| H A D | fair.c | 1992 .src_cpu = task_cpu(p), in task_numa_migrate() 2957 int src_nid = cpu_to_node(task_cpu(p)); in update_scan_period() 5777 if (cpu_of(rq) != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in cpu_load_without() 5800 if (cpu_of(rq) != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in cpu_runnable_without() 6477 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in cpu_util_without() 6562 if (task_cpu(p) == cpu && dst_cpu != cpu) in cpu_util_next() 6564 else if (task_cpu(p) != cpu && dst_cpu == cpu) in cpu_util_next() 8876 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in task_running_on_cpu() 11279 set_task_rq(p, task_cpu(p)); in task_set_group_fair() 11286 set_task_rq(p, task_cpu(p)); in task_move_group_fair()
|
| H A D | sched.h | 1133 #define task_rq(p) cpu_rq(task_cpu(p)) 1858 int (*select_task_rq)(struct task_struct *p, int task_cpu, int sd_flag, int flags);
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | kdb.h | 180 unsigned int cpu = task_cpu(p); in kdb_process_cpu()
|
| H A D | sched.h | 1954 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function 1967 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function
|
| /OK3568_Linux_fs/kernel/include/linux/sched/ |
| H A D | topology.h | 271 return cpu_to_node(task_cpu(p)); in task_node()
|
| /OK3568_Linux_fs/kernel/Documentation/scheduler/ |
| H A D | sched-capacity.rst | 339 task_util(p) < capacity(task_cpu(p)) 402 then it might become CPU-bound, IOW ``task_util(p) > capacity(task_cpu(p))``; 421 task_uclamp_min(p) <= capacity(task_cpu(cpu)) 435 task_bandwidth(p) < capacity(task_cpu(p))
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | cpufreq_times.c | 138 struct cpu_freqs *freqs = all_freqs[task_cpu(p)]; in cpufreq_acct_update_power()
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | sched.h | 76 __entry->target_cpu = task_cpu(p); 208 __entry->orig_cpu = task_cpu(p);
|
| /OK3568_Linux_fs/kernel/kernel/locking/ |
| H A D | mutex.c | 586 vcpu_is_preempted(task_cpu(owner))) { in mutex_spin_on_owner() 622 retval = owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in mutex_can_spin_on_owner()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/debug/ |
| H A D | mali_kbase_debug_ktrace.c | 161 trace_msg->cpu = task_cpu(current); in kbasep_ktrace_msg_init()
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H A D | smp.c | 215 cpu = task_cpu(current); in secondary_start_kernel()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | mali_kbase_device.c | 445 trace_msg->cpu = task_cpu(current); in kbasep_trace_add()
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | process.c | 834 cpumask_set_cpu(task_cpu(t), &process_cpus); in mips_set_process_fp_mode()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | process.c | 2040 unsigned long cpu = task_cpu(p); in valid_irq_stack() 2058 unsigned long cpu = task_cpu(p); in valid_emergency_stack()
|