Searched refs:l2 (Results 1 – 2 of 2) sorted by relevance
/kernel/sched/ |
D | sched.h | 1814 static inline void double_lock(spinlock_t *l1, spinlock_t *l2) in double_lock() argument 1816 if (l1 > l2) in double_lock() 1817 swap(l1, l2); in double_lock() 1820 spin_lock_nested(l2, SINGLE_DEPTH_NESTING); in double_lock() 1823 static inline void double_lock_irq(spinlock_t *l1, spinlock_t *l2) in double_lock_irq() argument 1825 if (l1 > l2) in double_lock_irq() 1826 swap(l1, l2); in double_lock_irq() 1829 spin_lock_nested(l2, SINGLE_DEPTH_NESTING); in double_lock_irq() 1832 static inline void double_raw_lock(raw_spinlock_t *l1, raw_spinlock_t *l2) in double_raw_lock() argument 1834 if (l1 > l2) in double_raw_lock() [all …]
|
/kernel/ |
D | cgroup.c | 881 struct list_head *l1, *l2; in compare_css_sets() local 898 l2 = &old_cset->cgrp_links; in compare_css_sets() 904 l2 = l2->next; in compare_css_sets() 907 BUG_ON(l2 != &old_cset->cgrp_links); in compare_css_sets() 910 BUG_ON(l2 == &old_cset->cgrp_links); in compare_css_sets() 914 link2 = list_entry(l2, struct cgrp_cset_link, cgrp_link); in compare_css_sets()
|