Home
last modified time | relevance | path

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

/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_status.c282 static int32_t LoadTreeStatus(struct RbTree *tree, pthread_rwlock_t *treeLock, uint8_t *buf, uint32… in LoadTreeStatus() argument
312 pthread_rwlock_wrlock(treeLock); in LoadTreeStatus()
314 pthread_rwlock_unlock(treeLock); in LoadTreeStatus()
338 pthread_rwlock_t *treeLock = &g_treeLocks[storeIndex]; in LoadStatus() local
349 rc = LoadTreeStatus(tree, treeLock, buf, sz); in LoadStatus()
407 pthread_rwlock_t *treeLock = &g_treeLocks[storeIndex]; in WriteStatus() local
413 pthread_rwlock_rdlock(treeLock); in WriteStatus()
415 pthread_rwlock_unlock(treeLock); in WriteStatus()
459 pthread_rwlock_t *treeLock = &g_treeLocks[storeIndex]; in DestroyTree() local
461 pthread_rwlock_wrlock(treeLock); in DestroyTree()
[all …]