Home
last modified time | relevance | path

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

/kernel/liteos_a/fs/vfs/bcache/src/
Dbcache.c607 (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 …]
/kernel/liteos_a/fs/vfs/include/bcache/
Dbcache.h111 pthread_mutex_t bcacheMutex; /* mutex for bcache */ member