Lines Matching refs:rq1

2921 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2)  in double_rq_clock_clear_update()  argument
2923 rq1->clock_update_flags &= (RQCF_REQ_SKIP|RQCF_ACT_SKIP); in double_rq_clock_clear_update()
2930 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) { } in double_rq_clock_clear_update() argument
2941 static inline bool rq_order_less(struct rq *rq1, struct rq *rq2) in rq_order_less() argument
2955 if (rq1->core->cpu < rq2->core->cpu) in rq_order_less()
2957 if (rq1->core->cpu > rq2->core->cpu) in rq_order_less()
2964 return rq1->cpu < rq2->cpu; in rq_order_less()
2967 extern void double_rq_lock(struct rq *rq1, struct rq *rq2);
3084 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2) in double_rq_unlock() argument
3085 __releases(rq1->lock) in double_rq_unlock()
3088 if (__rq_lockp(rq1) != __rq_lockp(rq2)) in double_rq_unlock()
3092 raw_spin_rq_unlock(rq1); in double_rq_unlock()
3108 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2) in double_rq_lock() argument
3109 __acquires(rq1->lock) in double_rq_lock()
3113 WARN_ON_ONCE(rq1 != rq2); in double_rq_lock()
3114 raw_spin_rq_lock(rq1); in double_rq_lock()
3116 double_rq_clock_clear_update(rq1, rq2); in double_rq_lock()
3125 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2) in double_rq_unlock() argument
3126 __releases(rq1->lock) in double_rq_unlock()
3129 WARN_ON_ONCE(rq1 != rq2); in double_rq_unlock()
3130 raw_spin_rq_unlock(rq1); in double_rq_unlock()