Home
last modified time | relevance | path

Searched refs:mtx_init (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dmtx_init.c31 ret = mtx_init(&g_mtx, mtx_plain); in mtx_init_0100()
43 ret = mtx_init(&g_mtx, mtx_timed); in mtx_init_0200()
55 ret = mtx_init(&g_mtx, mtx_plain | mtx_recursive); in mtx_init_0300()
67 ret = mtx_init(&g_mtx, mtx_timed | mtx_recursive); in mtx_init_0400()
Dmtx_lock.c81 int result = mtx_init(&g_mtex, mtx_plain); in mtx_lock_0100()
106 int result = mtx_init(&g_mtex, mtx_timed); in mtx_lock_0200()
131 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_lock_0300()
156 int result= mtx_init(&g_mtex, mtx_timed | mtx_recursive); in mtx_lock_0400()
182 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_lock_0500()
Dmtx_timedlock.c37 ret = mtx_init(&mutex, mtx_timed); in mtx_timedlock_0100()
64 ret = mtx_init(&mutex, mtx_timed); in mtx_timedlock_0200()
96 ret = mtx_init(&mutex, mtx_timed); in mtx_timedlock_time64_0100()
Dmtx_trylock.c52 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_trylock_0100()
77 int result = mtx_init(&g_mtex, mtx_plain); in mtx_trylock_0200()
Dcnd_timedwait.c53 if (mtx_init(&mutex, mtx_plain) != thrd_success) { in cnd_timedwait_0100()
97 if (mtx_init(&mutex, mtx_plain) != thrd_success) { in cnd_timedwait_time64_0100()
Dmtx_unlock.c39 int result = mtx_init(&g_mtx, mtx_plain); in mtx_unlock_0100()
Dcnd_wait.c41 mtx_init(&mtx, 0); in cnd_wait_0100()
Dcnd_signal.c42 mtx_init(&mtx, 0); in cnd_signal_0100()
Dcnd_broadcast.c50 if (mtx_init(&mutex, mtx_plain) != thrd_success) { in cnd_broadcast_0100()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.c867 (void) mtx_init(&ws->hyperz_owner_mutex, mtx_plain); in radeon_drm_winsys_create()
868 (void) mtx_init(&ws->cmask_owner_mutex, mtx_plain); in radeon_drm_winsys_create()
873 (void) mtx_init(&ws->bo_handles_mutex, mtx_plain); in radeon_drm_winsys_create()
874 (void) mtx_init(&ws->vm32.mutex, mtx_plain); in radeon_drm_winsys_create()
875 (void) mtx_init(&ws->vm64.mutex, mtx_plain); in radeon_drm_winsys_create()
876 (void) mtx_init(&ws->bo_fence_lock, mtx_plain); in radeon_drm_winsys_create()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_queue.c244 (void) mtx_init(&ctx->mutex_pop, mtx_plain); in nine_queue_create()
247 (void) mtx_init(&ctx->mutex_push, mtx_plain); in nine_queue_create()
/third_party/musl/src/thread/
Dmtx_init.c4 int mtx_init(mtx_t *m, int type) in mtx_init() function
/third_party/FreeBSD/sys/dev/random/
Dyarrow.h33 #define RANDOM_RESEED_INIT_LOCK(x) mtx_init(&yarrow_state.ys_mtx, "reseed mutex", NULL, MTX_DEF)
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_screen.c1089 (void) mtx_init(&screen->ctx_mutex, mtx_plain); in llvmpipe_create_screen()
1090 (void) mtx_init(&screen->cs_mutex, mtx_plain); in llvmpipe_create_screen()
1091 (void) mtx_init(&screen->rast_mutex, mtx_plain); in llvmpipe_create_screen()
1093 (void) mtx_init(&screen->late_mutex, mtx_plain); in llvmpipe_create_screen()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_inpcb.h253 mtx_init(&(inp)->inp_mtx, (d), (t), MTX_DEF | MTX_RECURSE | MTX_DUPOK)
261 mtx_init(&(ipi)->ipi_mtx, (d), NULL, MTX_DEF | MTX_RECURSE)
Duser_route.h98 #define RT_LOCK_INIT(_rt) mtx_init(&(_rt)->rt_mtx, "rtentry", NULL, MTX_DEF | MTX_DUPOK)
/third_party/mesa3d/src/vulkan/runtime/
Dvk_instance.c167 if (mtx_init(&instance->debug_report.callbacks_mutex, mtx_plain) != 0) in vk_instance_init()
172 if (mtx_init(&instance->debug_utils.callbacks_mutex, mtx_plain) != 0) { in vk_instance_init()
/third_party/mesa3d/src/gallium/auxiliary/os/
Dos_thread.h80 (void) mtx_init(&sema->mutex, mtx_plain); in pipe_semaphore_init()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_assembler.c38 mtx_init(&shader->variants_lock, mtx_plain); in ir3_parse_asm()
/third_party/musl/include/
Dthreads.h60 int mtx_init(mtx_t *, int);
/third_party/FreeBSD/sys/sys/
Dmutex.h57 mtx_init(pthread_mutex_t *mtx, const char *name, const char *type, int opts) in mtx_init() function
/third_party/musl/ndk_musl_include/
Dthreads.h60 int mtx_init(mtx_t *, int);
/third_party/musl/porting/uniproton/kernel/include/
Dthreads.h60 int mtx_init(mtx_t *, int);
/third_party/musl/porting/liteos_m/kernel/include/
Dthreads.h60 int mtx_init(mtx_t *, int);
/third_party/mesa3d/src/drm-shim/
Ddevice.c87 mtx_init(&shim_device.mem_lock, mtx_plain); in drm_shim_device_init()
121 mtx_init(&shim_fd->handle_lock, mtx_plain); in drm_shim_file_create()

12345