Lines Matching defs:p
161 static inline int __task_prio(const struct task_struct *p) in __task_prio()
256 const struct task_struct *p = __node_2_sc(node); in rb_sched_core_cmp() local
268 void sched_core_enqueue(struct rq *rq, struct task_struct *p) in sched_core_enqueue()
281 void sched_core_dequeue(struct rq *rq, struct task_struct *p, int flags) in sched_core_dequeue()
303 static int sched_task_is_throttled(struct task_struct *p, int cpu) in sched_task_is_throttled()
311 static struct task_struct *sched_core_next(struct task_struct *p, unsigned long cookie) in sched_core_next()
336 struct task_struct *p; in sched_core_find() local
488 static inline void sched_core_enqueue(struct rq *rq, struct task_struct *p) { } in sched_core_enqueue()
490 sched_core_dequeue(struct rq *rq, struct task_struct *p, int flags) { } in sched_core_dequeue()
667 struct rq *__task_rq_lock(struct task_struct *p, struct rq_flags *rf) in __task_rq_lock()
691 struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf) in task_rq_lock()
963 static bool set_nr_if_polling(struct task_struct *p) in set_nr_if_polling()
986 static inline bool set_nr_if_polling(struct task_struct *p) in set_nr_if_polling()
1304 static inline bool __need_bw_check(struct rq *rq, struct task_struct *p) in __need_bw_check()
1418 void set_load_weight(struct task_struct *p, bool update_load) in set_load_weight()
1548 static void __uclamp_update_util_min_rt_default(struct task_struct *p) in __uclamp_update_util_min_rt_default()
1565 static void uclamp_update_util_min_rt_default(struct task_struct *p) in uclamp_update_util_min_rt_default()
1576 uclamp_tg_restrict(struct task_struct *p, enum uclamp_id clamp_id) in uclamp_tg_restrict()
1611 uclamp_eff_get(struct task_struct *p, enum uclamp_id clamp_id) in uclamp_eff_get()
1623 unsigned long uclamp_eff_value(struct task_struct *p, enum uclamp_id clamp_id) in uclamp_eff_value()
1646 static inline void uclamp_rq_inc_id(struct rq *rq, struct task_struct *p, in uclamp_rq_inc_id()
1684 static inline void uclamp_rq_dec_id(struct rq *rq, struct task_struct *p, in uclamp_rq_dec_id()
1750 static inline void uclamp_rq_inc(struct rq *rq, struct task_struct *p) in uclamp_rq_inc()
1777 static inline void uclamp_rq_dec(struct rq *rq, struct task_struct *p) in uclamp_rq_dec()
1800 static inline void uclamp_rq_reinc_id(struct rq *rq, struct task_struct *p, in uclamp_rq_reinc_id()
1818 uclamp_update_active(struct task_struct *p) in uclamp_update_active()
1851 struct task_struct *p; in uclamp_update_active_tasks() local
1882 struct task_struct *g, *p; in uclamp_sync_util_min_rt_default() local
1969 static void uclamp_fork(struct task_struct *p) in uclamp_fork()
1989 static void uclamp_post_fork(struct task_struct *p) in uclamp_post_fork()
2034 static inline void uclamp_rq_inc(struct rq *rq, struct task_struct *p) { } in uclamp_rq_inc()
2035 static inline void uclamp_rq_dec(struct rq *rq, struct task_struct *p) { } in uclamp_rq_dec()
2036 static inline void uclamp_fork(struct task_struct *p) { } in uclamp_fork()
2037 static inline void uclamp_post_fork(struct task_struct *p) { } in uclamp_post_fork()
2041 bool sched_task_on_rq(struct task_struct *p) in sched_task_on_rq()
2046 unsigned long get_wchan(struct task_struct *p) in get_wchan()
2065 void enqueue_task(struct rq *rq, struct task_struct *p, int flags) in enqueue_task()
2089 inline bool dequeue_task(struct rq *rq, struct task_struct *p, int flags) in dequeue_task()
2110 void activate_task(struct rq *rq, struct task_struct *p, int flags) in activate_task()
2123 void deactivate_task(struct rq *rq, struct task_struct *p, int flags) in deactivate_task()
2138 static void block_task(struct rq *rq, struct task_struct *p, int flags) in block_task()
2150 inline int task_curr(const struct task_struct *p) in task_curr()
2159 void check_class_changing(struct rq *rq, struct task_struct *p, in check_class_changing()
2173 void check_class_changed(struct rq *rq, struct task_struct *p, in check_class_changed()
2186 void wakeup_preempt(struct rq *rq, struct task_struct *p, int flags) in wakeup_preempt()
2204 int __task_state_match(struct task_struct *p, unsigned int state) in __task_state_match()
2216 int task_state_match(struct task_struct *p, unsigned int state) in task_state_match()
2242 unsigned long wait_task_inactive(struct task_struct *p, unsigned int match_state) in wait_task_inactive()
2346 static void migrate_disable_switch(struct rq *rq, struct task_struct *p) in migrate_disable_switch()
2367 struct task_struct *p = current; in migrate_disable() local
2388 struct task_struct *p = current; in migrate_enable() local
2435 static inline bool is_cpu_allowed(struct task_struct *p, int cpu) in is_cpu_allowed()
2481 struct task_struct *p, int new_cpu) in move_queued_task()
2527 struct task_struct *p, int dest_cpu) in __migrate_task()
2547 struct task_struct *p = arg->task; in migration_cpu_stop() local
2652 struct task_struct *p = arg; in push_cpu_stop() local
2694 void set_cpus_allowed_common(struct task_struct *p, struct affinity_context *ctx) in set_cpus_allowed_common()
2712 __do_set_cpus_allowed(struct task_struct *p, struct affinity_context *ctx) in __do_set_cpus_allowed()
2761 void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask) in do_set_cpus_allowed()
2826 static inline struct cpumask *clear_user_cpus_ptr(struct task_struct *p) in clear_user_cpus_ptr()
2835 void release_user_cpus_ptr(struct task_struct *p) in release_user_cpus_ptr()
2916 static int affine_move_task(struct rq *rq, struct task_struct *p, struct rq_flags *rf, in affine_move_task()
3063 static int __set_cpus_allowed_ptr_locked(struct task_struct *p, in __set_cpus_allowed_ptr_locked()
3151 int __set_cpus_allowed_ptr(struct task_struct *p, struct affinity_context *ctx) in __set_cpus_allowed_ptr()
3169 int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr()
3189 static int restrict_cpus_allowed_ptr(struct task_struct *p, in restrict_cpus_allowed_ptr()
3231 void force_compatible_cpus_allowed_ptr(struct task_struct *p) in force_compatible_cpus_allowed_ptr()
3277 void relax_compatible_cpus_allowed_ptr(struct task_struct *p) in relax_compatible_cpus_allowed_ptr()
3293 void set_task_cpu(struct task_struct *p, unsigned int new_cpu) in set_task_cpu()
3350 static void __migrate_swap_task(struct task_struct *p, int cpu) in __migrate_swap_task()
3418 int migrate_swap(struct task_struct *cur, struct task_struct *p, in migrate_swap()
3468 void kick_process(struct task_struct *p) in kick_process()
3500 static int select_fallback_rq(int cpu, struct task_struct *p) in select_fallback_rq()
3575 int select_task_rq(struct task_struct *p, int cpu, int *wake_flags) in select_task_rq()
3649 static inline void migrate_disable_switch(struct rq *rq, struct task_struct *p) { } in migrate_disable_switch()
3659 ttwu_stat(struct task_struct *p, int cpu, int wake_flags) in ttwu_stat()
3700 static inline void ttwu_do_wakeup(struct task_struct *p) in ttwu_do_wakeup()
3707 ttwu_do_activate(struct rq *rq, struct task_struct *p, int wake_flags, in ttwu_do_activate()
3784 static int ttwu_runnable(struct task_struct *p, int wake_flags) in ttwu_runnable()
3815 struct task_struct *p, *t; in sched_ttwu_pending() local
3870 static void __ttwu_queue_wakelist(struct task_struct *p, int cpu, int wake_flags) in __ttwu_queue_wakelist()
3923 static inline bool ttwu_queue_cond(struct task_struct *p, int cpu) in ttwu_queue_cond()
3972 static bool ttwu_queue_wakelist(struct task_struct *p, int cpu, int wake_flags) in ttwu_queue_wakelist()
3985 static inline bool ttwu_queue_wakelist(struct task_struct *p, int cpu, int wake_flags) in ttwu_queue_wakelist()
3992 static void ttwu_queue(struct task_struct *p, int cpu, int wake_flags) in ttwu_queue()
4025 bool ttwu_state_match(struct task_struct *p, unsigned int state, int *success) in ttwu_state_match()
4176 int try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) in try_to_wake_up()
4339 static bool __task_needs_rq_lock(struct task_struct *p) in __task_needs_rq_lock()
4388 int task_call_func(struct task_struct *p, task_call_f func, void *arg) in task_call_func()
4461 int wake_up_process(struct task_struct *p) in wake_up_process()
4467 int wake_up_state(struct task_struct *p, unsigned int state) in wake_up_state()
4479 static void __sched_fork(unsigned long clone_flags, struct task_struct *p) in __sched_fork()
4716 int sched_fork(unsigned long clone_flags, struct task_struct *p) in sched_fork()
4789 int sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs) in sched_cgroup_fork()
4820 void sched_cancel_fork(struct task_struct *p) in sched_cancel_fork()
4825 void sched_post_fork(struct task_struct *p) in sched_post_fork()
4854 void wake_up_new_task(struct task_struct *p) in wake_up_new_task()
5495 struct task_struct *p = current; in sched_exec() local
5526 static inline void prefetch_curr_exec_start(struct task_struct *p) in prefetch_curr_exec_start()
5542 unsigned long long task_sched_runtime(struct task_struct *p) in task_sched_runtime()
5905 static inline unsigned long get_preempt_disable_ip(struct task_struct *p) in get_preempt_disable_ip()
6016 struct task_struct *p; in __pick_next_task() local
6087 struct task_struct *p; in pick_task() local
6107 struct task_struct *next, *p, *max = NULL; in pick_next_task() local
6337 struct task_struct *p; in try_steal_cookie() local
6573 static bool try_to_block_task(struct rq *rq, struct task_struct *p, in try_to_block_task()
7158 void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task) in rt_mutex_setprio()
7695 void sched_show_task(struct task_struct *p) in sched_show_task()
7726 state_filter_match(unsigned long state_filter, struct task_struct *p) in state_filter_match()
7751 struct task_struct *g, *p; in show_state_filter() local
7871 int task_can_attach(struct task_struct *p) in task_can_attach()
7894 int migrate_task_to(struct task_struct *p, int target_cpu) in migrate_task_to()
7915 void sched_setnuma(struct task_struct *p, int nid) in sched_setnuma()
7969 struct task_struct *p = arg; in __balance_push_cpu_stop() local
8378 struct task_struct *g, *p; in dump_rq_tasks() local
8837 struct task_struct *g, *p; in normalize_rt_tasks() local
10666 void sched_deq_and_put_task(struct task_struct *p, int queue_flags, in sched_deq_and_put_task()