Home
last modified time | relevance | path

Searched defs:mutex (Results 1 – 25 of 64) sorted by relevance

123

/base/security/huks/utils/mutex/
Dhks_mutex.c25 pthread_mutex_t mutex; member
30 HksMutex *mutex = (HksMutex *)HksMalloc(sizeof(HksMutex)); in HksMutexCreate() local
41 int32_t HksMutexLock(HksMutex *mutex) in HksMutexLock()
48 int32_t HksMutexUnlock(HksMutex *mutex) in HksMutexUnlock()
55 void HksMutexClose(HksMutex *mutex) in HksMutexClose()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/
Dhc_mutex.c24 static int HcMutexLock(HcMutex *mutex) in HcMutexLock()
36 static void HcMutexUnlock(HcMutex *mutex) in HcMutexUnlock()
47 int32_t InitHcMutex(struct HcMutexT *mutex) in InitHcMutex()
62 void DestroyHcMutex(struct HcMutexT *mutex) in DestroyHcMutex()
/base/security/device_security_level/baselib/utils/include/
Dutils_mutex.h41 pthread_mutex_t mutex; member
44 inline static void InitMutex(Mutex *mutex) in InitMutex()
49 inline static void InitRecursiveMutex(Mutex *mutex) in InitRecursiveMutex()
57 inline static void LockMutex(Mutex *mutex) in LockMutex()
65 inline static void UnlockMutex(Mutex *mutex) in UnlockMutex()
/base/account/os_account/frameworks/domain_account/test/moduletest/include/
Dmock_domain_has_domain_info_callback.h38 std::mutex mutex; variable
57 std::mutex mutex; variable
Dmock_domain_get_access_token_callback.h37 std::mutex mutex; variable
Dmock_domain_auth_callback.h38 std::mutex mutex; variable
Dmock_domain_auth_callback_for_listener.h40 std::mutex mutex; variable
Dmock_domain_create_domain_account_callback.h42 std::mutex mutex; variable
/base/startup/init/services/param/linux/
Dparam_osadp.c64 INIT_LOCAL_API int ParamMutexCreate(ParamMutex *mutex) in ParamMutexCreate()
68 INIT_LOCAL_API int ParamMutexPend(ParamMutex *mutex) in ParamMutexPend()
72 INIT_LOCAL_API int ParamMutexPost(ParamMutex *mutex) in ParamMutexPost()
76 INIT_LOCAL_API int ParamMutexDelete(ParamMutex *mutex) in ParamMutexDelete()
/base/account/os_account/frameworks/account_iam/test/unittest/include/
Daccount_iam_client_test_callback.h55 std::mutex mutex; variable
79 std::mutex mutex; variable
103 std::mutex mutex; variable
127 std::mutex mutex; variable
/base/startup/init/services/param/liteos/
Dparam_osadp.c183 INIT_LOCAL_API int ParamMutexCreate(ParamMutex *mutex) in ParamMutexCreate()
192 INIT_LOCAL_API int ParamMutexPend(ParamMutex *mutex) in ParamMutexPend()
201 INIT_LOCAL_API int ParamMutexPost(ParamMutex *mutex) in ParamMutexPost()
208 INIT_LOCAL_API int ParamMutexDelete(ParamMutex *mutex) in ParamMutexDelete()
293 INIT_LOCAL_API int ParamMutexCreate(ParamMutex *mutex) in ParamMutexCreate()
301 INIT_LOCAL_API int ParamMutexPend(ParamMutex *mutex) in ParamMutexPend()
309 INIT_LOCAL_API int ParamMutexPost(ParamMutex *mutex) in ParamMutexPost()
317 INIT_LOCAL_API int ParamMutexDelete(ParamMutex *mutex) in ParamMutexDelete()
/base/startup/init/services/loopevent/timer/
Dle_timer.h35 LoopMutex mutex; member
37 uint8_t mutex; member
/base/account/os_account/services/accountmgr/test/unittest/domain_account/mock/
Dmock_domain_account_callback_stub.h36 std::mutex mutex; variable
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
Dhc_condition.c24 int Wait(pthread_cond_t* cond, HcMutex* mutex) in Wait()
121 int32_t InitHcCond(HcCondition* hcCond, HcMutex* mutex) in InitHcCond()
/base/startup/init/services/loopevent/loop/
Dle_loop.h42 LoopMutex mutex; member
44 char mutex; member
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dhap_manager.cpp55 AutoMutex mutex(this->lock_); in GetPluralRulesAndSelect() local
186 AutoMutex mutex(this->lock_); in UpdateResConfig() local
198 AutoMutex mutex(this->lock_); in GetResConfig() local
204 AutoMutex mutex(this->lock_); in AddResource() local
/base/security/device_auth/deps_adapter/os_adapter/interfaces/
Dhc_mutex.h29 pthread_mutex_t mutex; member
/base/global/resource_management/frameworks/resmgr/src/
Dhap_manager.cpp106 AutoMutex mutex(this->lock_); in GetPluralRulesAndSelect() local
178 AutoMutex mutex(this->lock_); in FindQualifierValueByName() local
189 AutoMutex mutex(this->lock_); in FindQualifierValueById() local
342 AutoMutex mutex(this->lock_); in UpdateResConfig() local
349 AutoMutex mutex(this->lock_); in UpdateOverrideResConfig() local
356 AutoMutex mutex(this->lock_); in GetResConfig() local
362 AutoMutex mutex(this->lock_); in GetOverrideResConfig() local
368 AutoMutex mutex(this->lock_); in AddResource() local
374 AutoMutex mutex(this->lock_); in AddResource() local
770 AutoMutex mutex(g_rawFileLock); in FindRawFileDescriptorFromHap() local
[all …]
Draw_file_manager.cpp144 AutoMutex mutex(g_rawDirLock); in OH_ResourceManager_OpenRawDir() local
213 AutoMutex mutex(g_rawFileLock); in OH_ResourceManager_OpenRawFile() local
261 AutoMutex mutex(g_rawDirLock); in OH_ResourceManager_CloseRawDir() local
342 AutoMutex mutex(g_rawFileLock); in OH_ResourceManager_CloseRawFile() local
469 AutoMutex mutex(g_rawFile64Lock); in OH_ResourceManager_OpenRawFile64() local
568 AutoMutex mutex(g_rawFile64Lock); in OH_ResourceManager_CloseRawFile64() local
/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/
Dlib.rs42 let mutex = TRACE_MUTEX.lock().unwrap(); in get_trace() localVariable
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/
Dhc_condition.c45 int32_t InitHcCond(HcCondition* hcCond, HcMutex* mutex) in InitHcCond()
/base/hiviewdfx/hiview_lite/
Dhiview_util.c85 int32 HIVIEW_MutexLock(HiviewMutexId_t mutex) in HIVIEW_MutexLock()
93 int32 HIVIEW_MutexLockOrWait(HiviewMutexId_t mutex, uint32 timeout) in HIVIEW_MutexLockOrWait()
101 int32 HIVIEW_MutexUnlock(HiviewMutexId_t mutex) in HIVIEW_MutexUnlock()
/base/security/device_security_level/services/sa/lite/small/
Ddslm_ipc_process.h36 Mutex *mutex; member
/base/startup/init/services/modules/bootchart/
Dbootchart.h26 pthread_mutex_t mutex; member
/base/startup/init/interfaces/innerkits/include/param/
Dsys_param.h68 uint32_t mutex; member
72 uint32_t mutex; member
83 pthread_mutex_t mutex; member

123