/external/libdrm/libkms/ |
D | radeon.c | 51 unsigned map_count; member 131 bo->map_count = 0; in radeon_bo_create() 160 bo->map_count++; in radeon_bo_map() 181 bo->map_count++; in radeon_bo_map() 191 if (--bo->map_count == 0) { in radeon_bo_unmap()
|
D | vmwgfx.c | 46 unsigned map_count; member 144 bo->map_count++; in vmwgfx_bo_map() 154 bo->map_count++; in vmwgfx_bo_map() 164 bo->map_count--; in vmwgfx_bo_unmap()
|
D | exynos.c | 34 unsigned map_count; member 133 bo->map_count++; in exynos_bo_map() 150 bo->map_count++; in exynos_bo_map() 160 bo->map_count--; in exynos_bo_unmap()
|
D | nouveau.c | 49 unsigned map_count; member 153 bo->map_count++; in nouveau_bo_map() 163 bo->map_count++; in nouveau_bo_map() 173 bo->map_count--; in nouveau_bo_unmap()
|
D | dumb.c | 46 unsigned map_count; member 138 bo->map_count++; in dumb_bo_map() 155 bo->map_count++; in dumb_bo_map() 165 bo->map_count--; in dumb_bo_unmap()
|
D | intel.c | 48 unsigned map_count; member 164 bo->map_count++; in intel_bo_map() 181 bo->map_count++; in intel_bo_map() 191 bo->map_count--; in intel_bo_unmap()
|
/external/mesa3d/src/gallium/winsys/sw/wayland/ |
D | wayland_sw_winsys.c | 54 unsigned map_count; member 89 wldt->map_count--; in wayland_displaytarget_unmap() 90 if (wldt->map_count > 0) in wayland_displaytarget_unmap() 106 wldt->map_count++; in wayland_displaytarget_map() 121 wldt->map_count = 1; in wayland_displaytarget_map()
|
/external/mesa3d/src/gallium/winsys/sw/wrapper/ |
D | wrapper_sw_winsys.c | 64 unsigned map_count; member 203 if (!wdt->map_count) { in wsw_dt_map() 224 wdt->map_count++; in wsw_dt_map() 242 wdt->map_count--; in wsw_dt_unmap() 244 if (wdt->map_count) in wsw_dt_unmap()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 240 static int map_count, unmap_count; member 241 void OnMap(uptr p, uptr size) const { map_count++; } in OnMap() 244 int TestMapUnmapCallback::map_count; member in TestMapUnmapCallback 249 TestMapUnmapCallback::map_count = 0; in TEST() 256 EXPECT_EQ(TestMapUnmapCallback::map_count, 1); // Allocator state. in TEST() 263 EXPECT_EQ(TestMapUnmapCallback::map_count, 3); // State + alloc + metadata. in TEST() 271 TestMapUnmapCallback::map_count = 0; in TEST() 283 EXPECT_EQ(TestMapUnmapCallback::map_count, 0); in TEST() 290 EXPECT_EQ(TestMapUnmapCallback::map_count, 1); in TEST() 300 TestMapUnmapCallback::map_count = 0; in TEST() [all …]
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_bufmgr_debug.c | 81 unsigned map_count; member 264 ++buf->map_count; in pb_debug_buffer_map() 279 assert(buf->map_count); in pb_debug_buffer_unmap() 280 if(buf->map_count) in pb_debug_buffer_unmap() 281 --buf->map_count; in pb_debug_buffer_unmap() 309 if(buf->map_count) { in pb_debug_buffer_validate()
|
/external/libdrm/radeon/ |
D | radeon_bo_gem.c | 52 int map_count; member 86 bo->map_count = 0; in bo_open() 158 if (bo_gem->map_count++ != 0) { in bo_map() 197 if (--bo_gem->map_count > 0) { in bo_unmap() 393 bo->map_count = 0; in radeon_gem_bo_open_prime()
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
D | i915_drm_buffer.c | 162 if (buf->map_count) in i915_drm_buffer_map() 174 buf->map_count++; in i915_drm_buffer_map() 184 if (--buf->map_count) in i915_drm_buffer_unmap()
|
D | i915_drm_winsys.h | 55 unsigned map_count; member
|
/external/mesa3d/src/gallium/winsys/i915/sw/ |
D | i915_sw_buffer.c | 65 buf->map_count += 1; in i915_sw_buffer_map() 75 buf->map_count -= 1; in i915_sw_buffer_unmap()
|
D | i915_sw_winsys.h | 44 unsigned map_count; member
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_ioctl.c | 58 uint32_t map_count; member 287 region->map_count = 0; in vmw_ioctl_region_create() 346 ++region->map_count; in vmw_ioctl_region_map() 356 --region->map_count; in vmw_ioctl_region_unmap()
|
/external/libdrm/intel/ |
D | intel_bufmgr_fake.c | 210 unsigned int map_count; member 929 assert(bo_fake->map_count == 0); in drm_intel_fake_bo_unreference_locked() 1018 if (bo_fake->map_count++ != 0) in drm_intel_fake_bo_map_locked() 1096 assert(bo_fake->map_count != 0); in drm_intel_fake_bo_unmap_locked() 1097 if (--bo_fake->map_count != 0) in drm_intel_fake_bo_unmap_locked() 1174 assert(bo_fake->map_count == 0); in drm_intel_fake_bo_validate() 1340 assert(bo_fake->map_count == 0); in drm_intel_fake_reloc_and_validate_buffer() 1410 assert(bo_fake->map_count == 0); in drm_intel_bo_fake_post_submit()
|
D | intel_bufmgr_gem.c | 219 int map_count; member 1272 assert(bo_gem->map_count == 0); in drm_intel_gem_bo_purge_vma_cache() 1354 if (bo_gem->map_count) { in drm_intel_gem_bo_unreference_final() 1355 DBG("bo freed with non-zero map-count %d\n", bo_gem->map_count); in drm_intel_gem_bo_unreference_final() 1356 bo_gem->map_count = 0; in drm_intel_gem_bo_unreference_final() 1428 if (bo_gem->map_count++ == 0) in drm_intel_gem_bo_map() 1435 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in drm_intel_gem_bo_map() 1448 if (--bo_gem->map_count == 0) in drm_intel_gem_bo_map() 1496 if (bo_gem->map_count++ == 0) in map_gtt() 1504 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in map_gtt() [all …]
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_exa.h | 57 unsigned map_count; member
|
D | xorg_exa.c | 277 if (priv->map_count == 0) in ExaPrepareAccess() 303 priv->map_count++; in ExaPrepareAccess() 328 if (--priv->map_count == 0) { in ExaFinishAccess()
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | resource.hpp | 53 unsigned map_count() const;
|
D | resource.cpp | 80 resource::map_count() const { in map_count() function in resource
|
/external/mesa3d/src/gallium/drivers/galahad/ |
D | glhd_objects.h | 46 int map_count; member
|
D | glhd_context.c | 899 glhd_resource->map_count++; in galahad_context_transfer_map() 933 if (glhd_resource->map_count < 1) { in galahad_context_transfer_unmap() 935 " (count = %d)\n", glhd_resource->map_count); in galahad_context_transfer_unmap() 938 glhd_resource->map_count--; in galahad_context_transfer_unmap()
|
/external/v8/src/regexp/ |
D | jsregexp.h | 1112 int map_count() const { return map_count_; } in map_count() function 1139 return bitmaps_->at(map_number)->map_count(); in Count()
|