Home
last modified time | relevance | path

Searched refs:mtx_plain (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dmtx_lock.c81 int result = mtx_init(&g_mtex, mtx_plain); in mtx_lock_0100()
131 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_lock_0300()
182 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_lock_0500()
Dmtx_init.c31 ret = mtx_init(&g_mtx, mtx_plain); in mtx_init_0100()
55 ret = mtx_init(&g_mtx, mtx_plain | mtx_recursive); in mtx_init_0300()
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_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/freedreno/drm/
Dfreedreno_device.c96 simple_mtx_init(&dev->submit_lock, mtx_plain); in fd_device_new()
97 simple_mtx_init(&dev->suballoc_lock, mtx_plain); in fd_device_new()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c498 (void) simple_mtx_init(&aws->sws_list_lock, mtx_plain); in amdgpu_winsys_create()
500 (void) simple_mtx_init(&aws->global_bo_list_lock, mtx_plain); in amdgpu_winsys_create()
502 (void) simple_mtx_init(&aws->bo_fence_lock, mtx_plain); in amdgpu_winsys_create()
503 (void) simple_mtx_init(&aws->bo_export_table_lock, mtx_plain); in amdgpu_winsys_create()
/third_party/mesa3d/src/mesa/main/
Dshared.c72 simple_mtx_init(&shared->Mutex, mtx_plain); in _mesa_alloc_shared_state()
101 simple_mtx_init(&shared->ShaderIncludeMutex, mtx_plain); in _mesa_alloc_shared_state()
133 simple_mtx_init(&shared->TexMutex, mtx_plain); in _mesa_alloc_shared_state()
/third_party/mesa3d/src/freedreno/drm/virtio/
Dvirtio_device.c202 simple_mtx_init(&virtio_dev->rsp_lock, mtx_plain); in virtio_device_new()
203 simple_mtx_init(&virtio_dev->eb_lock, mtx_plain); in virtio_device_new()
210 simple_mtx_init(&virtio_dev->address_space_lock, mtx_plain); in virtio_device_new()
/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/mesa3d/src/c11/impl/
Dthreads_posix.c180 if (type != mtx_plain && type != mtx_timed && type != mtx_try in mtx_init()
181 && type != (mtx_plain|mtx_recursive) in mtx_init()
Dthreads_win32.c257 if (type != mtx_plain && type != mtx_timed && type != mtx_try in mtx_init()
258 && type != (mtx_plain|mtx_recursive) in mtx_init()
/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/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/gallium/auxiliary/util/
Du_range.h92 (void) simple_mtx_init(&range->write_mutex, mtx_plain); in util_range_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.h36 mtx_plain = 0, enumerator
/third_party/musl/ndk_musl_include/
Dthreads.h36 mtx_plain = 0, enumerator
/third_party/musl/porting/uniproton/kernel/include/
Dthreads.h36 mtx_plain = 0, enumerator
/third_party/musl/porting/liteos_m/kernel/include/
Dthreads.h36 mtx_plain = 0, enumerator
/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()
/third_party/mesa3d/src/util/
Du_queue.c210 (void) mtx_init(&fence->mutex, mtx_plain); in util_queue_fence_init()
441 (void) mtx_init(&queue->lock, mtx_plain); in util_queue_init()
442 (void) simple_mtx_init(&queue->finish_lock, mtx_plain); in util_queue_init()

123456