Searched refs:mRoleSwitchLock (Results 1 – 16 of 16) sorted by relevance
369 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()404 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()442 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()743 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()755 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
76 pthread_mutex_t mRoleSwitchLock; member
537 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()595 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()638 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()1093 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()1105 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
85 pthread_mutex_t mRoleSwitchLock; member
533 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()586 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()629 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()1074 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()1086 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
81 pthread_mutex_t mRoleSwitchLock; member
521 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()595 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()638 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()1252 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()1264 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
117 pthread_mutex_t mRoleSwitchLock; member
584 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()665 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()708 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()1342 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()1354 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
120 pthread_mutex_t mRoleSwitchLock; member