Lines Matching refs:rf

1139 static inline void rq_pin_lock(struct rq *rq, struct rq_flags *rf)  in rq_pin_lock()  argument
1141 rf->cookie = lockdep_pin_lock(&rq->lock); in rq_pin_lock()
1145 rf->clock_update_flags = 0; in rq_pin_lock()
1149 static inline void rq_unpin_lock(struct rq *rq, struct rq_flags *rf) in rq_unpin_lock() argument
1153 rf->clock_update_flags = RQCF_UPDATED; in rq_unpin_lock()
1156 lockdep_unpin_lock(&rq->lock, rf->cookie); in rq_unpin_lock()
1159 static inline void rq_repin_lock(struct rq *rq, struct rq_flags *rf) in rq_repin_lock() argument
1161 lockdep_repin_lock(&rq->lock, rf->cookie); in rq_repin_lock()
1167 rq->clock_update_flags |= rf->clock_update_flags; in rq_repin_lock()
1171 struct rq *__task_rq_lock(struct task_struct *p, struct rq_flags *rf)
1174 struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf)
1178 static inline void __task_rq_unlock(struct rq *rq, struct rq_flags *rf) in __task_rq_unlock() argument
1181 rq_unpin_lock(rq, rf); in __task_rq_unlock()
1186 task_rq_unlock(struct rq *rq, struct task_struct *p, struct rq_flags *rf) in task_rq_unlock() argument
1190 rq_unpin_lock(rq, rf); in task_rq_unlock()
1192 raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags); in task_rq_unlock()
1196 rq_lock_irqsave(struct rq *rq, struct rq_flags *rf) in rq_lock_irqsave() argument
1199 raw_spin_lock_irqsave(&rq->lock, rf->flags); in rq_lock_irqsave()
1200 rq_pin_lock(rq, rf); in rq_lock_irqsave()
1204 rq_lock_irq(struct rq *rq, struct rq_flags *rf) in rq_lock_irq() argument
1208 rq_pin_lock(rq, rf); in rq_lock_irq()
1212 rq_lock(struct rq *rq, struct rq_flags *rf) in rq_lock() argument
1216 rq_pin_lock(rq, rf); in rq_lock()
1220 rq_relock(struct rq *rq, struct rq_flags *rf) in rq_relock() argument
1224 rq_repin_lock(rq, rf); in rq_relock()
1228 rq_unlock_irqrestore(struct rq *rq, struct rq_flags *rf) in rq_unlock_irqrestore() argument
1231 rq_unpin_lock(rq, rf); in rq_unlock_irqrestore()
1232 raw_spin_unlock_irqrestore(&rq->lock, rf->flags); in rq_unlock_irqrestore()
1236 rq_unlock_irq(struct rq *rq, struct rq_flags *rf) in rq_unlock_irq() argument
1239 rq_unpin_lock(rq, rf); in rq_unlock_irq()
1244 rq_unlock(struct rq *rq, struct rq_flags *rf) in rq_unlock() argument
1247 rq_unpin_lock(rq, rf); in rq_unlock()
1252 this_rq_lock_irq(struct rq_flags *rf) in this_rq_lock_irq() argument
1259 rq_lock(rq, rf); in this_rq_lock_irq()
1462 extern int newidle_balance(struct rq *this_rq, struct rq_flags *rf);
1468 static inline int newidle_balance(struct rq *this_rq, struct rq_flags *rf) { return 0; } in newidle_balance() argument
1729 struct rq_flags *rf);
1734 int (*balance)(struct rq *rq, struct task_struct *prev, struct rq_flags *rf);