Lines Matching refs:p
36 void scx_pre_fork(struct task_struct *p);
37 int scx_fork(struct task_struct *p);
38 void scx_post_fork(struct task_struct *p);
39 void scx_cancel_fork(struct task_struct *p);
43 int scx_check_setscheduler(struct task_struct *p, int policy);
45 bool scx_allow_ttwu_queue(const struct task_struct *p);
56 static inline bool task_on_scx(const struct task_struct *p) in task_on_scx() argument
58 return scx_enabled() && p->sched_class == &ext_sched_class; in task_on_scx()
69 static inline void scx_pre_fork(struct task_struct *p) {} in scx_pre_fork() argument
70 static inline int scx_fork(struct task_struct *p) { return 0; } in scx_fork() argument
71 static inline void scx_post_fork(struct task_struct *p) {} in scx_post_fork() argument
72 static inline void scx_cancel_fork(struct task_struct *p) {} in scx_cancel_fork() argument
77 static inline int scx_check_setscheduler(struct task_struct *p, int policy) { return 0; } in scx_check_setscheduler() argument
78 static inline bool task_on_scx(const struct task_struct *p) { return false; } in task_on_scx() argument
79 static inline bool scx_allow_ttwu_queue(const struct task_struct *p) { return true; } in scx_allow_ttwu_queue() argument
102 void scx_cgroup_move_task(struct task_struct *p);
113 static inline void scx_cgroup_move_task(struct task_struct *p) {} in scx_cgroup_move_task() argument