Home
last modified time | relevance | path

Searched refs:p_atomic_dec (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/util/
Du_atomic.h48 #define p_atomic_dec(v) (void) __atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL) macro
63 #define p_atomic_dec(v) (void) __sync_sub_and_fetch((v), 1) macro
94 #define p_atomic_dec(_v) ((void) p_atomic_dec_return(_v)) macro
143 #define p_atomic_dec(_v) \ macro
202 #define p_atomic_dec(v) (void) ( \ macro
Du_atomic_test.c117 p_atomic_dec(&v); \
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c144 p_atomic_dec(&csc->relocs_bo[i].bo->num_cs_references); in radeon_cs_context_cleanup()
148 p_atomic_dec(&csc->slab_buffers[i].bo->num_cs_references); in radeon_cs_context_cleanup()
432 p_atomic_dec(&cs->csc->relocs_bo[i].bo->num_cs_references); in radeon_drm_cs_validate()
503 p_atomic_dec(&csc->relocs_bo[i].bo->num_active_ioctls); in radeon_drm_cs_emit_ioctl_oneshot()
505 p_atomic_dec(&csc->slab_buffers[i].bo->num_active_ioctls); in radeon_drm_cs_emit_ioctl_oneshot()
743 p_atomic_dec(&cs->ws->num_cs); in radeon_drm_cs_destroy()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_context.c260 p_atomic_dec(&isurf->vsurf->validated); in vmw_swc_flush()
271 p_atomic_dec(&ishader->vshader->validated); in vmw_swc_flush()
488 p_atomic_dec(&vsurf->validated); in vmw_swc_surface_clear_reference()
667 p_atomic_dec(&isurf->vsurf->validated); in vmw_swc_destroy()
674 p_atomic_dec(&ishader->vshader->validated); in vmw_swc_destroy()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_gpu_load.c141 p_atomic_dec(&rscreen->gpu_load_stop_thread); in r600_gpu_load_thread()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_gpu_load.c156 p_atomic_dec(&sscreen->gpu_load_stop_thread); in si_gpu_load_thread()
Dsi_pipe.c349 p_atomic_dec(&context->screen->num_contexts); in si_destroy_context()
Dsi_state.c2713 p_atomic_dec(&tex->framebuffers_bound); in si_dec_framebuffer_counters()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c1639 p_atomic_dec(&cs->real_buffers[i].bo->num_active_ioctls); in amdgpu_cs_submit_ib()
1641 p_atomic_dec(&cs->slab_buffers[i].bo->num_active_ioctls); in amdgpu_cs_submit_ib()
1643 p_atomic_dec(&cs->sparse_buffers[i].bo->num_active_ioctls); in amdgpu_cs_submit_ib()
1806 p_atomic_dec(&cs->ws->num_cs); in amdgpu_cs_destroy()
/third_party/mesa3d/src/intel/common/
Dintel_aux_map.c247 p_atomic_dec(&ctx->num_buffers); in intel_aux_map_finish()
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c734 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_drm_free_res_list()
809 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_drm_clear_res_list()
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_pipe.c350 p_atomic_dec(&ctx->screen->num_contexts); in noop_destroy_context()
/third_party/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c428 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_vtest_release_all_res()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_csmt_helper.h236 p_atomic_dec(args->counter); \
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_program.c187 p_atomic_dec(&prog->base.reference.count); in update_shader_modules()
Dzink_context.c160 p_atomic_dec(&screen->base.num_contexts); in zink_context_destroy()
607 p_atomic_dec(&zink_screen(pctx->screen)->cur_custom_border_color_samplers); in zink_delete_sampler_state()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_tex.c866 p_atomic_dec(&entry->bindless); in nve4_delete_texture_handle()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.c2344 p_atomic_dec(&tres->pending_staging_uploads); in tc_call_buffer_unmap()