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.h2703 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()
2708 spin_lock(l1); 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()
2717 spin_lock_irq(l1); 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/rcu/
Dsrcutree.c1712 unsigned long l0, l1; in srcu_torture_stats_print() local
1728 l1 = data_race(sdp->srcu_lock_count[idx]); in srcu_torture_stats_print()
1731 c1 = l1 - u1; in srcu_torture_stats_print()
/kernel/cgroup/
Dcgroup.c1013 struct list_head *l1, *l2; in compare_css_sets() local
1039 l1 = &cset->cgrp_links; in compare_css_sets()
1045 l1 = l1->next; in compare_css_sets()
1048 if (l1 == &cset->cgrp_links) { in compare_css_sets()
1055 link1 = list_entry(l1, struct cgrp_cset_link, cgrp_link); in compare_css_sets()