Home
last modified time | relevance | path

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

/kernel/
Dkcmp.c72 static void kcmp_unlock(struct mutex *m1, struct mutex *m2) in kcmp_unlock() argument
74 if (likely(m2 != m1)) in kcmp_unlock()
75 mutex_unlock(m2); in kcmp_unlock()
79 static int kcmp_lock(struct mutex *m1, struct mutex *m2) in kcmp_lock() argument
83 if (m2 > m1) in kcmp_lock()
84 swap(m1, m2); in kcmp_lock()
87 if (!err && likely(m1 != m2)) { in kcmp_lock()
88 err = mutex_lock_killable_nested(m2, SINGLE_DEPTH_NESTING); in kcmp_lock()