Home
last modified time | relevance | path

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

12

/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()
Dutils_state_machine.h46 Mutex mutex; member
/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/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/account/os_account/frameworks/domain_account/test/moduletest/include/
Dmock_domain_create_domain_account_callback.h42 std::mutex mutex; variable
Dmock_domain_auth_callback_for_listener.h40 std::mutex mutex; variable
/base/startup/init/services/loopevent/loop/
Dle_loop.h41 LoopMutex mutex; member
43 char mutex; member
/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/security/device_auth/deps_adapter/os_adapter/interfaces/
Dhc_mutex.h29 pthread_mutex_t 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/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/global/resource_management/frameworks/resmgr/src/
Dhap_manager.cpp100 AutoMutex mutex(this->lock_); in GetPluralRulesAndSelect() local
170 AutoMutex mutex(this->lock_); in FindQualifierValueByName() local
180 AutoMutex mutex(this->lock_); in FindQualifierValueById() local
287 AutoMutex mutex(this->lock_); in UpdateResConfig() local
295 AutoMutex mutex(this->lock_); in GetResConfig() local
301 AutoMutex mutex(this->lock_); in AddResource() local
307 AutoMutex mutex(this->lock_); in AddResource() local
837 AutoMutex mutex(this->lock_); in RemoveResource() local
890 AutoMutex mutex(this->lock_); in AddSystemResource() local
910 AutoMutex mutex(this->lock_); in GetResourceLimitKeys() local
/base/security/device_security_level/services/sa/lite/
Ddslm_ipc_process.h36 Mutex *mutex; member
/base/hiviewdfx/hiview_lite/
Dhiview_util.c89 int32 HIVIEW_MutexLock(HiviewMutexId_t mutex) in HIVIEW_MutexLock()
97 int32 HIVIEW_MutexLockOrWait(HiviewMutexId_t mutex, uint32 timeout) in HIVIEW_MutexLockOrWait()
105 int32 HIVIEW_MutexUnlock(HiviewMutexId_t mutex) in HIVIEW_MutexUnlock()
/base/security/huks/utils/condition/
Dhks_condition.c28 pthread_mutex_t mutex; member
/base/startup/init/services/modules/bootchart/
Dbootchart.h26 pthread_mutex_t mutex; member
/base/security/device_auth/deps_adapter/os_adapter/interfaces/linux/
Dhc_condition.h31 HcMutex* mutex; member
/base/security/device_security_level/services/dslm/
Ddslm_device_list.c37 static Mutex mutex = INITED_MUTEX; in GetDeviceListMutex() local
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
Dhks_condition_test.cpp31 pthread_mutex_t mutex; member
/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/
Dbacktrace_local_thread.cpp85 static std::mutex mutex; in Unwind() local
/base/security/device_security_level/interfaces/inner_api/src/lite/
Ddevice_security_info.c34 static Mutex mutex = INITED_MUTEX; in GetMutex() local
/base/useriam/user_auth_framework/services/ipc/src/
Dco_auth_service.cpp54 static std::mutex mutex; in OnStart() local

12