Searched refs:mutex_locked (Results 1 – 2 of 2) sorted by relevance
2022 bool mutex_locked = false; in ucsi_con_mutex_lock() local2025 while (connected && !mutex_locked) { in ucsi_con_mutex_lock()2026 mutex_locked = mutex_trylock(&con->lock) != 0; in ucsi_con_mutex_lock()2028 if (connected && !mutex_locked) in ucsi_con_mutex_lock()2033 if (!connected && mutex_locked) in ucsi_con_mutex_lock()
171 int mutex_locked; in s5p_mfc_watchdog_worker() local181 mutex_locked = mutex_trylock(&dev->mfc_mutex); in s5p_mfc_watchdog_worker()182 if (!mutex_locked) in s5p_mfc_watchdog_worker()221 if (mutex_locked) in s5p_mfc_watchdog_worker()