Home
last modified time | relevance | path

Searched refs:l1 (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dkcmp.c73 static void kcmp_unlock(struct rw_semaphore *l1, struct rw_semaphore *l2) in kcmp_unlock() argument
75 if (likely(l2 != l1)) in kcmp_unlock()
77 up_read(l1); 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()
87 err = down_read_killable(l1); in kcmp_lock()
88 if (!err && likely(l1 != l2)) { in kcmp_lock()
91 up_read(l1); in kcmp_lock()
Dcompat.c206 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/
Dsched.h2670 static inline void double_lock(spinlock_t *l1, spinlock_t *l2) in double_lock() argument
2672 if (l1 > l2) in double_lock()
2673 swap(l1, l2); in double_lock()
2675 spin_lock(l1); in double_lock()
2679 static inline void double_lock_irq(spinlock_t *l1, spinlock_t *l2) in double_lock_irq() argument
2681 if (l1 > l2) in double_lock_irq()
2682 swap(l1, l2); in double_lock_irq()
2684 spin_lock_irq(l1); in double_lock_irq()
2688 static inline void double_raw_lock(raw_spinlock_t *l1, raw_spinlock_t *l2) in double_raw_lock() argument
2690 if (l1 > l2) in double_raw_lock()
[all …]
/kernel/rcu/
Dsrcutree.c1350 unsigned long l0, l1; in srcu_torture_stats_print() local
1366 l1 = data_race(sdp->srcu_lock_count[idx]); in srcu_torture_stats_print()
1369 c1 = l1 - u1; in srcu_torture_stats_print()
/kernel/cgroup/
Dcgroup.c1012 struct list_head *l1, *l2; in compare_css_sets() local
1038 l1 = &cset->cgrp_links; in compare_css_sets()
1044 l1 = l1->next; in compare_css_sets()
1047 if (l1 == &cset->cgrp_links) { in compare_css_sets()
1054 link1 = list_entry(l1, struct cgrp_cset_link, cgrp_link); in compare_css_sets()