Home
last modified time | relevance | path

Searched refs:mtx_t (Results 1 – 12 of 12) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/c11/
Dthreads.h109 } mtx_t; /* Mock of CRITICAL_SECTION */ typedef
120 typedef pthread_mutex_t mtx_t; typedef
156 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict __mtx,
158 int cnd_wait(cnd_t *, mtx_t *__mtx);
159 void mtx_destroy(mtx_t *__mtx);
160 int mtx_init(mtx_t *__mtx, int);
161 int mtx_lock(mtx_t *__mtx);
162 int mtx_timedlock(mtx_t *__restrict __mtx,
164 int mtx_trylock(mtx_t *__mtx);
165 int mtx_unlock(mtx_t *__mtx);
/hardware/google/gfxstream/guest/mesa/src/c11/impl/
Dthreads_posix.c115 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait()
131 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
142 mtx_destroy(mtx_t *mtx) in mtx_destroy()
176 mtx_init(mtx_t *mtx, int type) in mtx_init()
199 mtx_lock(mtx_t *mtx) in mtx_lock()
222 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) in mtx_timedlock()
252 mtx_trylock(mtx_t *mtx) in mtx_trylock()
260 mtx_unlock(mtx_t *mtx) in mtx_unlock()
Dthreads_win32.c54 static_assert(sizeof(mtx_t) == sizeof(CRITICAL_SECTION), "The size of mtx_t must equal to CRITICAL_…
195 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait()
208 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
220 mtx_destroy(mtx_t *mtx) in mtx_destroy()
228 mtx_init(mtx_t *mtx, int type) in mtx_init()
241 mtx_lock(mtx_t *mtx) in mtx_lock()
250 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) in mtx_timedlock()
265 mtx_trylock(mtx_t *mtx) in mtx_trylock()
273 mtx_unlock(mtx_t *mtx) in mtx_unlock()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_instance.h109 mtx_t callbacks_mutex;
119 mtx_t callbacks_mutex;
168 mtx_t mutex;
Dvk_sync_timeline.h81 mtx_t mutex;
Dvk_queue.h91 mtx_t mutex;
Dvk_device.h260 mtx_t swapchain_private_mtx;
/hardware/google/gfxstream/guest/mesa/src/util/
Du_thread.h129 mtx_t mutex;
147 mtx_t mutex;
Dcnd_monotonic.h110 u_cnd_monotonic_timedwait(struct u_cnd_monotonic *cond, mtx_t *mtx, const struct timespec *abs_time) in u_cnd_monotonic_timedwait()
132 u_cnd_monotonic_wait(struct u_cnd_monotonic *cond, mtx_t *mtx) in u_cnd_monotonic_wait()
Du_queue.h126 mtx_t mutex;
207 mtx_t lock;
Dsimple_mtx.h149 mtx_t mtx;
Du_queue.c62 static mtx_t exit_mutex;