• Home
  • Raw
  • Download

Lines Matching refs:rq2

2589 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2)  in double_rq_clock_clear_update()  argument
2594 rq2->clock_update_flags &= (RQCF_REQ_SKIP|RQCF_ACT_SKIP); in double_rq_clock_clear_update()
2598 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) {} in double_rq_clock_clear_update() argument
2603 static inline bool rq_order_less(struct rq *rq1, struct rq *rq2) in rq_order_less() argument
2617 if (rq1->core->cpu < rq2->core->cpu) in rq_order_less()
2619 if (rq1->core->cpu > rq2->core->cpu) in rq_order_less()
2626 return rq1->cpu < rq2->cpu; in rq_order_less()
2629 extern void double_rq_lock(struct rq *rq1, struct rq *rq2);
2736 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2) in double_rq_unlock() argument
2738 __releases(rq2->lock) in double_rq_unlock()
2740 if (__rq_lockp(rq1) != __rq_lockp(rq2)) in double_rq_unlock()
2741 raw_spin_rq_unlock(rq2); in double_rq_unlock()
2743 __release(rq2->lock); in double_rq_unlock()
2759 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2) in double_rq_lock() argument
2761 __acquires(rq2->lock) in double_rq_lock()
2764 WARN_ON_ONCE(rq1 != rq2); in double_rq_lock()
2766 __acquire(rq2->lock); /* Fake it out ;) */ in double_rq_lock()
2767 double_rq_clock_clear_update(rq1, rq2); in double_rq_lock()
2776 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2) in double_rq_unlock() argument
2778 __releases(rq2->lock) in double_rq_unlock()
2780 WARN_ON_ONCE(rq1 != rq2); in double_rq_unlock()
2782 __release(rq2->lock); in double_rq_unlock()