Lines Matching defs:cpu

331 static int sched_task_is_throttled(struct task_struct *p, int cpu)  in sched_task_is_throttled()
342 int cpu = task_cpu(p); in sched_core_next() local
395 static void sched_core_lock(int cpu, unsigned long *flags) in sched_core_lock()
405 static void sched_core_unlock(int cpu, unsigned long *flags) in sched_core_unlock()
418 int cpu, t; in __sched_core_flip() local
452 int cpu; in sched_core_assert_empty() local
1100 int cpu; in __resched_curr() local
1168 void resched_cpu(int cpu) in resched_cpu()
1190 int i, cpu = smp_processor_id(), default_cpu = -1; in get_nohz_timer_target() local
1230 static void wake_up_idle_cpu(int cpu) in wake_up_idle_cpu()
1265 static bool wake_up_full_nohz_cpu(int cpu) in wake_up_full_nohz_cpu()
1290 void wake_up_nohz_cpu(int cpu) in wake_up_nohz_cpu()
1299 int cpu = cpu_of(rq); in nohz_csd_func() local
2025 int cpu; in init_uclamp() local
2454 static inline bool is_cpu_allowed(struct task_struct *p, int cpu) in is_cpu_allowed()
3377 static void __migrate_swap_task(struct task_struct *p, int cpu) in __migrate_swap_task()
3498 int cpu = task_cpu(p); in kick_process() local
3527 static int select_fallback_rq(int cpu, struct task_struct *p) in select_fallback_rq()
3602 int select_task_rq(struct task_struct *p, int cpu, int *wake_flags) in select_task_rq()
3629 void sched_set_stop_task(int cpu, struct task_struct *stop) in sched_set_stop_task()
3675 ttwu_stat(struct task_struct *p, int cpu, int wake_flags) in ttwu_stat()
3863 bool call_function_single_prep_ipi(int cpu) in call_function_single_prep_ipi()
3879 static void __ttwu_queue_wakelist(struct task_struct *p, int cpu, int wake_flags) in __ttwu_queue_wakelist()
3891 void wake_up_if_idle(int cpu) in wake_up_if_idle()
3934 static inline bool ttwu_queue_cond(struct task_struct *p, int cpu) in ttwu_queue_cond()
3983 static bool ttwu_queue_wakelist(struct task_struct *p, int cpu, int wake_flags) in ttwu_queue_wakelist()
3994 static void ttwu_queue(struct task_struct *p, int cpu, int wake_flags) in ttwu_queue()
4181 int cpu, success = 0; in try_to_wake_up() local
4431 struct task_struct *cpu_curr_snapshot(int cpu) in cpu_curr_snapshot()
5398 unsigned long long nr_context_switches_cpu(int cpu) in nr_context_switches_cpu()
5421 unsigned int nr_iowait_cpu(int cpu) in nr_iowait_cpu()
5607 int cpu = smp_processor_id(); in sched_tick() local
5659 int cpu; member
5697 int cpu = twork->cpu; in sched_tick_remote() local
5747 static void sched_tick_start(int cpu) in sched_tick_start()
5768 static void sched_tick_stop(int cpu) in sched_tick_stop()
5794 static inline void sched_tick_start(int cpu) { } in sched_tick_start()
5795 static inline void sched_tick_stop(int cpu) { } in sched_tick_stop()
6081 int i, cpu, occ = 0; in pick_next_task() local
6355 static bool steal_cookie_task(int cpu, struct sched_domain *sd) in steal_cookie_task()
6376 int cpu = cpu_of(rq); in sched_core_balance() local
6413 static void sched_core_cpu_starting(unsigned int cpu) in sched_core_cpu_starting()
6452 static void sched_core_cpu_deactivate(unsigned int cpu) in sched_core_cpu_deactivate()
6503 static inline void sched_core_cpu_dying(unsigned int cpu) in sched_core_cpu_dying()
6513 static inline void sched_core_cpu_starting(unsigned int cpu) {} in sched_core_cpu_starting()
6514 static inline void sched_core_cpu_deactivate(unsigned int cpu) {} in sched_core_cpu_deactivate()
6515 static inline void sched_core_cpu_dying(unsigned int cpu) {} in sched_core_cpu_dying()
6829 int cpu; in __schedule() local
8000 void __init init_idle(struct task_struct *idle, int cpu) in init_idle()
8174 int cpu; in __balance_push_cpu_stop() local
8265 static void balance_push_set(int cpu, bool on) in balance_push_set()
8301 static inline void balance_push_set(int cpu, bool on) in balance_push_set()
8342 static inline void sched_set_rq_online(struct rq *rq, int cpu) in sched_set_rq_online()
8354 static inline void sched_set_rq_offline(struct rq *rq, int cpu) in sched_set_rq_offline()
8401 static void cpuset_cpu_inactive(unsigned int cpu) in cpuset_cpu_inactive()
8411 static inline void sched_smt_present_inc(int cpu) in sched_smt_present_inc()
8419 static inline void sched_smt_present_dec(int cpu) in sched_smt_present_dec()
8427 int sched_cpu_activate(unsigned int cpu) in sched_cpu_activate()
8465 int sched_cpu_deactivate(unsigned int cpu) in sched_cpu_deactivate()
8525 static void sched_rq_cpu_starting(unsigned int cpu) in sched_rq_cpu_starting()
8533 int sched_cpu_starting(unsigned int cpu) in sched_cpu_starting()
8554 int sched_cpu_wait_empty(unsigned int cpu) in sched_cpu_wait_empty()
8581 int cpu = cpu_of(rq); in dump_rq_tasks() local
8597 int sched_cpu_dying(unsigned int cpu) in sched_cpu_dying()
9081 struct task_struct *curr_task(int cpu) in curr_task()
10343 void dump_cpu_task(int cpu) in dump_cpu_task()
10683 int cpu) in sched_mm_cid_remote_clear()
10738 static void sched_mm_cid_remote_clear_old(struct mm_struct *mm, int cpu) in sched_mm_cid_remote_clear_old()
10770 static void sched_mm_cid_remote_clear_weight(struct mm_struct *mm, int cpu, in sched_mm_cid_remote_clear_weight()
10789 int weight, cpu; in task_mm_cid_work() local