Home
last modified time | relevance | path

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

1234

/external/llvm-project/clang/test/Analysis/
Dc11lock.c14 int mtx_init(mtx_t *mutex, int type);
33 mtx_init(&mtx, 0); in bad2()
39 mtx_init(&mtx, 0); in bad3()
44 mtx_init(&mtx, 0); in bad4()
56 mtx_init(&mtx1, 0); in bad6()
70 mtx_init(&mtx, 0); in good()
78 mtx_init(&mtx, 0); in good2()
86 mtx_init(&mtx, 0); in good3()
/external/llvm-project/libc/test/src/threads/
Dmtx_test.cpp39 ASSERT_EQ(__llvm_libc::mtx_init(&mutex, mtx_plain), in TEST()
83 ASSERT_EQ(__llvm_libc::mtx_init(&start_lock, mtx_plain), in TEST()
85 ASSERT_EQ(__llvm_libc::mtx_init(&step_lock, mtx_plain), in TEST()
DCMakeLists.txt12 libc.src.threads.mtx_init
41 libc.src.threads.mtx_init
Dcall_once_test.cpp80 ASSERT_EQ(__llvm_libc::mtx_init(&once_func_blocker, mtx_plain), in TEST()
/external/llvm-project/libc/src/threads/
DCMakeLists.txt27 mtx_init
30 .${LIBC_TARGET_OS}.mtx_init
Dmtx_init.h16 int mtx_init(mtx_t *mutex, int type);
/external/llvm-project/libc/src/threads/linux/
DCMakeLists.txt68 mtx_init
70 mtx_init.cpp
72 ../mtx_init.h
Dmtx_init.cpp15 int LLVM_LIBC_ENTRYPOINT(mtx_init)(mtx_t *mutex, int type) { in LLVM_LIBC_ENTRYPOINT() argument
/external/jemalloc_new/test/unit/
Dmtx.c9 assert_false(mtx_init(&mtx), "Unexpected mtx_init() failure"); in TEST_BEGIN()
39 assert_false(mtx_init(&arg.mtx), "Unexpected mtx_init() failure"); in TEST_BEGIN()
/external/jemalloc_new/test/include/test/
Dmtx.h20 bool mtx_init(mtx_t *mtx);
Dmq.h40 if (mtx_init(&mq->lock)) { \
/external/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()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.c891 (void) mtx_init(&ws->hyperz_owner_mutex, mtx_plain); in radeon_drm_winsys_create()
892 (void) mtx_init(&ws->cmask_owner_mutex, mtx_plain); in radeon_drm_winsys_create()
897 (void) mtx_init(&ws->bo_handles_mutex, mtx_plain); in radeon_drm_winsys_create()
898 (void) mtx_init(&ws->vm32.mutex, mtx_plain); in radeon_drm_winsys_create()
899 (void) mtx_init(&ws->vm64.mutex, mtx_plain); in radeon_drm_winsys_create()
900 (void) mtx_init(&ws->bo_fence_lock, mtx_plain); in radeon_drm_winsys_create()
/external/mesa3d/src/freedreno/ir3/
Dir3_assembler.c40 mtx_init(&shader->variants_lock, mtx_plain); in ir3_parse_asm()
/external/jemalloc_new/test/src/
Dmtx.c8 mtx_init(mtx_t *mtx) { in mtx_init() function
/external/mesa3d/src/drm-shim/
Ddevice.c83 mtx_init(&shim_device.mem_lock, mtx_plain); in drm_shim_device_init()
102 mtx_init(&shim_fd->handle_lock, mtx_plain); in drm_shim_file_create()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_scene_queue.c79 (void) mtx_init(&queue->mutex, mtx_plain); in lp_scene_queue_create()
Dlp_fence.c55 (void) mtx_init(&fence->mutex, mtx_plain); in lp_fence_create()
/external/usrsctp/usrsctplib/
Duser_route.h98 #define RT_LOCK_INIT(_rt) mtx_init(&(_rt)->rt_mtx, "rtentry", NULL, MTX_DEF | MTX_DUPOK)
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)
/external/mesa3d/src/util/
Dsimple_mtx.h131 mtx_init(mtx, type); in simple_mtx_init()
Du_queue.c214 (void) mtx_init(&fence->mutex, mtx_plain); in util_queue_fence_init()
444 (void) mtx_init(&queue->lock, mtx_plain); in util_queue_init()
445 (void) mtx_init(&queue->finish_lock, mtx_plain); in util_queue_init()
/external/mesa3d/src/gallium/auxiliary/os/
Dos_thread.h80 (void) mtx_init(&sema->mutex, mtx_plain); in pipe_semaphore_init()
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_refcnt.c78 (void) mtx_init(&serials_mutex, mtx_plain); in debug_serial()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen.c118 mtx_init(&vws->cs_mutex, mtx_plain); in vmw_winsys_create()

1234