Searched refs:condvar (Results 1 – 8 of 8) sorted by relevance
| /optee_os/core/include/kernel/ |
| H A D | mutex.h | 79 struct condvar { struct 85 void condvar_init(struct condvar *cv); argument 86 void condvar_destroy(struct condvar *cv); 89 void condvar_signal_debug(struct condvar *cv, const char *fname, int lineno); 92 void condvar_broadcast_debug(struct condvar *cv, const char *fname, int lineno); 95 void condvar_wait_debug(struct condvar *cv, struct mutex *m, 103 TEE_Result condvar_wait_timeout_debug(struct condvar *cv, struct mutex *m, 109 void condvar_signal(struct condvar *cv); 110 void condvar_broadcast(struct condvar *cv); 111 void condvar_wait(struct condvar *cv, struct mutex *m); [all …]
|
| H A D | wait_queue.h | 17 struct condvar; 22 struct condvar *cv; 40 struct condvar *cv, bool wait_read); 60 void wq_promote_condvar(struct wait_queue *wq, struct condvar *cv, 63 bool wq_have_condvar(struct wait_queue *wq, struct condvar *cv);
|
| H A D | tee_ta_manager.h | 78 struct condvar busy_cv; /* CV used when context is busy */ 92 struct condvar refc_cv; /* CV used to wait for ref_count to be 0 */ 93 struct condvar lock_cv; /* CV used to wait for lock */ 102 extern struct condvar tee_ta_init_cv;
|
| /optee_os/core/kernel/ |
| H A D | mutex.c | 379 void condvar_init(struct condvar *cv) in condvar_init() 381 *cv = (struct condvar)CONDVAR_INITIALIZER; in condvar_init() 384 void condvar_destroy(struct condvar *cv) in condvar_destroy() 392 static void cv_signal(struct condvar *cv, bool only_one, const char *fname, in cv_signal() 408 void condvar_signal_debug(struct condvar *cv, const char *fname, int lineno) in condvar_signal_debug() 413 void condvar_broadcast_debug(struct condvar *cv, const char *fname, int lineno) in condvar_broadcast_debug() 419 void condvar_signal(struct condvar *cv) in condvar_signal() 424 void condvar_broadcast(struct condvar *cv) in condvar_broadcast() 430 static TEE_Result __condvar_wait_timeout(struct condvar *cv, struct mutex *m, in __condvar_wait_timeout() 484 void condvar_wait_debug(struct condvar *cv, struct mutex *m, in condvar_wait_debug() [all …]
|
| H A D | wait_queue.c | 62 struct condvar *cv, bool wait_read) in wq_wait_init_condvar() 157 void wq_promote_condvar(struct wait_queue *wq, struct condvar *cv, in wq_promote_condvar() 193 bool wq_have_condvar(struct wait_queue *wq, struct condvar *cv) in wq_have_condvar()
|
| H A D | tee_ta_manager.c | 51 /* This condvar is used when waiting for a TA context to become initialized */ 52 struct condvar tee_ta_init_cv = CONDVAR_INITIALIZER; 56 static struct condvar tee_ta_cv = CONDVAR_INITIALIZER;
|
| /optee_os/core/mm/ |
| H A D | mobj_dyn_shm.c | 25 static struct condvar shm_cv = CONDVAR_INITIALIZER;
|
| H A D | pgt_cache.c | 363 static struct condvar pgt_cv = CONDVAR_INITIALIZER;
|