Lines Matching refs:rq
20 balance_stop(struct rq *rq, struct task_struct *prev, struct rq_flags *rf) in balance_stop() argument
22 return sched_stop_runnable(rq); in balance_stop()
27 check_preempt_curr_stop(struct rq *rq, struct task_struct *p, int flags) in check_preempt_curr_stop() argument
32 static void set_next_task_stop(struct rq *rq, struct task_struct *stop, bool first) in set_next_task_stop() argument
34 stop->se.exec_start = rq_clock_task(rq); in set_next_task_stop()
38 pick_next_task_stop(struct rq *rq, struct task_struct *prev, struct rq_flags *rf) in pick_next_task_stop() argument
42 if (!sched_stop_runnable(rq)) in pick_next_task_stop()
45 set_next_task_stop(rq, rq->stop, true); in pick_next_task_stop()
46 return rq->stop; in pick_next_task_stop()
50 enqueue_task_stop(struct rq *rq, struct task_struct *p, int flags) in enqueue_task_stop() argument
52 add_nr_running(rq, 1); in enqueue_task_stop()
56 dequeue_task_stop(struct rq *rq, struct task_struct *p, int flags) in dequeue_task_stop() argument
58 sub_nr_running(rq, 1); in dequeue_task_stop()
61 static void yield_task_stop(struct rq *rq) in yield_task_stop() argument
66 static void put_prev_task_stop(struct rq *rq, struct task_struct *prev) in put_prev_task_stop() argument
68 struct task_struct *curr = rq->curr; in put_prev_task_stop()
71 delta_exec = rq_clock_task(rq) - curr->se.exec_start; in put_prev_task_stop()
81 curr->se.exec_start = rq_clock_task(rq); in put_prev_task_stop()
93 static void task_tick_stop(struct rq *rq, struct task_struct *curr, int queued) in task_tick_stop() argument
97 static void switched_to_stop(struct rq *rq, struct task_struct *p) in switched_to_stop() argument
103 prio_changed_stop(struct rq *rq, struct task_struct *p, int oldprio) in prio_changed_stop() argument
109 get_rr_interval_stop(struct rq *rq, struct task_struct *task) in get_rr_interval_stop() argument
114 static void update_curr_stop(struct rq *rq) in update_curr_stop() argument