Lines Matching defs:cpu
233 extern int sched_isolate_cpu(int cpu);
234 extern int sched_unisolate_cpu(int cpu);
235 extern int sched_unisolate_cpu_unlocked(int cpu);
250 static inline int sched_isolate_cpu(int cpu)
255 static inline int sched_unisolate_cpu(int cpu)
260 static inline int sched_unisolate_cpu_unlocked(int cpu)
318 unsigned int cpu;
379 * @enqueued: instantaneous estimated utilization of a task/cpu
570 * 'curr_window_cpu' represents task's contribution to cpu busy time on
573 * 'prev_window_cpu' represents task's contribution to cpu busy time on
777 unsigned int cpu;
1843 extern int idle_cpu(int cpu);
1844 extern int available_idle_cpu(int cpu);
1852 extern struct task_struct *idle_task(int cpu);
1865 extern struct task_struct *curr_task(int cpu);
1866 extern void ia64_set_curr_task(int cpu, struct task_struct *p);
2068 * Wrappers for p->thread_info->cpu access. No-op on UP.
2075 return READ_ONCE(p->cpu);
2077 return READ_ONCE(task_thread_info(p)->cpu);
2081 extern void set_task_cpu(struct task_struct *p, unsigned int cpu);
2090 static inline void set_task_cpu(struct task_struct *p, unsigned int cpu)
2105 static inline bool vcpu_is_preempted(int cpu)