Lines Matching refs:__vcv
109 static int check_create(volatile __ARM_TPL_condvar_t *__vcv) in check_create() argument
111 if (__vcv->data == 0) in check_create()
120 if (!atomic_compare_exchange_strong(&__vcv->data, &cv_null, cv_new)) in check_create()
128 volatile __ARM_TPL_condvar_t *__vcv = __cv; in __ARM_TPL_condvar_wait() local
129 if (check_create(__vcv) != 0) in __ARM_TPL_condvar_wait()
132 ((arm_tpl_cv *) __vcv->data)->wait(tmutex->mutex, tmutex->type == RECURSIVE); in __ARM_TPL_condvar_wait()
140 volatile __ARM_TPL_condvar_t *__vcv = __cv; in __ARM_TPL_condvar_timedwait() local
141 if (check_create(__vcv) != 0) in __ARM_TPL_condvar_timedwait()
148 …if (((arm_tpl_cv *) __vcv->data)->timedwait(tmutex->mutex, tmutex->type == RECURSIVE, timeout_ms) … in __ARM_TPL_condvar_timedwait()
155 volatile __ARM_TPL_condvar_t *__vcv = __cv; in __ARM_TPL_condvar_signal() local
156 if (__vcv->data != 0) in __ARM_TPL_condvar_signal()
157 ((arm_tpl_cv *) __vcv->data)->signal(); in __ARM_TPL_condvar_signal()
163 volatile __ARM_TPL_condvar_t *__vcv = __cv; in __ARM_TPL_condvar_broadcast() local
164 if (__vcv->data != 0) in __ARM_TPL_condvar_broadcast()
165 ((arm_tpl_cv *) __vcv->data)->broadcast(); in __ARM_TPL_condvar_broadcast()
171 volatile __ARM_TPL_condvar_t *__vcv = __cv; in __ARM_TPL_condvar_destroy() local
172 if (__vcv->data != 0) in __ARM_TPL_condvar_destroy()
174 delete (arm_tpl_cv *) __vcv->data; in __ARM_TPL_condvar_destroy()
175 __vcv->data = 0; in __ARM_TPL_condvar_destroy()