Home
last modified time | relevance | path

Searched refs:mtx_lock (Results 1 – 25 of 217) sorted by relevance

123456789

/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_lock.c56 mtx_lock(&d3dlock_global); in NineLockGlobalMutex()
70 mtx_lock(&d3dlock_global); in LockAuthenticatedChannel9_GetCertificateSize()
82 mtx_lock(&d3dlock_global); in LockAuthenticatedChannel9_GetCertificate()
94 mtx_lock(&d3dlock_global); in LockAuthenticatedChannel9_NegotiateKeyExchange()
108 mtx_lock(&d3dlock_global); in LockAuthenticatedChannel9_Query()
121 mtx_lock(&d3dlock_global); in LockAuthenticatedChannel9_Configure()
146 mtx_lock(&d3dlock_global); in LockUnknown_SetPrivateData()
159 mtx_lock(&d3dlock_global); in LockUnknown_GetPrivateData()
170 mtx_lock(&d3dlock_global); in LockUnknown_FreePrivateData()
182 mtx_lock(&d3dlock_global);
[all …]
Dnine_queue.c88 mtx_lock(&ctx->mutex_push); in nine_queue_wait_flush()
114 mtx_lock(&ctx->mutex_pop); in nine_queue_get()
151 mtx_lock(&ctx->mutex_push); in nine_queue_flush()
161 mtx_lock(&ctx->mutex_pop); in nine_queue_flush()
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_context.c48 mtx_lock(&rb_pipe->call_mutex); in rbug_destroy()
130 mtx_lock(&rb_pipe->draw_mutex); in rbug_draw_vbo()
133 mtx_lock(&rb_pipe->call_mutex); in rbug_draw_vbo()
154 mtx_lock(&rb_pipe->call_mutex); in rbug_create_query()
169 mtx_lock(&rb_pipe->call_mutex); in rbug_destroy_query()
183 mtx_lock(&rb_pipe->call_mutex); in rbug_begin_query()
197 mtx_lock(&rb_pipe->call_mutex); in rbug_end_query()
215 mtx_lock(&rb_pipe->call_mutex); in rbug_get_query_result()
231 mtx_lock(&rb_pipe->call_mutex); in rbug_set_active_query_state()
244 mtx_lock(&rb_pipe->call_mutex); in rbug_create_blend_state()
[all …]
Drbug_core.c177 mtx_lock(&rb_screen->list_mutex); in rbug_texture_list()
199 mtx_lock(&rb_screen->list_mutex); in rbug_texture_info()
246 mtx_lock(&rb_screen->list_mutex); in rbug_texture_read()
290 mtx_lock(&rb_screen->list_mutex); in rbug_context_list()
314 mtx_lock(&rb_screen->list_mutex); in rbug_context_info()
323 mtx_lock(&rb_context->draw_mutex); in rbug_context_info()
324 mtx_lock(&rb_context->call_mutex); in rbug_context_info()
355 mtx_lock(&rb_screen->list_mutex); in rbug_context_draw_block()
363 mtx_lock(&rb_context->draw_mutex); in rbug_context_draw_block()
380 mtx_lock(&rb_screen->list_mutex); in rbug_context_draw_step()
[all …]
/third_party/mesa3d/src/gallium/frontends/vdpau/
Dhtab.c41 mtx_lock(&htab_lock); in vlCreateHTAB()
51 mtx_lock(&htab_lock); in vlDestroyHTAB()
64 mtx_lock(&htab_lock); in vlAddDataHTAB()
76 mtx_lock(&htab_lock); in vlGetDataHTAB()
85 mtx_lock(&htab_lock); in vlRemoveDataHTAB()
Dpresentation.c68 mtx_lock(&dev->mutex); in vlVdpPresentationQueueCreate()
103 mtx_lock(&pq->device->mutex); in vlVdpPresentationQueueDestroy()
136 mtx_lock(&pq->device->mutex); in vlVdpPresentationQueueSetBackgroundColor()
160 mtx_lock(&pq->device->mutex); in vlVdpPresentationQueueGetBackgroundColor()
188 mtx_lock(&pq->device->mutex); in vlVdpPresentationQueueGetTime()
233 mtx_lock(&pq->device->mutex); in vlVdpPresentationQueueDisplay()
324 mtx_lock(&pq->device->mutex); in vlVdpPresentationQueueBlockUntilSurfaceIdle()
367 mtx_lock(&pq->device->mutex); in vlVdpPresentationQueueQuerySurfaceStatus()
Dquery.c87 mtx_lock(&dev->mutex); in vlVdpVideoSurfaceQueryCapabilities()
123 mtx_lock(&dev->mutex); in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
200 mtx_lock(&dev->mutex); in vlVdpDecoderQueryCapabilities()
251 mtx_lock(&dev->mutex); in vlVdpOutputSurfaceQueryCapabilities()
303 mtx_lock(&dev->mutex); in vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities()
352 mtx_lock(&dev->mutex); in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
407 mtx_lock(&dev->mutex); in vlVdpOutputSurfaceQueryPutBitsYCbCrCapabilities()
451 mtx_lock(&dev->mutex); in vlVdpBitmapSurfaceQueryCapabilities()
540 mtx_lock(&dev->mutex); in vlVdpVideoMixerQueryParameterValueRange()
Dbitmap.c82 mtx_lock(&dev->mutex); in vlVdpBitmapSurfaceCreate()
109 mtx_lock(&dev->mutex); in vlVdpBitmapSurfaceCreate()
137 mtx_lock(&vlsurface->device->mutex); in vlVdpBitmapSurfaceDestroy()
199 mtx_lock(&vlsurface->device->mutex); in vlVdpBitmapSurfacePutBitsNative()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dmtx_lock.c26 ret = mtx_lock(&g_mtex); in threadfuncA()
36 ret = mtx_lock(&g_mtex); in threadfuncB()
46 ret = mtx_lock(&g_mtex); in threadfuncC()
56 ret = mtx_lock(&g_mtex); in threadfuncD()
66 ret = mtx_lock(&g_mtex); in threadfuncE()
67 ret = mtx_lock(&g_mtex); in threadfuncE()
Dcnd_broadcast.c28 mtx_lock(&mutex); in child_wait()
61 mtx_lock(&mutex); in cnd_broadcast_0100()
73 mtx_lock(&mutex); in cnd_broadcast_0100()
Dcnd_timedwait.c27 if (mtx_lock(&mutex) != thrd_success) { in signal_parent()
56 if (mtx_lock(&mutex) != thrd_success) { in cnd_timedwait_0100()
100 if (mtx_lock(&mutex) != thrd_success) { in cnd_timedwait_time64_0100()
/third_party/mesa3d/src/gallium/frontends/va/
Dbuffer.c67 mtx_lock(&drv->mutex); in vlVaCreateBuffer()
85 mtx_lock(&drv->mutex); in vlVaBufferSetNumElements()
120 mtx_lock(&drv->mutex); in vlVaMapBuffer()
182 mtx_lock(&drv->mutex); in vlVaUnmapBuffer()
222 mtx_lock(&drv->mutex); in vlVaDestroyBuffer()
255 mtx_lock(&drv->mutex); in vlVaBufferInfo()
289 mtx_lock(&drv->mutex); in vlVaAcquireBufferHandle()
330 mtx_lock(&drv->mutex); in vlVaAcquireBufferHandle()
374 mtx_lock(&drv->mutex); in vlVaReleaseBufferHandle()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipe_sync.c68 mtx_lock(&sync->lock); in lvp_pipe_sync_signal_with_fence()
84 mtx_lock(&sync->lock); in lvp_pipe_sync_signal()
102 mtx_lock(&sync->lock); in lvp_pipe_sync_reset()
123 mtx_lock(&src->lock); in lvp_pipe_sync_move()
131 mtx_lock(&dst->lock); in lvp_pipe_sync_move()
207 mtx_lock(&sync->lock); in lvp_pipe_sync_wait_locked()
232 mtx_lock(&sync->lock); in lvp_pipe_sync_wait()
/third_party/mesa3d/src/util/
Du_queue.c66 mtx_lock(&exit_mutex); in atexit_handler()
86 mtx_lock(&exit_mutex); in add_to_atexit_list()
96 mtx_lock(&exit_mutex); in remove_from_atexit_list()
158 mtx_lock(&fence->mutex); in util_queue_fence_signal()
167 mtx_lock(&fence->mutex); in _util_queue_fence_wait()
195 mtx_lock(&fence->mutex); in _util_queue_fence_wait_timeout()
229 mtx_lock(&fence->mutex); in util_queue_fence_destroy()
282 mtx_lock(&queue->lock); in util_queue_thread_func()
315 mtx_lock(&queue->lock); in util_queue_thread_func()
503 mtx_lock(&queue->lock); in util_queue_kill_threads()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_cs_tpool.c42 mtx_lock(&pool->m); in lp_cs_tpool_worker()
76 mtx_lock(&pool->m); in lp_cs_tpool_worker()
115 mtx_lock(&pool->m); in lp_cs_tpool_destroy()
159 mtx_lock(&pool->m); in lp_cs_tpool_queue_task()
177 mtx_lock(&pool->m); in lp_cs_tpool_wait_for_task()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
Dthread_cnd_test.cpp37 EXPECT_EQ(thrd_success, mtx_lock(this->mtx_)); in WaitrBroadCast()
46 EXPECT_EQ(thrd_success, mtx_lock(this->mtx_)); in WaitrSignal()
54 EXPECT_EQ(thrd_success, mtx_lock(mtx_)); in ChangeInit()
121 mtx_lock(&threadMtx);
/third_party/mesa3d/src/drm-shim/
Ddevice.c243 mtx_lock(&shim_fd->handle_lock); in drm_shim_ioctl_gem_close()
327 mtx_lock(&shim_device.mem_lock); in drm_shim_bo_init()
345 mtx_lock(&shim_fd->handle_lock); in drm_shim_bo_lookup()
372 mtx_lock(&shim_device.mem_lock); in drm_shim_bo_put()
384 mtx_lock(&shim_fd->handle_lock); in drm_shim_bo_get_handle()
404 mtx_lock(&shim_device.mem_lock); in drm_shim_bo_get_mmap_offset()
419 mtx_lock(&shim_device.mem_lock); in drm_shim_mmap()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_sync_timeline.c188 mtx_lock(&timeline->mutex); in vk_sync_timeline_alloc_point()
209 mtx_lock(&timeline->mutex); in vk_sync_timeline_point_free()
298 mtx_lock(&timeline->mutex); in vk_sync_timeline_point_install()
347 mtx_lock(&timeline->mutex); in vk_sync_timeline_get_point()
361 mtx_lock(&timeline->mutex); in vk_sync_timeline_point_release()
398 mtx_lock(&timeline->mutex); in vk_sync_timeline_signal()
412 mtx_lock(&timeline->mutex); in vk_sync_timeline_get_value()
490 mtx_lock(&timeline->mutex); in vk_sync_timeline_wait_locked()
512 mtx_lock(&timeline->mutex); in vk_sync_timeline_wait()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dpb_buffer_simple_fenced.c318 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_finish_locked()
511 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_destroy()
528 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_map()
579 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_unmap()
603 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_validate()
652 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_fence()
691 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_get_base_buffer()
742 mtx_lock(&fenced_mgr->mutex); in fenced_bufmgr_create_buffer()
778 mtx_lock(&fenced_mgr->mutex); in fenced_bufmgr_flush()
794 mtx_lock(&fenced_mgr->mutex); in fenced_bufmgr_destroy()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_dump.c88 mtx_lock(&call_mutex); in trace_dump_check_trigger()
307 mtx_lock(&call_mutex); in trace_dump_call_lock()
336 mtx_lock(&call_mutex); in trace_dumping_start()
343 mtx_lock(&call_mutex); in trace_dumping_stop()
351 mtx_lock(&call_mutex); in trace_dumping_enabled()
400 mtx_lock(&call_mutex); in trace_dump_call_begin()
/third_party/mesa3d/src/broadcom/simulator/
Dv3d_simulator.c219 mtx_lock(&sim_state.mutex); in v3d_create_simulator_bo()
302 mtx_lock(&sim_state.mutex); in v3d_create_simulator_bo_for_gem()
335 mtx_lock(&sim_state.mutex); in v3d_free_simulator_bo()
351 mtx_lock(&sim_state.mutex); in v3d_get_simulator_bo()
419 mtx_lock(&sim_state.mutex); in v3d_get_simulator_perfmon()
487 mtx_lock(&sim_state.submit_lock); in v3d_simulator_submit_cl_ioctl()
726 mtx_lock(&sim_state.mutex); in v3d_simulator_perfmon_create_ioctl()
744 mtx_lock(&sim_state.mutex); in v3d_simulator_perfmon_destroy_ioctl()
758 mtx_lock(&sim_state.submit_lock); in v3d_simulator_perfmon_get_values_ioctl()
837 mtx_lock(&sim_state.mutex); in v3d_simulator_init_global()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_debug.c238 mtx_lock(&mgr->mutex); in pb_debug_buffer_destroy()
262 mtx_lock(&buf->mutex); in pb_debug_buffer_map()
276 mtx_lock(&buf->mutex); in pb_debug_buffer_unmap()
308 mtx_lock(&buf->mutex); in pb_debug_buffer_validate()
392 mtx_lock(&mgr->mutex); in pb_debug_manager_create_buffer()
423 mtx_lock(&mgr->mutex); in pb_debug_manager_create_buffer()
446 mtx_lock(&mgr->mutex); in pb_debug_manager_destroy()
Dpb_buffer_fenced.c355 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_finish_locked()
655 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_destroy()
672 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_map()
724 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_unmap()
748 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_validate()
819 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_fence()
856 mtx_lock(&fenced_mgr->mutex); in fenced_buffer_get_base_buffer()
920 mtx_lock(&fenced_mgr->mutex); in fenced_bufmgr_create_buffer()
961 mtx_lock(&fenced_mgr->mutex); in fenced_bufmgr_flush()
977 mtx_lock(&fenced_mgr->mutex); in fenced_bufmgr_destroy()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_debug_flush.c168 mtx_lock(&list_mutex); in debug_flush_ctx_create()
218 mtx_lock(&fbuf->mutex); in debug_flush_map()
250 mtx_lock(&list_mutex); in debug_flush_map()
272 mtx_lock(&fbuf->mutex); in debug_flush_unmap()
311 mtx_lock(&fbuf->mutex); in debug_flush_cb_reference()
346 mtx_lock(&fbuf->mutex); in debug_flush_might_flush_cb()
/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.c126 mtx_lock(&usb_ref_lock); in usb_ref_device()
160 mtx_lock(&usb_ref_lock); in usb_ref_device()
288 mtx_lock(&usb_ref_lock); in usb_unref_device()
455 mtx_lock(&usb_ref_lock); in usb_fifo_create()
480 mtx_lock(&usb_ref_lock); in usb_fifo_create()
515 mtx_lock(&usb_ref_lock); in usb_fifo_free()
531 mtx_lock(f->priv_mtx); in usb_fifo_free()
540 mtx_lock(&usb_ref_lock); in usb_fifo_free()
642 mtx_lock(f->priv_mtx); in usb_fifo_open()
662 mtx_lock(&usb_ref_lock); in usb_fifo_open()
[all …]

123456789