Lines Matching refs:task_struct
13 void scx_pre_fork(struct task_struct *p);
14 int scx_fork(struct task_struct *p);
15 void scx_post_fork(struct task_struct *p);
16 void scx_cancel_fork(struct task_struct *p);
20 int scx_check_setscheduler(struct task_struct *p, int policy);
32 static inline bool task_on_scx(const struct task_struct *p) in task_on_scx()
38 bool scx_prio_less(const struct task_struct *a, const struct task_struct *b,
45 static inline void scx_pre_fork(struct task_struct *p) {} in scx_pre_fork()
46 static inline int scx_fork(struct task_struct *p) { return 0; } in scx_fork()
47 static inline void scx_post_fork(struct task_struct *p) {} in scx_post_fork()
48 static inline void scx_cancel_fork(struct task_struct *p) {} in scx_cancel_fork()
53 static inline int scx_check_setscheduler(struct task_struct *p, int policy) { return 0; } in scx_check_setscheduler()
54 static inline bool task_on_scx(const struct task_struct *p) { return false; } in task_on_scx()
76 void scx_cgroup_move_task(struct task_struct *p);
85 static inline void scx_cgroup_move_task(struct task_struct *p) {} in scx_cgroup_move_task()