/external/mesa3d/src/util/ |
D | os_time.c | 143 if (!p_atomic_read(var)) in os_wait_until_zero() 150 while (p_atomic_read(var)) { in os_wait_until_zero() 161 while (p_atomic_read(var)) { in os_wait_until_zero() 177 if (!p_atomic_read(var)) in os_wait_until_zero_abs_timeout() 183 while (p_atomic_read(var)) { in os_wait_until_zero_abs_timeout()
|
D | u_atomic.h | 44 #define p_atomic_read(_v) __atomic_load_n((_v), __ATOMIC_ACQUIRE) macro 57 #define p_atomic_read(_v) (*(_v)) macro 86 #define p_atomic_read(_v) (*(_v)) macro 122 #define p_atomic_read(_v) (*(_v)) macro 169 #define p_atomic_read(_v) (*(_v)) macro 229 uint32_t actual = p_atomic_read(v); in p_atomic_xchg_32() 240 uint64_t actual = p_atomic_read(v); in p_atomic_xchg_64()
|
D | u_atomic_test.c | 53 r = p_atomic_read(&v); \ 79 r = p_atomic_read(&v); \
|
D | slab.c | 252 if (p_atomic_read(&elt->owner) == (intptr_t)pool) { in slab_free() 267 owner_int = p_atomic_read(&elt->owner); in slab_free()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_atomic.h | 46 #define p_atomic_read(_v) (*(_v)) macro 93 #define p_atomic_read(_v) (*(_v)) macro 143 #define p_atomic_read(_v) (*(_v)) macro 185 #define p_atomic_read(_v) (*(_v)) macro 205 #define p_atomic_read(_v) (*(_v)) macro 277 #define p_atomic_read(_v) (*(_v)) macro 320 #define p_atomic_read(_v) (*(_v)) macro
|
D | u_inlines.h | 63 return p_atomic_read(&reference->count) != 0; in pipe_is_referenced()
|
/external/mesa3d/src/gallium/tests/unit/ |
D | pipe_barrier_test.c | 79 CHECK(p_atomic_read(&proceeded) == 0); in thread_function() 84 CHECK(p_atomic_read(&waiting) == NUM_THREADS); in thread_function() 124 CHECK(p_atomic_read(&proceeded) == NUM_THREADS); in main()
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_surface.c | 87 p_atomic_read(&vsrf->validated)) { in vmw_svga_winsys_surface_map() 101 if (!p_atomic_read(&vsrf->validated)) { in vmw_svga_winsys_surface_map() 141 p_atomic_read(&vsrf->validated)) { in vmw_svga_winsys_surface_map() 214 assert(p_atomic_read(&dst->validated) == 0); in vmw_svga_winsys_surface_reference()
|
D | vmw_shader.c | 57 assert(p_atomic_read(&dst->validated) == 0); in vmw_svga_winsys_shader_reference()
|
D | vmw_fence.c | 309 old = p_atomic_read(&vfence->signalled); in vmw_fence_signalled() 369 old = p_atomic_read(&vfence->signalled); in vmw_fence_finish()
|
D | pb_buffer_simple_fenced.c | 179 p_atomic_read(&fenced_buf->base.reference.count), in fenced_manager_dump_locked() 195 p_atomic_read(&fenced_buf->base.reference.count), in fenced_manager_dump_locked()
|
D | vmw_screen_svga.c | 322 return (p_atomic_read(&vsurf->validated) == 0); in vmw_svga_winsys_surface_is_flushed()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_viewport.c | 58 stdraw->iface_stamp = p_atomic_read(&stdraw->iface->stamp) - 1; in st_viewport() 60 stread->iface_stamp = p_atomic_read(&stread->iface->stamp) - 1; in st_viewport()
|
D | st_manager.c | 193 new_stamp = p_atomic_read(&stfb->iface->stamp); in st_framebuffer_validate() 206 new_stamp = p_atomic_read(&stfb->iface->stamp); in st_framebuffer_validate() 484 stfb->iface_stamp = p_atomic_read(&stfbi->stamp) - 1; in st_framebuffer_create() 1187 stfb->iface_stamp = p_atomic_read(&stfb->iface->stamp) - 1; in st_manager_add_color_renderbuffer()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_gpu_load.c | 121 while (!p_atomic_read(&rscreen->gpu_load_stop_thread)) { in r600_gpu_load_thread() 168 unsigned busy = p_atomic_read(&rscreen->mmio_counters.array[busy_index]); in r600_read_mmio_counter() 169 unsigned idle = p_atomic_read(&rscreen->mmio_counters.array[busy_index + 1]); in r600_read_mmio_counter()
|
D | r600_query.c | 220 query->begin_result = p_atomic_read(&rctx->screen->num_compilations); in r600_query_sw_begin() 223 query->begin_result = p_atomic_read(&rctx->screen->num_shaders_created); in r600_query_sw_begin() 227 p_atomic_read(&rctx->screen->num_shader_cache_hits); in r600_query_sw_begin() 372 query->end_result = p_atomic_read(&rctx->screen->num_compilations); in r600_query_sw_end() 375 query->end_result = p_atomic_read(&rctx->screen->num_shaders_created); in r600_query_sw_end() 379 p_atomic_read(&rctx->screen->num_shader_cache_hits); in r600_query_sw_end()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_gpu_load.c | 138 while (!p_atomic_read(&sscreen->gpu_load_stop_thread)) { in r600_gpu_load_thread() 185 unsigned busy = p_atomic_read(&sscreen->mmio_counters.array[busy_index]); in r600_read_mmio_counter() 186 unsigned idle = p_atomic_read(&sscreen->mmio_counters.array[busy_index + 1]); in r600_read_mmio_counter()
|
D | r600_query.c | 230 query->begin_result = p_atomic_read(&rctx->screen->num_compilations); in r600_query_sw_begin() 233 query->begin_result = p_atomic_read(&rctx->screen->num_shaders_created); in r600_query_sw_begin() 237 p_atomic_read(&rctx->screen->num_shader_cache_hits); in r600_query_sw_begin() 389 query->end_result = p_atomic_read(&rctx->screen->num_compilations); in r600_query_sw_end() 392 query->end_result = p_atomic_read(&rctx->screen->num_shaders_created); in r600_query_sw_end() 399 p_atomic_read(&rctx->screen->num_shader_cache_hits); in r600_query_sw_end()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | volume9.c | 154 if (p_atomic_read(&This->pending_uploads_counter)) in NineVolume9_dtor() 313 if (p_atomic_read(&This->pending_uploads_counter)) in NineVolume9_LockBox() 329 bool no_refs = !p_atomic_read(&This->base.bind) && in NineVolume9_LockBox() 330 !p_atomic_read(&This->base.container->bind); in NineVolume9_LockBox()
|
D | surface9.c | 216 if (p_atomic_read(&This->pending_uploads_counter)) in NineSurface9_dtor() 478 if (p_atomic_read(&This->pending_uploads_counter)) in NineSurface9_LockRect() 502 bool no_refs = !p_atomic_read(&This->base.base.bind) && in NineSurface9_LockRect() 503 !(This->base.base.container && p_atomic_read(&This->base.base.container->bind)); in NineSurface9_LockRect() 702 if (p_atomic_read(&This->pending_uploads_counter)) in NineSurface9_CopyDefaultToMem()
|
D | buffer9.c | 243 if (p_atomic_read(&This->managed.pending_upload)) in NineBuffer9_Lock()
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_buffer_fenced.c | 215 p_atomic_read(&fenced_buf->base.reference.count), in fenced_manager_dump_locked() 231 p_atomic_read(&fenced_buf->base.reference.count), in fenced_manager_dump_locked()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_buffer.c | 358 assert(!p_atomic_read(&buf->reference.count)); in svga_buffer_destroy()
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.c | 63 if (p_atomic_read(&bo->num_active_ioctls)) in amdgpu_bo_wait() 274 if (p_atomic_read(&bo->num_active_ioctls)) in amdgpu_bo_map() 288 if (p_atomic_read(&bo->num_active_ioctls)) in amdgpu_bo_map()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_bufmgr.c | 95 c = p_atomic_read(v); in atomic_add_unless() 658 assert(p_atomic_read(&bo->refcount) > 0); in brw_bo_unreference()
|