Home
last modified time | relevance | path

Searched refs:condvar (Results 1 – 8 of 8) sorted by relevance

/optee_os/core/include/kernel/
A Dmutex.h79 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,
99 void condvar_signal(struct condvar *cv);
100 void condvar_broadcast(struct condvar *cv);
101 void condvar_wait(struct condvar *cv, struct mutex *m);
A Dwait_queue.h16 struct condvar;
21 struct condvar *cv;
39 struct condvar *cv, bool wait_read);
58 void wq_promote_condvar(struct wait_queue *wq, struct condvar *cv,
61 bool wq_have_condvar(struct wait_queue *wq, struct condvar *cv);
A Dtee_ta_manager.h76 struct condvar busy_cv; /* CV used when context is busy */
90 struct condvar refc_cv; /* CV used to wait for ref_count to be 0 */
91 struct condvar lock_cv; /* CV used to wait for lock */
100 extern struct condvar tee_ta_init_cv;
/optee_os/core/kernel/
A Dmutex.c345 void condvar_init(struct condvar *cv) in condvar_init()
347 *cv = (struct condvar)CONDVAR_INITIALIZER; in condvar_init()
350 void condvar_destroy(struct condvar *cv) in condvar_destroy()
358 static void cv_signal(struct condvar *cv, bool only_one, const char *fname, in cv_signal()
374 void condvar_signal_debug(struct condvar *cv, const char *fname, int lineno) in condvar_signal_debug()
379 void condvar_broadcast_debug(struct condvar *cv, const char *fname, int lineno) in condvar_broadcast_debug()
385 void condvar_signal(struct condvar *cv) in condvar_signal()
390 void condvar_broadcast(struct condvar *cv) in condvar_broadcast()
396 static void __condvar_wait(struct condvar *cv, struct mutex *m, in __condvar_wait()
446 void condvar_wait_debug(struct condvar *cv, struct mutex *m, in condvar_wait_debug()
[all …]
A Dwait_queue.c58 struct condvar *cv, bool wait_read) in wq_wait_init_condvar()
144 void wq_promote_condvar(struct wait_queue *wq, struct condvar *cv, in wq_promote_condvar()
180 bool wq_have_condvar(struct wait_queue *wq, struct condvar *cv) in wq_have_condvar()
A Dtee_ta_manager.c41 struct condvar tee_ta_init_cv = CONDVAR_INITIALIZER;
45 static struct condvar tee_ta_cv = CONDVAR_INITIALIZER;
/optee_os/core/arch/arm/mm/
A Dmobj_dyn_shm.c27 static struct condvar shm_cv = CONDVAR_INITIALIZER;
A Dpgt_cache.c62 static struct condvar pgt_cv = CONDVAR_INITIALIZER;

Completed in 14 milliseconds