Searched refs:rq1 (Results 1 – 2 of 2) sorted by relevance
2589 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) in double_rq_clock_clear_update() argument2591 rq1->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() argument2603 static inline bool rq_order_less(struct rq *rq1, struct rq *rq2) in rq_order_less() argument2617 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() argument2737 __releases(rq1->lock) in double_rq_unlock()[all …]
605 void double_rq_lock(struct rq *rq1, struct rq *rq2) in double_rq_lock() argument609 if (rq_order_less(rq2, rq1)) in double_rq_lock()610 swap(rq1, rq2); in double_rq_lock()612 raw_spin_rq_lock(rq1); in double_rq_lock()613 if (__rq_lockp(rq1) != __rq_lockp(rq2)) in double_rq_lock()616 double_rq_clock_clear_update(rq1, rq2); in double_rq_lock()