Searched refs:bcacheMutex (Results 1 – 2 of 2) sorted by relevance
607 (VOID)pthread_mutex_lock(&bc->bcacheMutex); in BcacheSync()618 (VOID)pthread_mutex_unlock(&bc->bcacheMutex); in BcacheSync()816 if (pthread_mutex_init(&bc->bcacheMutex, NULL) != ENOERR) { in BlockCacheDrvCreate()819 bc->bcacheMutex.attr.type = PTHREAD_MUTEX_RECURSIVE; in BlockCacheDrvCreate()853 (VOID)pthread_mutex_lock(&bc->bcacheMutex); in BlockCacheRead()858 (VOID)pthread_mutex_unlock(&bc->bcacheMutex); in BlockCacheRead()865 (VOID)pthread_mutex_unlock(&bc->bcacheMutex); in BlockCacheRead()871 (VOID)pthread_mutex_unlock(&bc->bcacheMutex); in BlockCacheRead()877 (VOID)pthread_mutex_unlock(&bc->bcacheMutex); in BlockCacheRead()881 (VOID)pthread_mutex_unlock(&bc->bcacheMutex); in BlockCacheRead()[all …]
111 pthread_mutex_t bcacheMutex; /* mutex for bcache */ member