Searched refs:rq2 (Results 1 – 2 of 2) sorted by relevance
/kernel/sched/ |
D | sched.h | 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() [all …]
|
D | core.c | 605 void double_rq_lock(struct rq *rq1, struct rq *rq2) in double_rq_lock() argument 609 if (rq_order_less(rq2, rq1)) in double_rq_lock() 610 swap(rq1, rq2); in double_rq_lock() 613 if (__rq_lockp(rq1) != __rq_lockp(rq2)) in double_rq_lock() 614 raw_spin_rq_lock_nested(rq2, SINGLE_DEPTH_NESTING); in double_rq_lock() 616 double_rq_clock_clear_update(rq1, rq2); in double_rq_lock()
|