Home
last modified time | relevance | path

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

/system/core/include/utils/
DRWLock.h81 pthread_rwlock_t mRWLock; variable
85 pthread_rwlock_init(&mRWLock, NULL); in RWLock()
88 pthread_rwlock_init(&mRWLock, NULL); in RWLock()
95 pthread_rwlock_init(&mRWLock, &attr); in RWLock()
98 pthread_rwlock_init(&mRWLock, NULL); in RWLock()
102 pthread_rwlock_destroy(&mRWLock); in ~RWLock()
105 return -pthread_rwlock_rdlock(&mRWLock); in readLock()
108 return -pthread_rwlock_tryrdlock(&mRWLock); in tryReadLock()
111 return -pthread_rwlock_wrlock(&mRWLock); in writeLock()
114 return -pthread_rwlock_trywrlock(&mRWLock); in tryWriteLock()
[all …]
/system/netd/server/
DNetworkController.cpp145 android::RWLock::AutoRLock lock(mRWLock); in getDefaultNetwork()
150 android::RWLock::AutoWLock lock(mRWLock); in setDefaultNetwork()
187 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForDns()
226 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForUser()
248 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForConnect()
299 android::RWLock::AutoRLock lock(mRWLock); in getNetworkForInterface()
309 android::RWLock::AutoRLock lock(mRWLock); in isVirtualNetwork()
333 android::RWLock::AutoWLock lock(mRWLock); in createPhysicalNetwork()
349 android::RWLock::AutoWLock lock(mRWLock); in createVirtualNetwork()
369 android::RWLock::AutoWLock lock(mRWLock); in destroyNetwork()
[all …]
DNetworkController.h111 mutable android::RWLock mRWLock; variable