Lines Matching refs:task_struct
15 void scx_pre_fork(struct task_struct *p);
16 int scx_fork(struct task_struct *p);
17 void scx_post_fork(struct task_struct *p);
18 void scx_cancel_fork(struct task_struct *p);
22 int scx_check_setscheduler(struct task_struct *p, int policy);
34 static inline bool task_on_scx(const struct task_struct *p) in task_on_scx()
39 static inline bool scx_allow_ttwu_queue(const struct task_struct *p) in scx_allow_ttwu_queue()
47 bool scx_prio_less(const struct task_struct *a, const struct task_struct *b,
54 static inline void scx_pre_fork(struct task_struct *p) {} in scx_pre_fork()
55 static inline int scx_fork(struct task_struct *p) { return 0; } in scx_fork()
56 static inline void scx_post_fork(struct task_struct *p) {} in scx_post_fork()
57 static inline void scx_cancel_fork(struct task_struct *p) {} in scx_cancel_fork()
62 static inline int scx_check_setscheduler(struct task_struct *p, int policy) { return 0; } in scx_check_setscheduler()
63 static inline bool task_on_scx(const struct task_struct *p) { return false; } in task_on_scx()
64 static inline bool scx_allow_ttwu_queue(const struct task_struct *p) { return true; } in scx_allow_ttwu_queue()
86 void scx_cgroup_move_task(struct task_struct *p);
95 static inline void scx_cgroup_move_task(struct task_struct *p) {} in scx_cgroup_move_task()