Home
last modified time | relevance | path

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

/kernel/
Dkcmp.c78 static void kcmp_unlock(struct mutex *m1, struct mutex *m2) in kcmp_unlock() argument
80 if (likely(m2 != m1)) in kcmp_unlock()
81 mutex_unlock(m2); in kcmp_unlock()
85 static int kcmp_lock(struct mutex *m1, struct mutex *m2) in kcmp_lock() argument
89 if (m2 > m1) in kcmp_lock()
90 swap(m1, m2); in kcmp_lock()
93 if (!err && likely(m1 != m2)) { in kcmp_lock()
94 err = mutex_lock_killable_nested(m2, SINGLE_DEPTH_NESTING); in kcmp_lock()