Searched refs:task_cpu (Results 1 – 20 of 20) sorted by relevance
/linux-4.1.27/arch/ia64/include/asm/ |
D | switch_to.h | 69 (task_cpu(current) != \ 72 task_thread_info(current)->last_cpu = task_cpu(current); \
|
/linux-4.1.27/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 | 975 return cpu_curr(task_cpu(p)) == p; in task_curr() 1048 if (task_cpu(p) != new_cpu) { in set_task_cpu() 1097 if (task_cpu(arg->dst_task) != arg->dst_cpu) in migrate_swap_stop() 1100 if (task_cpu(arg->src_task) != arg->src_cpu) in migrate_swap_stop() 1132 .src_cpu = task_cpu(cur), in migrate_swap() 1134 .dst_cpu = task_cpu(p), in migrate_swap() 1293 cpu = task_cpu(p); in kick_process() 1396 cpu = select_fallback_rq(task_cpu(p), p); in select_task_rq() 1673 cpu = task_cpu(p); in try_to_wake_up() 1697 if (task_cpu(p) != cpu) { in try_to_wake_up() [all …]
|
D | cpuacct.c | 240 cpu = task_cpu(tsk); in cpuacct_charge()
|
D | deadline.c | 1175 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in task_dead_dl() 1240 int best_cpu, cpu = task_cpu(task); in find_later_rq() 1377 BUG_ON(rq->cpu != task_cpu(p)); in pick_next_pushable_dl_task() 1437 if (task_cpu(next_task) == rq->cpu && task == next_task) { in push_dl_task()
|
D | sched.h | 704 #define task_rq(p) cpu_rq(task_cpu(p)) 1186 int (*select_task_rq)(struct task_struct *p, int task_cpu, int sd_flag, int flags);
|
D | rt.c | 1553 int cpu = task_cpu(task); in find_lowest_rq() 1689 BUG_ON(rq->cpu != task_cpu(p)); in pick_next_pushable_task() 1749 if (task_cpu(next_task) == rq->cpu && task == next_task) { in push_rt_task()
|
D | debug.c | 165 if (task_cpu(p) != rq_cpu) in print_rq()
|
D | fair.c | 1417 .src_cpu = task_cpu(p), in task_numa_migrate() 1538 trace_sched_stick_numa(p, env.src_cpu, task_cpu(env.best_task)); in task_numa_migrate() 4582 prev_cpu = task_cpu(p); in wake_affine() 4751 int i = task_cpu(p); in select_idle_sibling() 8032 set_task_rq(p, task_cpu(p)); in task_move_group_fair()
|
/linux-4.1.27/kernel/trace/ |
D | trace_sched_wakeup.c | 388 entry->next_cpu = task_cpu(next); in tracing_sched_switch_trace() 416 entry->next_cpu = task_cpu(wakee); in tracing_sched_wakeup_trace() 560 wakeup_cpu = task_cpu(p); in probe_wakeup()
|
/linux-4.1.27/include/trace/events/ |
D | sched.h | 75 __entry->target_cpu = task_cpu(p); 176 __entry->orig_cpu = task_cpu(p);
|
/linux-4.1.27/kernel/rcu/ |
D | update.c | 569 cpu = task_cpu(t); in check_holdout_task()
|
/linux-4.1.27/kernel/ |
D | cpu.c | 316 if (task_cpu(p) != dead_cpu) in check_for_tasks()
|
/linux-4.1.27/include/linux/ |
D | sched.h | 2990 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function 2997 return cpu_to_node(task_cpu(p)); in task_node() 3004 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function
|
/linux-4.1.27/fs/proc/ |
D | array.c | 515 seq_put_decimal_ll(m, ' ', task_cpu(task)); in do_task_stat()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | process.c | 1480 unsigned long cpu = task_cpu(p); in valid_irq_stack()
|
/linux-4.1.27/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.1.27/kernel/events/ |
D | core.c | 68 if (task_cpu(p) != smp_processor_id() || !task_curr(p)) in remote_function() 99 smp_call_function_single(task_cpu(p), remote_function, &data, 1); in task_function_call()
|
/linux-4.1.27/Documentation/filesystems/ |
D | proc.txt | 317 task_cpu which CPU the task is scheduled on
|