/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | mtx_init.c | 24 * @tc.name : mtx_init. 25 * @tc.desc : Verify mtx_init process success when second args is mtx_plain. 31 ret = mtx_init(&g_mtx, mtx_plain); in mtx_init_0100() 36 * @tc.name : mtx_init. 37 * @tc.desc : Verify mtx_init process success when second args is mtx_timed. 43 ret = mtx_init(&g_mtx, mtx_timed); in mtx_init_0200() 48 * @tc.name : mtx_init. 49 * @tc.desc : Verify mtx_init process success when second args is mtx_plain | mtx_recursive. 55 ret = mtx_init(&g_mtx, mtx_plain | mtx_recursive); in mtx_init_0300() 60 * @tc.name : mtx_init [all...] |
H A D | mtx_lock.c | 76 * @tc.desc : Verify process mtx_lock success when mtx_init second args is mtx_plain. 81 int result = mtx_init(&g_mtex, mtx_plain); in mtx_lock_0100() 83 t_error("%s mtx_init failed", __func__); in mtx_lock_0100() 101 * @tc.desc : Verify process mtx_lock success when mtx_init second args is mtx_timed. 106 int result = mtx_init(&g_mtex, mtx_timed); in mtx_lock_0200() 108 t_error("%s mtx_init failed", __func__); in mtx_lock_0200() 131 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_lock_0300() 133 t_error("%s mtx_init failed", __func__); in mtx_lock_0300() 156 int result= mtx_init(&g_mtex, mtx_timed | mtx_recursive); in mtx_lock_0400() 158 t_error("%s mtx_init faile in mtx_lock_0400() [all...] |
H A D | mtx_timedlock.c | 37 ret = mtx_init(&mutex, mtx_timed); in mtx_timedlock_0100() 39 t_error("%s mtx_init failed", __func__); in mtx_timedlock_0100() 64 ret = mtx_init(&mutex, mtx_timed); in mtx_timedlock_0200() 66 t_error("%s mtx_init failed", __func__); in mtx_timedlock_0200() 70 t_error("%s mtx_init failed", __func__); in mtx_timedlock_0200() 96 ret = mtx_init(&mutex, mtx_timed); in mtx_timedlock_time64_0100() 98 t_error("%s mtx_init failed", __func__); in mtx_timedlock_time64_0100()
|
H A D | mtx_trylock.c | 47 * @tc.desc : Verify process mtx_trylock success when mtx_init second args is mtx_plain | tx_recursive. 52 int result = mtx_init(&g_mtex, mtx_plain | mtx_recursive); in mtx_trylock_0100() 54 t_error("%s mtx_init failed", __func__); in mtx_trylock_0100() 72 * @tc.desc : Verify process mtx_trylock fail when mtx_init second args is mtx_plain. 77 int result = mtx_init(&g_mtex, mtx_plain); in mtx_trylock_0200() 79 t_error("%s mtx_init failed", __func__); in mtx_trylock_0200()
|
H A D | cnd_timedwait.c | 53 if (mtx_init(&mutex, mtx_plain) != thrd_success) { in cnd_timedwait_0100() 54 t_error("%s mtx_init failed\n", __func__); in cnd_timedwait_0100() 97 if (mtx_init(&mutex, mtx_plain) != thrd_success) { in cnd_timedwait_time64_0100() 98 t_error("%s mtx_init failed\n", __func__); in cnd_timedwait_time64_0100()
|
H A D | cnd_signal.c | 42 mtx_init(&mtx, 0); in cnd_signal_0100()
|
H A D | cnd_wait.c | 41 mtx_init(&mtx, 0); in cnd_wait_0100()
|
H A D | mtx_unlock.c | 39 int result = mtx_init(&g_mtx, mtx_plain); in mtx_unlock_0100() 41 t_error("%s mtx_init failed", __func__); in mtx_unlock_0100()
|
H A D | cnd_broadcast.c | 50 if (mtx_init(&mutex, mtx_plain) != thrd_success) { in cnd_broadcast_0100() 51 t_error("%s mtx_init failed\n", __func__); in cnd_broadcast_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_mutex_test.cpp | 46 EXPECT_EQ(thrd_success, mtx_init(&mtx_, mtx_plain)); in HWTEST_F() 57 EXPECT_EQ(thrd_success, mtx_init(&mtx_, mtx_timed)); in HWTEST_F() 68 EXPECT_EQ(thrd_success, mtx_init(&mtx_, mtx_plain | mtx_recursive)); in HWTEST_F() 79 EXPECT_EQ(thrd_success, mtx_init(&mtx_, mtx_timed | mtx_recursive)); in HWTEST_F() 90 EXPECT_EQ(thrd_success, mtx_init(&mtx_, mtx_plain)); in HWTEST_F() 107 EXPECT_EQ(thrd_success, mtx_init(&mtx_, mtx_plain | mtx_recursive)); in HWTEST_F() 124 EXPECT_EQ(thrd_success, mtx_init(&mtxTime, mtx_timed)); in HWTEST_F() 128 EXPECT_EQ(thrd_success, mtx_init(&mtxTime, mtx_timed)); in HWTEST_F() 149 EXPECT_EQ(thrd_success, mtx_init(&mtxUnlock, mtx_plain)); in HWTEST_F()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_queue.c | 244 (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/ |
H A D | mtx_init.c | 4 int mtx_init(mtx_t *m, int type) in mtx_init() function
|
/third_party/FreeBSD/sys/dev/random/ |
H A D | yarrow.h | 33 #define RANDOM_RESEED_INIT_LOCK(x) mtx_init(&yarrow_state.ys_mtx, "reseed mutex", NULL, MTX_DEF)
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_winsys.c | 867 (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/auxiliary/os/ |
H A D | os_thread.h | 80 (void) mtx_init(&sema->mutex, mtx_plain); in pipe_semaphore_init()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_screen.c | 1089 (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()
|
H A D | lp_scene_queue.c | 79 (void) mtx_init(&queue->mutex, mtx_plain); in lp_scene_queue_create()
|
/third_party/FreeBSD/sys/sys/ |
H A D | mutex.h | 39 * Mutex types and options passed to mtx_init(). MTX_QUIET and MTX_DUPOK 56 mtx_init(pthread_mutex_t *mtx, const char *name, const char *type, int opts) in mtx_init() function
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_assembler.c | 38 mtx_init(&shader->variants_lock, mtx_plain); in ir3_parse_asm()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | threads.h | 60 int mtx_init(mtx_t *, int);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | threads.h | 60 int mtx_init(mtx_t *, int);
|
/third_party/musl/include/ |
H A D | threads.h | 60 int mtx_init(mtx_t *, int);
|
/third_party/FreeBSD/sys/kern/ |
H A D | kern_timeout.c | 57 mtx_init(&c->callout_mtx,0,0,0); in callout_init_mtx()
|
/third_party/mesa3d/src/util/ |
H A D | simple_mtx.h | 147 mtx_init(mtx, type); in simple_mtx_init()
|
/third_party/mesa3d/src/drm-shim/ |
H A D | device.c | 87 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()
|