Lines Matching refs:rf
1149 static inline void rq_pin_lock(struct rq *rq, struct rq_flags *rf) in rq_pin_lock() argument
1151 rf->cookie = lockdep_pin_lock(&rq->lock); in rq_pin_lock()
1155 rf->clock_update_flags = 0; in rq_pin_lock()
1159 static inline void rq_unpin_lock(struct rq *rq, struct rq_flags *rf) in rq_unpin_lock() argument
1163 rf->clock_update_flags = RQCF_UPDATED; in rq_unpin_lock()
1166 lockdep_unpin_lock(&rq->lock, rf->cookie); in rq_unpin_lock()
1169 static inline void rq_repin_lock(struct rq *rq, struct rq_flags *rf) in rq_repin_lock() argument
1171 lockdep_repin_lock(&rq->lock, rf->cookie); in rq_repin_lock()
1177 rq->clock_update_flags |= rf->clock_update_flags; in rq_repin_lock()
1181 struct rq *__task_rq_lock(struct task_struct *p, struct rq_flags *rf)
1184 struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf)
1188 static inline void __task_rq_unlock(struct rq *rq, struct rq_flags *rf) in __task_rq_unlock() argument
1191 rq_unpin_lock(rq, rf); in __task_rq_unlock()
1196 task_rq_unlock(struct rq *rq, struct task_struct *p, struct rq_flags *rf) in task_rq_unlock() argument
1200 rq_unpin_lock(rq, rf); in task_rq_unlock()
1202 raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags); in task_rq_unlock()
1206 rq_lock_irqsave(struct rq *rq, struct rq_flags *rf) in rq_lock_irqsave() argument
1209 raw_spin_lock_irqsave(&rq->lock, rf->flags); in rq_lock_irqsave()
1210 rq_pin_lock(rq, rf); in rq_lock_irqsave()
1214 rq_lock_irq(struct rq *rq, struct rq_flags *rf) in rq_lock_irq() argument
1218 rq_pin_lock(rq, rf); in rq_lock_irq()
1222 rq_lock(struct rq *rq, struct rq_flags *rf) in rq_lock() argument
1226 rq_pin_lock(rq, rf); in rq_lock()
1230 rq_relock(struct rq *rq, struct rq_flags *rf) in rq_relock() argument
1234 rq_repin_lock(rq, rf); in rq_relock()
1238 rq_unlock_irqrestore(struct rq *rq, struct rq_flags *rf) in rq_unlock_irqrestore() argument
1241 rq_unpin_lock(rq, rf); in rq_unlock_irqrestore()
1242 raw_spin_unlock_irqrestore(&rq->lock, rf->flags); in rq_unlock_irqrestore()
1246 rq_unlock_irq(struct rq *rq, struct rq_flags *rf) in rq_unlock_irq() argument
1249 rq_unpin_lock(rq, rf); in rq_unlock_irq()
1254 rq_unlock(struct rq *rq, struct rq_flags *rf) in rq_unlock() argument
1257 rq_unpin_lock(rq, rf); in rq_unlock()
1262 this_rq_lock_irq(struct rq_flags *rf) in this_rq_lock_irq() argument
1269 rq_lock(rq, rf); in this_rq_lock_irq()
1472 extern int newidle_balance(struct rq *this_rq, struct rq_flags *rf);
1478 static inline int newidle_balance(struct rq *this_rq, struct rq_flags *rf) { return 0; } in newidle_balance() argument
1739 struct rq_flags *rf);
1744 int (*balance)(struct rq *rq, struct task_struct *prev, struct rq_flags *rf);