Lines Matching refs:rf
1042 static inline void rq_pin_lock(struct rq *rq, struct rq_flags *rf) in rq_pin_lock() argument
1044 rf->cookie = lockdep_pin_lock(&rq->lock); in rq_pin_lock()
1048 rf->clock_update_flags = 0; in rq_pin_lock()
1052 static inline void rq_unpin_lock(struct rq *rq, struct rq_flags *rf) in rq_unpin_lock() argument
1056 rf->clock_update_flags = RQCF_UPDATED; in rq_unpin_lock()
1059 lockdep_unpin_lock(&rq->lock, rf->cookie); in rq_unpin_lock()
1062 static inline void rq_repin_lock(struct rq *rq, struct rq_flags *rf) in rq_repin_lock() argument
1064 lockdep_repin_lock(&rq->lock, rf->cookie); in rq_repin_lock()
1070 rq->clock_update_flags |= rf->clock_update_flags; in rq_repin_lock()
1524 struct rq_flags *rf);
1780 struct rq *__task_rq_lock(struct task_struct *p, struct rq_flags *rf)
1783 struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf)
1787 static inline void __task_rq_unlock(struct rq *rq, struct rq_flags *rf) in __task_rq_unlock() argument
1790 rq_unpin_lock(rq, rf); in __task_rq_unlock()
1795 task_rq_unlock(struct rq *rq, struct task_struct *p, struct rq_flags *rf) in task_rq_unlock() argument
1799 rq_unpin_lock(rq, rf); in task_rq_unlock()
1801 raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags); in task_rq_unlock()
1805 rq_lock_irqsave(struct rq *rq, struct rq_flags *rf) in rq_lock_irqsave() argument
1808 raw_spin_lock_irqsave(&rq->lock, rf->flags); in rq_lock_irqsave()
1809 rq_pin_lock(rq, rf); in rq_lock_irqsave()
1813 rq_lock_irq(struct rq *rq, struct rq_flags *rf) in rq_lock_irq() argument
1817 rq_pin_lock(rq, rf); in rq_lock_irq()
1821 rq_lock(struct rq *rq, struct rq_flags *rf) in rq_lock() argument
1825 rq_pin_lock(rq, rf); in rq_lock()
1829 rq_relock(struct rq *rq, struct rq_flags *rf) in rq_relock() argument
1833 rq_repin_lock(rq, rf); in rq_relock()
1837 rq_unlock_irqrestore(struct rq *rq, struct rq_flags *rf) in rq_unlock_irqrestore() argument
1840 rq_unpin_lock(rq, rf); in rq_unlock_irqrestore()
1841 raw_spin_unlock_irqrestore(&rq->lock, rf->flags); in rq_unlock_irqrestore()
1845 rq_unlock_irq(struct rq *rq, struct rq_flags *rf) in rq_unlock_irq() argument
1848 rq_unpin_lock(rq, rf); in rq_unlock_irq()
1853 rq_unlock(struct rq *rq, struct rq_flags *rf) in rq_unlock() argument
1856 rq_unpin_lock(rq, rf); in rq_unlock()