Home
last modified time | relevance | path

Searched refs:l2 (Results 1 – 2 of 2) sorted by relevance

/kernel/sched/
Dsched.h1818 static inline void double_lock(spinlock_t *l1, spinlock_t *l2) in double_lock() argument
1820 if (l1 > l2) in double_lock()
1821 swap(l1, l2); in double_lock()
1824 spin_lock_nested(l2, SINGLE_DEPTH_NESTING); in double_lock()
1827 static inline void double_lock_irq(spinlock_t *l1, spinlock_t *l2) in double_lock_irq() argument
1829 if (l1 > l2) in double_lock_irq()
1830 swap(l1, l2); in double_lock_irq()
1833 spin_lock_nested(l2, SINGLE_DEPTH_NESTING); in double_lock_irq()
1836 static inline void double_raw_lock(raw_spinlock_t *l1, raw_spinlock_t *l2) in double_raw_lock() argument
1838 if (l1 > l2) in double_raw_lock()
[all …]
/kernel/
Dcgroup.c825 struct list_head *l1, *l2; in compare_css_sets() local
842 l2 = &old_cset->cgrp_links; in compare_css_sets()
848 l2 = l2->next; in compare_css_sets()
851 BUG_ON(l2 != &old_cset->cgrp_links); in compare_css_sets()
854 BUG_ON(l2 == &old_cset->cgrp_links); in compare_css_sets()
858 link2 = list_entry(l2, struct cgrp_cset_link, cgrp_link); in compare_css_sets()