Lines Matching refs:rq2
1712 static void double_rq_lock(struct rq *rq1, struct rq *rq2);
1791 static void double_rq_lock(struct rq *rq1, struct rq *rq2)
1793 __acquires(rq2->lock)
1796 if (rq1 == rq2) {
1798 __acquire(rq2->lock); /* Fake it out ;) */
1800 if (rq1 < rq2) {
1802 raw_spin_lock_nested(&rq2->lock, SINGLE_DEPTH_NESTING);
1804 raw_spin_lock(&rq2->lock);
1816 static void double_rq_unlock(struct rq *rq1, struct rq *rq2)
1818 __releases(rq2->lock)
1821 if (rq1 != rq2)
1822 raw_spin_unlock(&rq2->lock);
1824 __release(rq2->lock);