Home
last modified time | relevance | path

Searched refs:map_count (Results 1 – 25 of 26) sorted by relevance

12

/external/libdrm/libkms/
Dradeon.c51 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()
Dvmwgfx.c46 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()
Dexynos.c34 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()
Dnouveau.c49 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()
Ddumb.c46 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()
Dintel.c48 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/
Dwayland_sw_winsys.c54 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/
Dwrapper_sw_winsys.c64 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/
Dsanitizer_allocator_test.cc240 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/
Dpb_bufmgr_debug.c81 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/
Dradeon_bo_gem.c52 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/
Di915_drm_buffer.c162 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()
Di915_drm_winsys.h55 unsigned map_count; member
/external/mesa3d/src/gallium/winsys/i915/sw/
Di915_sw_buffer.c65 buf->map_count += 1; in i915_sw_buffer_map()
75 buf->map_count -= 1; in i915_sw_buffer_unmap()
Di915_sw_winsys.h44 unsigned map_count; member
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c58 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/
Dintel_bufmgr_fake.c210 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()
Dintel_bufmgr_gem.c219 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/
Dxorg_exa.h57 unsigned map_count; member
Dxorg_exa.c277 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/
Dresource.hpp53 unsigned map_count() const;
Dresource.cpp80 resource::map_count() const { in map_count() function in resource
/external/mesa3d/src/gallium/drivers/galahad/
Dglhd_objects.h46 int map_count; member
Dglhd_context.c899 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/
Djsregexp.h1112 int map_count() const { return map_count_; } in map_count() function
1139 return bitmaps_->at(map_number)->map_count(); in Count()

12