Home
last modified time | relevance | path

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

1234

/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/util/
Du_atomic.h47 #define p_atomic_inc(v) (void) __atomic_add_fetch((v), 1, __ATOMIC_ACQ_REL) macro
63 #define p_atomic_inc(v) (void) __sync_add_and_fetch((v), 1) macro
96 #define p_atomic_inc(_v) ((void) p_atomic_inc_return(_v)) macro
139 #define p_atomic_inc(_v) \ macro
210 #define p_atomic_inc(v) (void) (\ macro
/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.c129 p_atomic_inc(&sscreen->compressed_colortex_counter); in si_alloc_separate_cmask()
594 p_atomic_inc(&sscreen->dirty_tex_counter); in si_set_optimal_micro_tile_mode()
708 p_atomic_inc(&sctx->screen->dirty_tex_counter); in si_fast_clear()
881 p_atomic_inc(&sctx->screen->compressed_colortex_counter); in si_fast_clear()
934 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()
233 p_atomic_inc(&data->RefCount); in _mesa_reference_shader_program_data()
273 p_atomic_inc(&shProg->RefCount); in _mesa_reference_shader_program_()
Dglspirv.c49 p_atomic_inc(&src->RefCount); in _mesa_spirv_module_reference()
66 p_atomic_inc(&src->RefCount); in _mesa_shader_spirv_data_reference()
/third_party/mesa3d/src/drm-shim/
Ddevice.c138 p_atomic_inc(&shim_fd->refcount); in drm_shim_fd_register()
352 p_atomic_inc(&bo->refcount); in drm_shim_bo_lookup()
360 p_atomic_inc(&bo->refcount); in drm_shim_bo_get()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c435 p_atomic_inc(&entry->shaders[i]->ref_count); in radv_create_shaders_from_pipeline_cache()
436 p_atomic_inc(&entry->slab->ref_count); in radv_create_shaders_from_pipeline_cache()
464 p_atomic_inc(&pipeline->shaders[i]->ref_count); in radv_pipeline_cache_insert_shaders()
470 p_atomic_inc(&pipeline->slab->ref_count); in radv_pipeline_cache_insert_shaders()
551 p_atomic_inc(&pipeline->shaders[i]->ref_count); in radv_pipeline_cache_insert_shaders()
555 p_atomic_inc(&pipeline->slab->ref_count); in radv_pipeline_cache_insert_shaders()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_descriptor_set_layout.h67 p_atomic_inc(&layout->ref_cnt); in vk_descriptor_set_layout_ref()
Dvk_pipeline_layout.h95 p_atomic_inc(&layout->ref_cnt); in vk_pipeline_layout_ref()
Dvk_pipeline_cache.h142 p_atomic_inc(&object->ref_cnt); in vk_pipeline_cache_object_ref()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_bo.h62 p_atomic_inc(&bo->refcnt); in lima_bo_reference()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_wsi.c85 p_atomic_inc(&queue->device->global_queue_present_count); in pvr_QueuePresentKHR()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c215 p_atomic_inc(&ws->num_cs); in radeon_drm_cs_create()
308 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_real_buffer()
361 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_slab_buffer()
641 p_atomic_inc(&bo->num_active_ioctls); in radeon_drm_cs_flush()
670 p_atomic_inc(&cs->cst->relocs_bo[i].bo->num_active_ioctls); in radeon_drm_cs_flush()
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_ringbuffer.c59 p_atomic_inc(&submit->refcnt); in fd_submit_ref()
Dfreedreno_device.c138 p_atomic_inc(&dev->refcnt); in fd_device_ref()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.h91 p_atomic_inc(&bo->refcnt); in tu_bo_get_ref()
Dtu_descriptor_set.h204 p_atomic_inc(&layout->ref_cnt); in tu_descriptor_set_layout_ref()
/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/amd/common/
Dac_surface_meta_address_test.c539 p_atomic_inc(&fails); in run_htile_address_test()
541 p_atomic_inc(&total); in run_htile_address_test()
707 p_atomic_inc(&fails); in run_cmask_address_test()
709 p_atomic_inc(&total); in run_cmask_address_test()
/third_party/mesa3d/src/util/tests/
Du_atomic_test.cpp101 p_atomic_inc(&v); in TYPED_TEST()
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_device.c100 p_atomic_inc(&dev->refcnt); in etna_device_ref()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_vertex_state_cache.c97 p_atomic_inc(&state->reference.count); in util_vertex_state_cache_get()

1234