Lines Matching refs:l2
2269 static inline void double_lock(spinlock_t *l1, spinlock_t *l2)
2271 if (l1 > l2) {
2272 swap(l1, l2);
2276 spin_lock_nested(l2, SINGLE_DEPTH_NESTING);
2279 static inline void double_lock_irq(spinlock_t *l1, spinlock_t *l2)
2281 if (l1 > l2) {
2282 swap(l1, l2);
2286 spin_lock_nested(l2, SINGLE_DEPTH_NESTING);
2289 static inline void double_raw_lock(raw_spinlock_t *l1, raw_spinlock_t *l2)
2291 if (l1 > l2) {
2292 swap(l1, l2);
2296 raw_spin_lock_nested(l2, SINGLE_DEPTH_NESTING);