Lines Matching refs:rf
1331 * copy of the (on-stack) 'struct rq_flags rf'.
1335 static inline void rq_pin_lock(struct rq *rq, struct rq_flags *rf)
1337 rf->cookie = lockdep_pin_lock(&rq->lock);
1341 rf->clock_update_flags = 0;
1345 static inline void rq_unpin_lock(struct rq *rq, struct rq_flags *rf)
1349 rf->clock_update_flags = RQCF_UPDATED;
1353 lockdep_unpin_lock(&rq->lock, rf->cookie);
1356 static inline void rq_repin_lock(struct rq *rq, struct rq_flags *rf)
1358 lockdep_repin_lock(&rq->lock, rf->cookie);
1362 * Restore the value we stashed in @rf for this pin context.
1364 rq->clock_update_flags |= rf->clock_update_flags;
1368 struct rq *__task_rq_lock(struct task_struct *p, struct rq_flags *rf) __acquires(rq->lock);
1370 struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf) __acquires(p->pi_lock) __acquires(rq->lock);
1372 static inline void __task_rq_unlock(struct rq *rq, struct rq_flags *rf) __releases(rq->lock)
1374 rq_unpin_lock(rq, rf);
1378 static inline void task_rq_unlock(struct rq *rq, struct task_struct *p, struct rq_flags *rf) __releases(rq->lock)
1381 rq_unpin_lock(rq, rf);
1383 raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags);
1386 static inline void rq_lock_irqsave(struct rq *rq, struct rq_flags *rf) __acquires(rq->lock)
1388 raw_spin_lock_irqsave(&rq->lock, rf->flags);
1389 rq_pin_lock(rq, rf);
1392 static inline void rq_lock_irq(struct rq *rq, struct rq_flags *rf) __acquires(rq->lock)
1395 rq_pin_lock(rq, rf);
1398 static inline void rq_lock(struct rq *rq, struct rq_flags *rf) __acquires(rq->lock)
1401 rq_pin_lock(rq, rf);
1404 static inline void rq_relock(struct rq *rq, struct rq_flags *rf) __acquires(rq->lock)
1407 rq_repin_lock(rq, rf);
1410 static inline void rq_unlock_irqrestore(struct rq *rq, struct rq_flags *rf) __releases(rq->lock)
1412 rq_unpin_lock(rq, rf);
1413 raw_spin_unlock_irqrestore(&rq->lock, rf->flags);
1416 static inline void rq_unlock_irq(struct rq *rq, struct rq_flags *rf) __releases(rq->lock)
1418 rq_unpin_lock(rq, rf);
1422 static inline void rq_unlock(struct rq *rq, struct rq_flags *rf) __releases(rq->lock)
1424 rq_unpin_lock(rq, rf);
1428 static inline struct rq *this_rq_lock_irq(struct rq_flags *rf) __acquires(rq->lock)
1434 rq_lock(rq, rf);
1899 int (*balance)(struct rq *rq, struct task_struct *prev, struct rq_flags *rf);
1991 extern struct task_struct *pick_next_task_fair(struct rq *rq, struct task_struct *prev, struct rq_flags *rf);
3054 extern void migrate_tasks(struct rq *dead_rq, struct rq_flags *rf, bool migrate_pinned_tasks);