Home
last modified time | relevance | path

Searched refs:p_atomic_inc (Results 1 – 25 of 81) sorted by relevance

1234

/third_party/mesa3d/src/util/
Du_atomic.h47 #define p_atomic_inc(v) (void) __atomic_add_fetch((v), 1, __ATOMIC_ACQ_REL) macro
62 #define p_atomic_inc(v) (void) __sync_add_and_fetch((v), 1) macro
93 #define p_atomic_inc(_v) ((void) p_atomic_inc_return(_v)) macro
134 #define p_atomic_inc(_v) \ macro
188 #define p_atomic_inc(v) (void) (\ macro
Du_atomic_test.c108 p_atomic_inc(&v); \
/third_party/mesa3d/src/gallium/tests/unit/
Dpipe_barrier_test.c80 p_atomic_inc(&waiting); in thread_function()
86 p_atomic_inc(&proceeded); in thread_function()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_gpu_load.c77 p_atomic_inc(&counters->named.field.busy); \
79 p_atomic_inc(&counters->named.field.idle); \
150 p_atomic_inc(&rscreen->gpu_load_stop_thread); in r600_gpu_load_kill_thread()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_gpu_load.c75 p_atomic_inc(&counters->named.field.busy); \
77 p_atomic_inc(&counters->named.field.idle); \
165 p_atomic_inc(&sscreen->gpu_load_stop_thread); in si_gpu_load_kill_thread()
Dsi_clear.c127 p_atomic_inc(&sscreen->compressed_colortex_counter); in si_alloc_separate_cmask()
466 p_atomic_inc(&sscreen->dirty_tex_counter); in si_set_optimal_micro_tile_mode()
580 p_atomic_inc(&sctx->screen->dirty_tex_counter); in si_fast_clear()
744 p_atomic_inc(&sctx->screen->compressed_colortex_counter); in si_fast_clear()
794 p_atomic_inc(&sctx->screen->dirty_tex_counter); in si_fast_clear()
/third_party/mesa3d/src/intel/common/
Dintel_aux_map.c132 p_atomic_inc(&ctx->num_buffers); in add_buffer()
229 p_atomic_inc(&ctx->state_num); in intel_aux_map_init()
466 p_atomic_inc(&ctx->state_num); in intel_aux_map_add_mapping()
540 p_atomic_inc(&ctx->state_num); in intel_aux_map_unmap_range()
/third_party/mesa3d/src/mesa/main/
Dshaderobj.c89 p_atomic_inc(&sh->RefCount); in _reference_shader()
238 p_atomic_inc(&data->RefCount); in _mesa_reference_shader_program_data()
278 p_atomic_inc(&shProg->RefCount); in _mesa_reference_shader_program_()
Dglspirv.c48 p_atomic_inc(&src->RefCount); in _mesa_spirv_module_reference()
65 p_atomic_inc(&src->RefCount); in _mesa_shader_spirv_data_reference()
Drenderbuffer.c211 p_atomic_inc(&rb->RefCount); in _mesa_reference_renderbuffer_()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.h101 p_atomic_inc(&buffer->reference.count); in st_get_buffer_reference()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_bo.h62 p_atomic_inc(&bo->refcnt); in lima_bo_reference()
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_ringbuffer.c59 p_atomic_inc(&submit->refcnt); in fd_submit_ref()
Dfreedreno_device.c111 p_atomic_inc(&dev->refcnt); in fd_device_ref()
/third_party/mesa3d/src/drm-shim/
Ddevice.c309 p_atomic_inc(&bo->refcount); in drm_shim_bo_lookup()
317 p_atomic_inc(&bo->refcount); in drm_shim_bo_get()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c214 p_atomic_inc(&ws->num_cs); in radeon_drm_cs_create()
300 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_real_buffer()
353 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_slab_buffer()
631 p_atomic_inc(&bo->num_active_ioctls); in radeon_drm_cs_flush()
660 p_atomic_inc(&cs->cst->relocs_bo[i].bo->num_active_ioctls); in radeon_drm_cs_flush()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_bufmgr.h110 p_atomic_inc(&bo->refcount); in d3d12_bo_reference()
/third_party/mesa3d/src/gallium/targets/haiku-softpipe/
DGalliumContext.cpp350 p_atomic_inc(&buffer->stfbi->stamp); in SwapBuffers()
407 p_atomic_inc(&fContext[fCurrentContext]->buffer->stfbi->stamp); in Invalidate()
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_device.c96 p_atomic_inc(&dev->refcnt); in etna_device_ref()
/third_party/mesa3d/src/amd/common/
Dac_surface_meta_address_test.c505 p_atomic_inc(&fails); in run_htile_address_test()
507 p_atomic_inc(&total); in run_htile_address_test()
668 p_atomic_inc(&fails); in run_cmask_address_test()
670 p_atomic_inc(&total); in run_cmask_address_test()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_vertex_state_cache.c102 p_atomic_inc(&state->reference.count); in util_vertex_state_cache_get()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.h265 p_atomic_inc(&bo->refcount); in brw_bo_reference()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c379 p_atomic_inc(&entry->variants[i]->ref_count); in radv_create_shader_variants_from_pipeline_cache()
407 p_atomic_inc(&variants[i]->ref_count); in radv_pipeline_cache_insert_shaders()
488 p_atomic_inc(&variants[i]->ref_count); in radv_pipeline_cache_insert_shaders()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_fence_work.cpp73 p_atomic_inc(&fence->work.count); in swr_add_fence_work()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_bufmgr.h186 p_atomic_inc(&bo->refcount); in crocus_bo_reference()

1234