Lines Matching defs:p

189 static inline int __task_prio(const struct task_struct *p)  in __task_prio()
284 const struct task_struct *p = __node_2_sc(node); in rb_sched_core_cmp() local
296 void sched_core_enqueue(struct rq *rq, struct task_struct *p) in sched_core_enqueue()
309 void sched_core_dequeue(struct rq *rq, struct task_struct *p, int flags) in sched_core_dequeue()
331 static int sched_task_is_throttled(struct task_struct *p, int cpu) in sched_task_is_throttled()
339 static struct task_struct *sched_core_next(struct task_struct *p, unsigned long cookie) in sched_core_next()
364 struct task_struct *p; in sched_core_find() local
516 static inline void sched_core_enqueue(struct rq *rq, struct task_struct *p) { } in sched_core_enqueue()
518 sched_core_dequeue(struct rq *rq, struct task_struct *p, int flags) { } in sched_core_dequeue()
703 struct rq *__task_rq_lock(struct task_struct *p, struct rq_flags *rf) in __task_rq_lock()
727 struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf) in task_rq_lock()
974 static bool set_nr_if_polling(struct task_struct *p) in set_nr_if_polling()
996 static inline bool set_nr_if_polling(struct task_struct *p) in set_nr_if_polling()
1318 static inline bool __need_bw_check(struct rq *rq, struct task_struct *p) in __need_bw_check()
1430 void set_load_weight(struct task_struct *p, bool update_load) in set_load_weight()
1560 static void __uclamp_update_util_min_rt_default(struct task_struct *p) in __uclamp_update_util_min_rt_default()
1577 static void uclamp_update_util_min_rt_default(struct task_struct *p) in uclamp_update_util_min_rt_default()
1588 uclamp_tg_restrict(struct task_struct *p, enum uclamp_id clamp_id) in uclamp_tg_restrict()
1623 uclamp_eff_get(struct task_struct *p, enum uclamp_id clamp_id) in uclamp_eff_get()
1635 unsigned long uclamp_eff_value(struct task_struct *p, enum uclamp_id clamp_id) in uclamp_eff_value()
1658 static inline void uclamp_rq_inc_id(struct rq *rq, struct task_struct *p, in uclamp_rq_inc_id()
1696 static inline void uclamp_rq_dec_id(struct rq *rq, struct task_struct *p, in uclamp_rq_dec_id()
1762 static inline void uclamp_rq_inc(struct rq *rq, struct task_struct *p, int flags) in uclamp_rq_inc()
1790 static inline void uclamp_rq_dec(struct rq *rq, struct task_struct *p) in uclamp_rq_dec()
1813 static inline void uclamp_rq_reinc_id(struct rq *rq, struct task_struct *p, in uclamp_rq_reinc_id()
1831 uclamp_update_active(struct task_struct *p) in uclamp_update_active()
1864 struct task_struct *p; in uclamp_update_active_tasks() local
1895 struct task_struct *g, *p; in uclamp_sync_util_min_rt_default() local
1982 static void uclamp_fork(struct task_struct *p) in uclamp_fork()
2002 static void uclamp_post_fork(struct task_struct *p) in uclamp_post_fork()
2047 static inline void uclamp_rq_inc(struct rq *rq, struct task_struct *p, int flags) { } in uclamp_rq_inc()
2048 static inline void uclamp_rq_dec(struct rq *rq, struct task_struct *p) { } in uclamp_rq_dec()
2049 static inline void uclamp_fork(struct task_struct *p) { } in uclamp_fork()
2050 static inline void uclamp_post_fork(struct task_struct *p) { } in uclamp_post_fork()
2054 bool sched_task_on_rq(struct task_struct *p) in sched_task_on_rq()
2059 unsigned long get_wchan(struct task_struct *p) in get_wchan()
2078 void enqueue_task(struct rq *rq, struct task_struct *p, int flags) in enqueue_task()
2104 inline bool dequeue_task(struct rq *rq, struct task_struct *p, int flags) in dequeue_task()
2125 void activate_task(struct rq *rq, struct task_struct *p, int flags) in activate_task()
2138 void deactivate_task(struct rq *rq, struct task_struct *p, int flags) in deactivate_task()
2153 static void block_task(struct rq *rq, struct task_struct *p, int flags) in block_task()
2165 inline int task_curr(const struct task_struct *p) in task_curr()
2174 void check_class_changing(struct rq *rq, struct task_struct *p, in check_class_changing()
2188 void check_class_changed(struct rq *rq, struct task_struct *p, in check_class_changed()
2201 void wakeup_preempt(struct rq *rq, struct task_struct *p, int flags) in wakeup_preempt()
2219 int __task_state_match(struct task_struct *p, unsigned int state) in __task_state_match()
2231 int task_state_match(struct task_struct *p, unsigned int state) in task_state_match()
2257 unsigned long wait_task_inactive(struct task_struct *p, unsigned int match_state) in wait_task_inactive()
2365 static void migrate_disable_switch(struct rq *rq, struct task_struct *p) in migrate_disable_switch()
2386 struct task_struct *p = current; in migrate_disable() local
2407 struct task_struct *p = current; in migrate_enable() local
2454 static inline bool is_cpu_allowed(struct task_struct *p, int cpu) in is_cpu_allowed()
2500 struct task_struct *p, int new_cpu) in move_queued_task()
2546 struct task_struct *p, int dest_cpu) in __migrate_task()
2566 struct task_struct *p = arg->task; in migration_cpu_stop() local
2671 struct task_struct *p = arg; in push_cpu_stop() local
2713 void set_cpus_allowed_common(struct task_struct *p, struct affinity_context *ctx) in set_cpus_allowed_common()
2731 __do_set_cpus_allowed(struct task_struct *p, struct affinity_context *ctx) in __do_set_cpus_allowed()
2780 void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask) in do_set_cpus_allowed()
2845 static inline struct cpumask *clear_user_cpus_ptr(struct task_struct *p) in clear_user_cpus_ptr()
2854 void release_user_cpus_ptr(struct task_struct *p) in release_user_cpus_ptr()
2935 static int affine_move_task(struct rq *rq, struct task_struct *p, struct rq_flags *rf, in affine_move_task()
3089 static int __set_cpus_allowed_ptr_locked(struct task_struct *p, in __set_cpus_allowed_ptr_locked()
3177 int __set_cpus_allowed_ptr(struct task_struct *p, struct affinity_context *ctx) in __set_cpus_allowed_ptr()
3195 int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr()
3215 static int restrict_cpus_allowed_ptr(struct task_struct *p, in restrict_cpus_allowed_ptr()
3257 void force_compatible_cpus_allowed_ptr(struct task_struct *p) in force_compatible_cpus_allowed_ptr()
3303 void relax_compatible_cpus_allowed_ptr(struct task_struct *p) in relax_compatible_cpus_allowed_ptr()
3321 void set_task_cpu(struct task_struct *p, unsigned int new_cpu) in set_task_cpu()
3377 static void __migrate_swap_task(struct task_struct *p, int cpu) in __migrate_swap_task()
3445 int migrate_swap(struct task_struct *cur, struct task_struct *p, in migrate_swap()
3495 void kick_process(struct task_struct *p) in kick_process()
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()
3675 ttwu_stat(struct task_struct *p, int cpu, int wake_flags) in ttwu_stat()
3714 static inline void ttwu_do_wakeup(struct task_struct *p) in ttwu_do_wakeup()
3721 ttwu_do_activate(struct rq *rq, struct task_struct *p, int wake_flags, in ttwu_do_activate()
3794 static int ttwu_runnable(struct task_struct *p, int wake_flags) in ttwu_runnable()
3824 struct task_struct *p, *t; in sched_ttwu_pending() local
3879 static void __ttwu_queue_wakelist(struct task_struct *p, int cpu, int wake_flags) in __ttwu_queue_wakelist()
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()
4027 bool ttwu_state_match(struct task_struct *p, unsigned int state, int *success) in ttwu_state_match()
4178 int try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) in try_to_wake_up()
4337 static bool __task_needs_rq_lock(struct task_struct *p) in __task_needs_rq_lock()
4384 int task_call_func(struct task_struct *p, task_call_f func, void *arg) in task_call_func()
4457 int wake_up_process(struct task_struct *p) in wake_up_process()
4463 int wake_up_state(struct task_struct *p, unsigned int state) in wake_up_state()
4475 static void __sched_fork(unsigned long clone_flags, struct task_struct *p) in __sched_fork()
4710 int sched_fork(unsigned long clone_flags, struct task_struct *p) in sched_fork()
4780 int sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs) in sched_cgroup_fork()
4811 void sched_cancel_fork(struct task_struct *p) in sched_cancel_fork()
4816 void sched_post_fork(struct task_struct *p) in sched_post_fork()
4845 void wake_up_new_task(struct task_struct *p) in wake_up_new_task()
5472 struct task_struct *p = current; in sched_exec() local
5501 static inline void prefetch_curr_exec_start(struct task_struct *p) in prefetch_curr_exec_start()
5517 unsigned long long task_sched_runtime(struct task_struct *p) in task_sched_runtime()
5874 static inline unsigned long get_preempt_disable_ip(struct task_struct *p) in get_preempt_disable_ip()
5985 struct task_struct *p; in __pick_next_task() local
6056 struct task_struct *p; in pick_task() local
6076 struct task_struct *next, *p, *max = NULL; in pick_next_task() local
6306 struct task_struct *p; in try_steal_cookie() local
6544 static bool try_to_block_task(struct rq *rq, struct task_struct *p, in try_to_block_task()
6651 struct task_struct *p; in find_proxy_task() local
7359 void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task) in rt_mutex_setprio()
7908 void sched_show_task(struct task_struct *p) in sched_show_task()
7939 state_filter_match(unsigned long state_filter, struct task_struct *p) in state_filter_match()
7964 struct task_struct *g, *p; in show_state_filter() local
8073 int task_can_attach(struct task_struct *p) in task_can_attach()
8096 int migrate_task_to(struct task_struct *p, int target_cpu) in migrate_task_to()
8117 void sched_setnuma(struct task_struct *p, int nid) in sched_setnuma()
8171 struct task_struct *p = arg; in __balance_push_cpu_stop() local
8580 struct task_struct *g, *p; in dump_rq_tasks() local
9027 struct task_struct *g, *p; in normalize_rt_tasks() local
10930 void sched_deq_and_put_task(struct task_struct *p, int queue_flags, in sched_deq_and_put_task()