/external/mesa3d/src/util/ |
D | os_time.c | 141 if (!p_atomic_read(var)) in os_wait_until_zero() 148 while (p_atomic_read(var)) { in os_wait_until_zero() 159 while (p_atomic_read(var)) { in os_wait_until_zero() 175 if (!p_atomic_read(var)) in os_wait_until_zero_abs_timeout() 181 while (p_atomic_read(var)) { in os_wait_until_zero_abs_timeout()
|
D | sparse_array.c | 135 uintptr_t root = p_atomic_read(&arr->root); in util_sparse_array_get() 178 uintptr_t child = p_atomic_read(&children[child_idx]); in util_sparse_array_get() 213 uintptr_t root = p_atomic_read(&arr->root); in util_sparse_array_validate() 251 old_head = p_atomic_read(&fl->head); in util_sparse_array_free_list_push() 265 current_head = p_atomic_read(&fl->head); in util_sparse_array_free_list_pop_idx() 273 uint64_t new_head = free_list_head(current_head, p_atomic_read(head_next)); in util_sparse_array_free_list_pop_idx() 286 current_head = p_atomic_read(&fl->head); in util_sparse_array_free_list_pop_elem() 294 uint64_t new_head = free_list_head(current_head, p_atomic_read(head_next)); in util_sparse_array_free_list_pop_elem()
|
D | u_atomic.h | 44 #define p_atomic_read(_v) __atomic_load_n((_v), __ATOMIC_ACQUIRE) macro 58 #define p_atomic_read(_v) (*(_v)) macro 88 #define p_atomic_read(_v) (*(_v)) macro 125 #define p_atomic_read(_v) (*(_v)) macro 175 #define p_atomic_read(_v) (*(_v)) macro 242 uint32_t actual = p_atomic_read(v); in p_atomic_xchg_32() 253 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 | 250 if (p_atomic_read(&elt->owner) == (intptr_t)pool) { in slab_free() 265 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
|
/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/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 | 215 new_stamp = p_atomic_read(&stfb->iface->stamp); in st_framebuffer_validate() 228 new_stamp = p_atomic_read(&stfb->iface->stamp); in st_framebuffer_validate() 498 stfb->iface_stamp = p_atomic_read(&stfbi->stamp) - 1; in st_framebuffer_create() 1245 stfb->iface_stamp = p_atomic_read(&stfb->iface->stamp) - 1; in st_manager_add_color_renderbuffer()
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_surface.c | 146 p_atomic_read(&vsrf->validated)) { in vmw_svga_winsys_surface_map() 161 if (!p_atomic_read(&vsrf->validated)) { in vmw_svga_winsys_surface_map() 207 p_atomic_read(&vsrf->validated)) { in vmw_svga_winsys_surface_map() 267 assert(p_atomic_read(&dst->validated) == 0); in vmw_svga_winsys_surface_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 | vmw_shader.c | 59 assert(p_atomic_read(&dst->validated) == 0); in vmw_svga_winsys_shader_reference()
|
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()
|
/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/frontends/nine/ |
D | resource9.c | 85 p_atomic_read(&This->base.device->available_texture_mem) <= in NineResource9_ctor() 88 if (p_atomic_read(&This->base.device->available_texture_mem) <= in NineResource9_ctor()
|
D | volume9.c | 159 if (p_atomic_read(&This->pending_uploads_counter)) in NineVolume9_dtor() 319 if (p_atomic_read(&This->pending_uploads_counter)) in NineVolume9_LockBox() 340 bool no_refs = !p_atomic_read(&This->base.bind) && in NineVolume9_LockBox() 341 !p_atomic_read(&This->base.container->bind); in NineVolume9_LockBox()
|
D | surface9.c | 223 if (p_atomic_read(&This->pending_uploads_counter)) in NineSurface9_dtor() 485 if (p_atomic_read(&This->pending_uploads_counter)) in NineSurface9_LockRect() 514 bool no_refs = !p_atomic_read(&This->base.base.bind) && in NineSurface9_LockRect() 515 !(This->base.base.container && p_atomic_read(&This->base.base.container->bind)); in NineSurface9_LockRect() 726 if (p_atomic_read(&This->pending_uploads_counter)) in NineSurface9_CopyDefaultToMem()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_gpu_load.c | 137 while (!p_atomic_read(&sscreen->gpu_load_stop_thread)) { in si_gpu_load_thread() 181 unsigned busy = p_atomic_read(&sscreen->mmio_counters.array[busy_index]); in si_read_mmio_counter() 182 unsigned idle = p_atomic_read(&sscreen->mmio_counters.array[busy_index + 1]); in si_read_mmio_counter()
|
/external/mesa3d/src/intel/common/ |
D | gen_aux_map.c | 197 return p_atomic_read(&ctx->state_num); in gen_aux_map_get_state_num() 546 return p_atomic_read(&ctx->num_buffers); in gen_aux_map_get_num_buffers() 553 assert(p_atomic_read(&ctx->num_buffers) >= max_bos); in gen_aux_map_fill_bos()
|
/external/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.c | 96 if (!p_atomic_read(&res->maybe_busy) && !p_atomic_read(&res->external)) in virgl_drm_resource_is_busy() 137 p_atomic_read(&old->external)) { in virgl_drm_resource_reference() 585 if (!p_atomic_read(&res->maybe_busy) && !p_atomic_read(&res->external)) in virgl_drm_resource_wait() 725 if (!p_atomic_read(&res->num_cs_references)) in virgl_drm_res_is_ref()
|
/external/mesa3d/src/panfrost/lib/ |
D | pan_bo.c | 435 if (p_atomic_read(&bo->refcnt) == 0) { in panfrost_bo_unreference() 491 if (p_atomic_read(&bo->refcnt) == 0) in panfrost_bo_import()
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_query.c | 153 assert(!p_atomic_read(&query->fences)); in destroy_query() 168 if (p_atomic_read(&query->fences)) { in zink_destroy_query() 183 if (p_atomic_read(&query->dead)) in zink_prune_queries()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_bufmgr.h | 447 uint64_t tmp, prev_seqno = p_atomic_read(last_seqno); in iris_bo_bump_seqno()
|
/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()
|