Searched refs:mtx_t (Results 1 – 12 of 12) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/c11/ |
D | threads.h | 109 } 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/ |
D | threads_posix.c | 115 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()
|
D | threads_win32.c | 54 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/ |
D | vk_instance.h | 109 mtx_t callbacks_mutex; 119 mtx_t callbacks_mutex; 168 mtx_t mutex;
|
D | vk_sync_timeline.h | 81 mtx_t mutex;
|
D | vk_queue.h | 91 mtx_t mutex;
|
D | vk_device.h | 260 mtx_t swapchain_private_mtx;
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_thread.h | 129 mtx_t mutex; 147 mtx_t mutex;
|
D | cnd_monotonic.h | 110 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()
|
D | u_queue.h | 126 mtx_t mutex; 207 mtx_t lock;
|
D | simple_mtx.h | 149 mtx_t mtx;
|
D | u_queue.c | 62 static mtx_t exit_mutex;
|