Searched refs:p_atomic_dec (Results 1 – 18 of 18) sorted by relevance
48 #define p_atomic_dec(v) (void) __atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL) macro63 #define p_atomic_dec(v) (void) __sync_sub_and_fetch((v), 1) macro94 #define p_atomic_dec(_v) ((void) p_atomic_dec_return(_v)) macro143 #define p_atomic_dec(_v) \ macro202 #define p_atomic_dec(v) (void) ( \ macro
117 p_atomic_dec(&v); \
144 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()
260 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()
141 p_atomic_dec(&rscreen->gpu_load_stop_thread); in r600_gpu_load_thread()
156 p_atomic_dec(&sscreen->gpu_load_stop_thread); in si_gpu_load_thread()
349 p_atomic_dec(&context->screen->num_contexts); in si_destroy_context()
2713 p_atomic_dec(&tex->framebuffers_bound); in si_dec_framebuffer_counters()
1639 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()
247 p_atomic_dec(&ctx->num_buffers); in intel_aux_map_finish()
734 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()
350 p_atomic_dec(&ctx->screen->num_contexts); in noop_destroy_context()
428 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_vtest_release_all_res()
236 p_atomic_dec(args->counter); \
187 p_atomic_dec(&prog->base.reference.count); in update_shader_modules()
160 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()
866 p_atomic_dec(&entry->bindless); in nve4_delete_texture_handle()
2344 p_atomic_dec(&tres->pending_staging_uploads); in tc_call_buffer_unmap()