Searched refs:l1 (Results 1 – 5 of 5) sorted by relevance
/kernel/ |
D | kcmp.c | 78 static void kcmp_unlock(struct rw_semaphore *l1, struct rw_semaphore *l2) in kcmp_unlock() argument 80 if (likely(l2 != l1)) in kcmp_unlock() 82 up_read(l1); in kcmp_unlock() 85 static int kcmp_lock(struct rw_semaphore *l1, struct rw_semaphore *l2) in kcmp_lock() argument 89 if (l2 > l1) in kcmp_lock() 90 swap(l1, l2); in kcmp_lock() 92 err = down_read_killable(l1); in kcmp_lock() 93 if (!err && likely(l1 != l2)) { in kcmp_lock() 96 up_read(l1); in kcmp_lock()
|
D | compat.c | 206 compat_ulong_t l1, l2; in compat_get_bitmap() local 207 unsafe_get_user(l1, 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 | 2211 static inline void double_lock(spinlock_t *l1, spinlock_t *l2) in double_lock() argument 2213 if (l1 > l2) in double_lock() 2214 swap(l1, l2); in double_lock() 2216 spin_lock(l1); in double_lock() 2220 static inline void double_lock_irq(spinlock_t *l1, spinlock_t *l2) in double_lock_irq() argument 2222 if (l1 > l2) in double_lock_irq() 2223 swap(l1, l2); in double_lock_irq() 2225 spin_lock_irq(l1); in double_lock_irq() 2229 static inline void double_raw_lock(raw_spinlock_t *l1, raw_spinlock_t *l2) in double_raw_lock() argument 2231 if (l1 > l2) in double_raw_lock() [all …]
|
/kernel/rcu/ |
D | srcutree.c | 1335 unsigned long l0, l1; in srcu_torture_stats_print() local 1351 l1 = data_race(sdp->srcu_lock_count[idx]); in srcu_torture_stats_print() 1354 c1 = l1 - u1; in srcu_torture_stats_print()
|
/kernel/cgroup/ |
D | cgroup.c | 1002 struct list_head *l1, *l2; in compare_css_sets() local 1028 l1 = &cset->cgrp_links; in compare_css_sets() 1034 l1 = l1->next; in compare_css_sets() 1037 if (l1 == &cset->cgrp_links) { in compare_css_sets() 1044 link1 = list_entry(l1, struct cgrp_cset_link, cgrp_link); in compare_css_sets()
|