Lines Matching refs:rf

1216 static inline void rq_pin_lock(struct rq *rq, struct rq_flags *rf)  in rq_pin_lock()  argument
1218 rf->cookie = lockdep_pin_lock(&rq->lock); in rq_pin_lock()
1222 rf->clock_update_flags = 0; in rq_pin_lock()
1226 static inline void rq_unpin_lock(struct rq *rq, struct rq_flags *rf) in rq_unpin_lock() argument
1230 rf->clock_update_flags = RQCF_UPDATED; in rq_unpin_lock()
1233 lockdep_unpin_lock(&rq->lock, rf->cookie); in rq_unpin_lock()
1236 static inline void rq_repin_lock(struct rq *rq, struct rq_flags *rf) in rq_repin_lock() argument
1238 lockdep_repin_lock(&rq->lock, rf->cookie); in rq_repin_lock()
1244 rq->clock_update_flags |= rf->clock_update_flags; in rq_repin_lock()
1248 struct rq *__task_rq_lock(struct task_struct *p, struct rq_flags *rf)
1251 struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf)
1255 static inline void __task_rq_unlock(struct rq *rq, struct rq_flags *rf) in __task_rq_unlock() argument
1258 rq_unpin_lock(rq, rf); in __task_rq_unlock()
1263 task_rq_unlock(struct rq *rq, struct task_struct *p, struct rq_flags *rf) in task_rq_unlock() argument
1267 rq_unpin_lock(rq, rf); in task_rq_unlock()
1269 raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags); in task_rq_unlock()
1273 rq_lock_irqsave(struct rq *rq, struct rq_flags *rf) in rq_lock_irqsave() argument
1276 raw_spin_lock_irqsave(&rq->lock, rf->flags); in rq_lock_irqsave()
1277 rq_pin_lock(rq, rf); in rq_lock_irqsave()
1281 rq_lock_irq(struct rq *rq, struct rq_flags *rf) in rq_lock_irq() argument
1285 rq_pin_lock(rq, rf); in rq_lock_irq()
1289 rq_lock(struct rq *rq, struct rq_flags *rf) in rq_lock() argument
1293 rq_pin_lock(rq, rf); in rq_lock()
1297 rq_relock(struct rq *rq, struct rq_flags *rf) in rq_relock() argument
1301 rq_repin_lock(rq, rf); in rq_relock()
1305 rq_unlock_irqrestore(struct rq *rq, struct rq_flags *rf) in rq_unlock_irqrestore() argument
1308 rq_unpin_lock(rq, rf); in rq_unlock_irqrestore()
1309 raw_spin_unlock_irqrestore(&rq->lock, rf->flags); in rq_unlock_irqrestore()
1313 rq_unlock_irq(struct rq *rq, struct rq_flags *rf) in rq_unlock_irq() argument
1316 rq_unpin_lock(rq, rf); in rq_unlock_irq()
1321 rq_unlock(struct rq *rq, struct rq_flags *rf) in rq_unlock() argument
1324 rq_unpin_lock(rq, rf); in rq_unlock()
1329 this_rq_lock_irq(struct rq_flags *rf) in this_rq_lock_irq() argument
1336 rq_lock(rq, rf); in this_rq_lock_irq()
1798 int (*balance)(struct rq *rq, struct task_struct *prev, struct rq_flags *rf);
1889 …uct task_struct *pick_next_task_fair(struct rq *rq, struct task_struct *prev, struct rq_flags *rf);