Searched refs:mRoleSwitchLock (Results 1 – 8 of 8) sorted by relevance
191 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()227 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()266 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()567 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()579 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
54 pthread_mutex_t mRoleSwitchLock; member
217 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()253 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()292 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()594 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()606 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
193 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()229 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()268 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()571 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()583 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
279 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()312 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()349 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()638 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()653 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
63 pthread_mutex_t mRoleSwitchLock; member