Searched refs:l2 (Results 1 – 4 of 4) sorted by relevance
/kernel/ |
D | kcmp.c | 73 static void kcmp_unlock(struct rw_semaphore *l1, struct rw_semaphore *l2) in kcmp_unlock() argument 75 if (likely(l2 != l1)) in kcmp_unlock() 76 up_read(l2); in kcmp_unlock() 80 static int kcmp_lock(struct rw_semaphore *l1, struct rw_semaphore *l2) in kcmp_lock() argument 84 if (l2 > l1) in kcmp_lock() 85 swap(l1, l2); in kcmp_lock() 88 if (!err && likely(l1 != l2)) { in kcmp_lock() 89 err = down_read_killable_nested(l2, SINGLE_DEPTH_NESTING); in kcmp_lock()
|
D | compat.c | 206 compat_ulong_t l1, l2; in compat_get_bitmap() local 208 unsafe_get_user(l2, umask++, Efault); in compat_get_bitmap() 209 *mask++ = ((unsigned long)l2 << BITS_PER_COMPAT_LONG) | l1; in compat_get_bitmap()
|
/kernel/sched/ |
D | sched.h | 2703 static inline void double_lock(spinlock_t *l1, spinlock_t *l2) in double_lock() argument 2705 if (l1 > l2) in double_lock() 2706 swap(l1, l2); in double_lock() 2709 spin_lock_nested(l2, SINGLE_DEPTH_NESTING); in double_lock() 2712 static inline void double_lock_irq(spinlock_t *l1, spinlock_t *l2) in double_lock_irq() argument 2714 if (l1 > l2) in double_lock_irq() 2715 swap(l1, l2); in double_lock_irq() 2718 spin_lock_nested(l2, SINGLE_DEPTH_NESTING); in double_lock_irq() 2721 static inline void double_raw_lock(raw_spinlock_t *l1, raw_spinlock_t *l2) in double_raw_lock() argument 2723 if (l1 > l2) in double_raw_lock() [all …]
|
/kernel/cgroup/ |
D | cgroup.c | 1013 struct list_head *l1, *l2; in compare_css_sets() local 1040 l2 = &old_cset->cgrp_links; in compare_css_sets() 1046 l2 = l2->next; in compare_css_sets() 1049 BUG_ON(l2 != &old_cset->cgrp_links); in compare_css_sets() 1052 BUG_ON(l2 == &old_cset->cgrp_links); in compare_css_sets() 1056 link2 = list_entry(l2, struct cgrp_cset_link, cgrp_link); in compare_css_sets()
|