/third_party/mesa3d/src/util/ |
D | u_atomic.h | 49 #define p_atomic_add(v, i) (void) __atomic_add_fetch((v), (i), __ATOMIC_ACQ_REL) macro 65 #define p_atomic_add(v, i) (void) __sync_add_and_fetch((v), (i)) macro 98 #define p_atomic_add(_v, _i) ((void) p_atomic_add_return((_v), (_i))) macro 157 #define p_atomic_add(_v, _i) \ macro 238 #define p_atomic_add(v, i) (void) ( \ macro
|
D | disk_cache_os.c | 450 p_atomic_add(cache->size, - (uint64_t)size); in disk_cache_evict_lru_item() 477 p_atomic_add(cache->size, - (uint64_t)size); in disk_cache_evict_lru_item() 493 p_atomic_add(cache->size, - (uint64_t)sb.st_blocks * 512); in disk_cache_evict_item() 792 p_atomic_add(dc_job->cache->size, sb.st_blocks * 512); in disk_cache_write_item_to_disk()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_screen.h | 123 p_atomic_add(&(s)->stats.named.n, (v)); \ 126 p_atomic_add(&nouveau_screen((r)->base.screen)->stats.named.n, v); \
|
D | nouveau_mm.c | 158 p_atomic_add(&cache->allocated, size); in mm_slab_new()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | resource9.c | 82 p_atomic_add(&This->base.device->available_texture_mem, -This->size); in NineResource9_ctor() 124 p_atomic_add(&This->base.device->available_texture_mem, This->size); in NineResource9_dtor()
|
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_bo.c | 357 p_atomic_add(&ws->allocated_vram, -align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_destroy() 359 p_atomic_add(&ws->allocated_vram_vis, -align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_destroy() 364 p_atomic_add(&ws->allocated_gtt, -align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_destroy() 534 p_atomic_add(&ws->allocated_vram, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_create() 536 p_atomic_add(&ws->allocated_vram_vis, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_create() 541 p_atomic_add(&ws->allocated_gtt, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_create() 657 p_atomic_add(&ws->allocated_gtt, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_from_ptr() 747 p_atomic_add(&ws->allocated_vram, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_from_fd() 749 p_atomic_add(&ws->allocated_gtt, align64(bo->size, ws->info.gart_page_size)); in radv_amdgpu_winsys_bo_from_fd()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_upload_mgr.c | 160 p_atomic_add(&upload->buffer->reference.count, in u_upload_release_buffer() 237 p_atomic_add(&upload->buffer->reference.count, upload->buffer_private_refcount); in u_upload_alloc_buffer()
|
D | u_vbuf.c | 1439 p_atomic_add(&info->index.resource->reference.count, draw_count - 1); in u_vbuf_split_indexed_multidraw() 1507 p_atomic_add(&info->index.resource->reference.count, num_draws - 1); in u_vbuf_draw_vbo()
|
D | u_threaded_context.c | 268 p_atomic_add(&tc->num_offloaded_slots, next->num_total_slots); in tc_batch_flush() 360 p_atomic_add(&tc->num_direct_slots, next->num_total_slots); in _tc_sync()
|
/third_party/mesa3d/src/mesa/main/ |
D | glthread.c | 238 p_atomic_add(&glthread->stats.num_offloaded_items, glthread->used); in _mesa_glthread_flush_batch() 280 p_atomic_add(&glthread->stats.num_direct_items, glthread->used); in _mesa_glthread_finish()
|
D | bufferobj.h | 63 p_atomic_add(&buffer->reference.count, obj->private_refcount); in _mesa_get_bufferobj_reference()
|
D | glthread_bufferobj.c | 102 p_atomic_add(&glthread->upload_buffer->RefCount, in _mesa_glthread_upload()
|
D | bufferobj.c | 1021 p_atomic_add(&obj->buffer->reference.count, in _mesa_bufferobj_release_buffer() 1193 p_atomic_add(&buf->RefCount, buf->CtxRefCount); in detach_ctx_from_buffer()
|
/third_party/mesa3d/src/util/tests/ |
D | u_atomic_test.cpp | 134 p_atomic_add(&v, 42); in TYPED_TEST()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_sampler_view.c | 51 p_atomic_add(&sv->view->reference.count, -sv->private_refcount); in st_remove_private_references() 66 p_atomic_add(&view->reference.count, sv->private_refcount); in get_sampler_view_reference()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_save_draw.c | 266 p_atomic_add(&state->reference.count, add_refs); in vbo_save_playback_vertex_list_gallium()
|
/third_party/mesa3d/docs/relnotes/ |
D | 19.2.2.rst | 54 - util: Make Solaris implemention of p_atomic_add work with gcc
|
D | 19.1.8.rst | 79 - util: Make Solaris implemention of p_atomic_add work with gcc
|
D | 10.6.0.rst | 168 \`r == 65 && "p_atomic_add"' failed.
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface_meta_address_test.c | 394 p_atomic_add(&fails, local_fails); in run_dcc_address_test() 395 p_atomic_add(&total, local_total); in run_dcc_address_test()
|
/third_party/mesa3d/src/gallium/drivers/tegra/ |
D | tegra_screen.c | 360 p_atomic_add(&resource->gpu->reference.count, -resource->refcount); in tegra_screen_resource_destroy()
|
D | tegra_context.c | 580 p_atomic_add(&view->gpu->reference.count, view->refcount); in tegra_set_sampler_views() 876 p_atomic_add(&view->gpu->reference.count, -view->refcount); in tegra_sampler_view_destroy()
|
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
D | tr_context.c | 1127 p_atomic_add(&tr_view->sampler_view->reference.count, -tr_view->refcount); in trace_context_sampler_view_destroy() 1216 p_atomic_add(&tr_view->sampler_view->reference.count, tr_view->refcount); in trace_context_set_sampler_views()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_device.c | 2325 p_atomic_add(&mem_heap->used, -mem->bo->size); in tu_AllocateMemory() 2367 p_atomic_add(&device->physical_device->heap.used, -mem->bo->size); in tu_FreeMemory()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 4022 p_atomic_add(&mem_heap->used, -mem->bo->size); in anv_AllocateMemory() 4128 p_atomic_add(&device->physical->memory.heaps[mem->type->heapIndex].used, in anv_FreeMemory()
|