Lines Matching refs:p
47 void __update_stats_wait_start(struct rq *rq, struct task_struct *p,
50 void __update_stats_wait_end(struct rq *rq, struct task_struct *p,
52 void __update_stats_enqueue_sleeper(struct rq *rq, struct task_struct *p,
85 # define __update_stats_wait_start(rq, p, stats) do { } while (0) argument
86 # define __update_stats_wait_end(rq, p, stats) do { } while (0) argument
87 # define __update_stats_enqueue_sleeper(rq, p, stats) do { } while (0) argument
125 static inline void psi_enqueue(struct task_struct *p, bool wakeup) in psi_enqueue() argument
132 if (p->in_memstall) in psi_enqueue()
136 if (p->in_memstall) in psi_enqueue()
139 if (p->in_iowait) in psi_enqueue()
143 psi_task_change(p, clear, set); in psi_enqueue()
146 static inline void psi_dequeue(struct task_struct *p, bool sleep) in psi_dequeue() argument
160 psi_task_change(p, p->psi_flags, 0); in psi_dequeue()
163 static inline void psi_ttwu_dequeue(struct task_struct *p) in psi_ttwu_dequeue() argument
172 if (unlikely(p->psi_flags)) { in psi_ttwu_dequeue()
176 rq = __task_rq_lock(p, &rf); in psi_ttwu_dequeue()
177 psi_task_change(p, p->psi_flags, 0); in psi_ttwu_dequeue()
193 static inline void psi_enqueue(struct task_struct *p, bool wakeup) {} in psi_enqueue() argument
194 static inline void psi_dequeue(struct task_struct *p, bool sleep) {} in psi_dequeue() argument
195 static inline void psi_ttwu_dequeue(struct task_struct *p) {} in psi_ttwu_dequeue() argument