Searched refs:mutex_locked (Results 1 – 2 of 2) sorted by relevance
1933 bool mutex_locked = false; in ucsi_con_mutex_lock() local1936 while (connected && !mutex_locked) { in ucsi_con_mutex_lock()1937 mutex_locked = mutex_trylock(&con->lock) != 0; in ucsi_con_mutex_lock()1939 if (connected && !mutex_locked) in ucsi_con_mutex_lock()1944 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()