Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_ftn_entry.h1021 void FTN_STDCALL FTN_INIT_LOCK_WITH_HINT(void **user_lock, in FTN_INIT_LOCK_WITH_HINT() argument
1024 *((kmp_stub_lock_t *)user_lock) = UNLOCKED; in FTN_INIT_LOCK_WITH_HINT()
1030 __kmpc_init_lock_with_hint(NULL, gtid, user_lock, KMP_DEREF hint); in FTN_INIT_LOCK_WITH_HINT()
1034 void FTN_STDCALL FTN_INIT_NEST_LOCK_WITH_HINT(void **user_lock, in FTN_INIT_NEST_LOCK_WITH_HINT() argument
1037 *((kmp_stub_lock_t *)user_lock) = UNLOCKED; in FTN_INIT_NEST_LOCK_WITH_HINT()
1043 __kmpc_init_nest_lock_with_hint(NULL, gtid, user_lock, KMP_DEREF hint); in FTN_INIT_NEST_LOCK_WITH_HINT()
1049 void FTN_STDCALL KMP_EXPAND_NAME(FTN_INIT_LOCK)(void **user_lock) { in KMP_EXPAND_NAME()
1051 *((kmp_stub_lock_t *)user_lock) = UNLOCKED; in KMP_EXPAND_NAME()
1057 __kmpc_init_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()
1062 void FTN_STDCALL KMP_EXPAND_NAME(FTN_INIT_NEST_LOCK)(void **user_lock) { in KMP_EXPAND_NAME()
[all …]
Dkmp_csupport.cpp1281 __ompt_get_mutex_impl_type(void *user_lock, kmp_indirect_lock_t *ilock = 0) { in __ompt_get_mutex_impl_type() argument
1282 if (user_lock) { in __ompt_get_mutex_impl_type()
1283 switch (KMP_EXTRACT_D_TAG(user_lock)) { in __ompt_get_mutex_impl_type()
1299 ilock = KMP_LOOKUP_I_LOCK(user_lock); in __ompt_get_mutex_impl_type()
2179 void __kmpc_init_lock_with_hint(ident_t *loc, kmp_int32 gtid, void **user_lock, in __kmpc_init_lock_with_hint() argument
2182 if (__kmp_env_consistency_check && user_lock == NULL) { in __kmpc_init_lock_with_hint()
2186 __kmp_init_lock_with_hint(loc, user_lock, __kmp_map_hint_to_lock(hint)); in __kmpc_init_lock_with_hint()
2196 __ompt_get_mutex_impl_type(user_lock), in __kmpc_init_lock_with_hint()
2197 (ompt_wait_id_t)(uintptr_t)user_lock, codeptr); in __kmpc_init_lock_with_hint()
2204 void **user_lock, uintptr_t hint) { in __kmpc_init_nest_lock_with_hint() argument
[all …]
Dkmp_lock.cpp3031 kmp_indirect_lock_t *__kmp_allocate_indirect_lock(void **user_lock, in __kmp_allocate_indirect_lock() argument
3079 *((kmp_lock_index_t *)user_lock) = idx in __kmp_allocate_indirect_lock()
3082 *((kmp_indirect_lock_t **)user_lock) = lck; in __kmp_allocate_indirect_lock()
3090 __kmp_lookup_indirect_lock(void **user_lock, const char *func) { in __kmp_lookup_indirect_lock() argument
3093 if (user_lock == NULL) { in __kmp_lookup_indirect_lock()
3097 kmp_lock_index_t idx = KMP_EXTRACT_I_INDEX(user_lock); in __kmp_lookup_indirect_lock()
3103 lck = *((kmp_indirect_lock_t **)user_lock); in __kmp_lookup_indirect_lock()
3111 return KMP_GET_I_LOCK(KMP_EXTRACT_I_INDEX(user_lock)); in __kmp_lookup_indirect_lock()
3113 return *((kmp_indirect_lock_t **)user_lock); in __kmp_lookup_indirect_lock()
3746 kmp_user_lock_p __kmp_user_lock_allocate(void **user_lock, kmp_int32 gtid, in __kmp_user_lock_allocate() argument
[all …]
Dkmp.h3799 void **user_lock);
3801 void **user_lock);
3803 void **user_lock);
3805 void **user_lock);
3806 KMP_EXPORT void __kmpc_set_lock(ident_t *loc, kmp_int32 gtid, void **user_lock);
3808 void **user_lock);
3810 void **user_lock);
3812 void **user_lock);
3813 KMP_EXPORT int __kmpc_test_lock(ident_t *loc, kmp_int32 gtid, void **user_lock);
3815 void **user_lock);
[all …]
Dkmp_lock.h972 extern kmp_user_lock_p __kmp_user_lock_allocate(void **user_lock,
975 extern void __kmp_user_lock_free(void **user_lock, kmp_int32 gtid,
977 extern kmp_user_lock_p __kmp_lookup_user_lock(void **user_lock,
/external/libchrome/base/synchronization/
Dcondition_variable_posix.cc19 ConditionVariable::ConditionVariable(Lock* user_lock) in ConditionVariable() argument
20 : user_mutex_(user_lock->lock_.native_handle()) in ConditionVariable()
22 , user_lock_(user_lock) in ConditionVariable()
Dcondition_variable.h89 explicit ConditionVariable(Lock* user_lock);