Searched refs:task_cpu (Results 1 – 20 of 20) sorted by relevance
/linux-4.4.14/arch/ia64/include/asm/ |
D | switch_to.h | 69 (task_cpu(current) != \ 72 task_thread_info(current)->last_cpu = task_cpu(current); \
|
/linux-4.4.14/kernel/sched/ |
D | idle_task.c | 14 return task_cpu(p); /* IDLE tasks as never migrated */ in select_task_rq_idle()
|
D | stop_task.c | 16 return task_cpu(p); /* stop tasks as never migrate */ in select_task_rq_stop()
|
D | core.c | 1002 return cpu_curr(task_cpu(p)) == p; in task_curr() 1082 BUG_ON(task_cpu(p) != new_cpu); in move_queued_task() 1235 if (cpumask_test_cpu(task_cpu(p), new_mask)) in __set_cpus_allowed_ptr() 1295 if (task_cpu(p) != new_cpu) { in set_task_cpu() 1348 if (task_cpu(arg->dst_task) != arg->dst_cpu) in migrate_swap_stop() 1351 if (task_cpu(arg->src_task) != arg->src_cpu) in migrate_swap_stop() 1383 .src_cpu = task_cpu(cur), in migrate_swap() 1385 .dst_cpu = task_cpu(p), in migrate_swap() 1537 cpu = task_cpu(p); in kick_process() 1642 cpu = select_fallback_rq(task_cpu(p), p); in select_task_rq() [all …]
|
D | cpuacct.c | 240 cpu = task_cpu(tsk); in cpuacct_charge()
|
D | deadline.c | 1243 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in task_dead_dl() 1332 int best_cpu, cpu = task_cpu(task); in find_later_rq() 1481 BUG_ON(rq->cpu != task_cpu(p)); in pick_next_pushable_dl_task() 1541 if (task_cpu(next_task) == rq->cpu && task == next_task) { in push_dl_task()
|
D | sched.h | 706 #define task_rq(p) cpu_rq(task_cpu(p)) 1195 int (*select_task_rq)(struct task_struct *p, int task_cpu, int sd_flag, int flags);
|
D | rt.c | 1564 int cpu = task_cpu(task); in find_lowest_rq() 1700 BUG_ON(rq->cpu != task_cpu(p)); in pick_next_pushable_task() 1760 if (task_cpu(next_task) == rq->cpu && task == next_task) { in push_rt_task()
|
D | debug.c | 158 if (task_cpu(p) != rq_cpu) in print_rq()
|
D | fair.c | 1437 .src_cpu = task_cpu(p), in task_numa_migrate() 1560 trace_sched_stick_numa(p, env.src_cpu, task_cpu(env.best_task)); in task_numa_migrate() 4672 prev_cpu = task_cpu(p); in wake_affine() 4841 int i = task_cpu(p); in select_idle_sibling() 8083 set_task_rq(p, task_cpu(p)); in task_move_group_fair()
|
/linux-4.4.14/kernel/trace/ |
D | trace_sched_wakeup.c | 392 entry->next_cpu = task_cpu(next); in tracing_sched_switch_trace() 420 entry->next_cpu = task_cpu(wakee); in tracing_sched_wakeup_trace() 564 wakeup_cpu = task_cpu(p); in probe_wakeup()
|
/linux-4.4.14/include/trace/events/ |
D | sched.h | 75 __entry->target_cpu = task_cpu(p); 185 __entry->orig_cpu = task_cpu(p);
|
/linux-4.4.14/kernel/rcu/ |
D | update.c | 635 cpu = task_cpu(t); in check_holdout_task()
|
/linux-4.4.14/kernel/ |
D | cpu.c | 305 if (task_cpu(p) != dead_cpu) in check_for_tasks()
|
/linux-4.4.14/include/linux/ |
D | sched.h | 3088 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function 3095 return cpu_to_node(task_cpu(p)); in task_node() 3102 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function
|
/linux-4.4.14/fs/proc/ |
D | array.c | 526 seq_put_decimal_ll(m, ' ', task_cpu(task)); in do_task_stat()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | process.c | 1479 unsigned long cpu = task_cpu(p); in valid_irq_stack()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | mca.c | 1630 printk(" %d (cpu %d task 0x%p)", g->pid, task_cpu(g), g); in default_monarch_init_process()
|
/linux-4.4.14/kernel/events/ |
D | core.c | 70 if (task_cpu(p) != smp_processor_id() || !task_curr(p)) in remote_function() 101 smp_call_function_single(task_cpu(p), remote_function, &data, 1); in task_function_call()
|
/linux-4.4.14/Documentation/filesystems/ |
D | proc.txt | 320 task_cpu which CPU the task is scheduled on
|