Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_flush.c69 int map_count; member
134 for (i = 0; i < fbuf->map_count; ++i) { in debug_flush_buf_reference()
234 fbuf->maps[fbuf->map_count].frame = in debug_flush_map()
236 fbuf->maps[fbuf->map_count].persistent = persistent; in debug_flush_map()
239 fbuf->last_sync_map = fbuf->map_count; in debug_flush_map()
242 fbuf->map_count++; in debug_flush_map()
243 assert(fbuf->map_count < DEBUG_FLUSH_MAP_DEPTH); in debug_flush_map()
273 if (--fbuf->map_count < 0) { in debug_flush_unmap()
277 if (fbuf->has_sync_map && fbuf->last_sync_map == fbuf->map_count) { in debug_flush_unmap()
278 int i = fbuf->map_count; in debug_flush_unmap()
[all …]
/external/ltp/testcases/kernel/mem/tunable/
Dmax_map_count.c122 long map_count = 0; in count_maps() local
132 map_count++; in count_maps()
136 return map_count; in count_maps()
144 long map_count; in max_map_count_test() local
191 map_count = count_maps(pid); in max_map_count_test()
197 if (map_count == (max_maps + 1)) in max_map_count_test()
202 "expected %ld entries", map_count, max_maps); in max_map_count_test()
/external/libdrm/libkms/
Dradeon.c47 unsigned map_count; member
127 bo->map_count = 0; in radeon_bo_create()
156 bo->map_count++; in radeon_bo_map()
177 bo->map_count++; in radeon_bo_map()
187 if (--bo->map_count == 0) { in radeon_bo_unmap()
Dvmwgfx.c42 unsigned map_count; member
140 bo->map_count++; in vmwgfx_bo_map()
150 bo->map_count++; in vmwgfx_bo_map()
160 bo->map_count--; in vmwgfx_bo_unmap()
Dnouveau.c45 unsigned map_count; member
149 bo->map_count++; in nouveau_bo_map()
159 bo->map_count++; in nouveau_bo_map()
169 bo->map_count--; in nouveau_bo_unmap()
Dexynos.c44 unsigned map_count; member
144 bo->map_count++; in exynos_bo_map()
161 bo->map_count++; in exynos_bo_map()
171 bo->map_count--; in exynos_bo_unmap()
Ddumb.c42 unsigned map_count; member
134 bo->map_count++; in dumb_bo_map()
151 bo->map_count++; in dumb_bo_map()
161 bo->map_count--; in dumb_bo_unmap()
Dintel.c44 unsigned map_count; member
160 bo->map_count++; in intel_bo_map()
177 bo->map_count++; in intel_bo_map()
187 bo->map_count--; in intel_bo_unmap()
/external/mesa3d/src/gallium/winsys/sw/wrapper/
Dwrapper_sw_winsys.c64 unsigned map_count; member
220 if (!wdt->map_count) { in wsw_dt_map()
237 wdt->map_count++; in wsw_dt_map()
255 wdt->map_count--; in wsw_dt_unmap()
257 if (wdt->map_count) in wsw_dt_unmap()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_buffer.c66 unsigned map_count; member
108 assert(buf->map_count == 0); in vmw_gmr_buffer_destroy()
144 buf->map_count++; in vmw_gmr_buffer_map()
162 assert(buf->map_count > 0); in vmw_gmr_buffer_unmap()
163 if (!--buf->map_count && !buf->mgr->vws->cache_maps) { in vmw_gmr_buffer_unmap()
Dvmw_screen_ioctl.c67 uint32_t map_count; member
641 region->map_count = 0; in vmw_ioctl_region_create()
705 ++region->map_count; in vmw_ioctl_region_map()
716 --region->map_count; in vmw_ioctl_region_unmap()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc250 static int map_count, unmap_count; member
251 void OnMap(uptr p, uptr size) const { map_count++; } in OnMap()
254 int TestMapUnmapCallback::map_count; member in TestMapUnmapCallback
259 TestMapUnmapCallback::map_count = 0; in TEST()
266 EXPECT_EQ(TestMapUnmapCallback::map_count, 1); // Allocator state. in TEST()
273 EXPECT_EQ(TestMapUnmapCallback::map_count, 3); // State + alloc + metadata. in TEST()
281 TestMapUnmapCallback::map_count = 0; in TEST()
293 EXPECT_EQ(TestMapUnmapCallback::map_count, 0); in TEST()
300 EXPECT_EQ(TestMapUnmapCallback::map_count, 1); in TEST()
310 TestMapUnmapCallback::map_count = 0; in TEST()
[all …]
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_debug.c81 unsigned map_count; member
263 ++buf->map_count; in pb_debug_buffer_map()
277 assert(buf->map_count); in pb_debug_buffer_unmap()
278 if(buf->map_count) in pb_debug_buffer_unmap()
279 --buf->map_count; in pb_debug_buffer_unmap()
309 if(buf->map_count) { in pb_debug_buffer_validate()
/external/mesa3d/src/gallium/winsys/sw/kms-dri/
Dkms_dri_sw_winsys.c85 int map_count; member
229 if (kms_sw_dt->map_count > 0) { in kms_sw_displaytarget_destroy()
279 kms_sw_dt->map_count++; in kms_sw_displaytarget_map()
363 if (!kms_sw_dt->map_count) { in kms_sw_displaytarget_unmap()
367 kms_sw_dt->map_count--; in kms_sw_displaytarget_unmap()
368 if (kms_sw_dt->map_count) { in kms_sw_displaytarget_unmap()
/external/libdrm/radeon/
Dradeon_bo_gem.c49 int map_count; member
83 bo->map_count = 0; in bo_open()
155 if (bo_gem->map_count++ != 0) { in bo_map()
194 if (--bo_gem->map_count > 0) { in bo_unmap()
390 bo->map_count = 0; in radeon_gem_bo_open_prime()
/external/ltp/testcases/kernel/mem/mtest06/
Dmmap1.c58 static unsigned long map_count; variable
123 map_count++; in map_write_unmap()
248 map_count, mapped_sigsegv_count, in run()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cpp427 static int map_count, unmap_count; member
428 void OnMap(uptr p, uptr size) const { map_count++; } in OnMap()
431 int TestMapUnmapCallback::map_count; member in TestMapUnmapCallback
451 TestMapUnmapCallback::map_count = 0; in TEST()
456 EXPECT_EQ(TestMapUnmapCallback::map_count, 1); // Allocator state. in TEST()
466 EXPECT_EQ(TestMapUnmapCallback::map_count, 4); in TEST()
487 TestMapUnmapCallback::map_count = 0; in TEST()
492 EXPECT_EQ(TestMapUnmapCallback::map_count, 0); in TEST()
499 EXPECT_EQ(TestMapUnmapCallback::map_count, 1); in TEST()
509 TestMapUnmapCallback::map_count = 0; in TEST()
[all …]
/external/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_buffer.c182 if (buf->map_count) in i915_drm_buffer_map()
194 buf->map_count++; in i915_drm_buffer_map()
204 if (--buf->map_count) in i915_drm_buffer_unmap()
Di915_drm_winsys.h55 unsigned map_count; member
/external/libdrm/intel/
Dintel_bufmgr_gem.c225 int map_count; member
1296 assert(bo_gem->map_count == 0); in drm_intel_gem_bo_purge_vma_cache()
1388 if (bo_gem->map_count) { in drm_intel_gem_bo_unreference_final()
1389 DBG("bo freed with non-zero map-count %d\n", bo_gem->map_count); in drm_intel_gem_bo_unreference_final()
1390 bo_gem->map_count = 0; in drm_intel_gem_bo_unreference_final()
1460 if (bo_gem->map_count++ == 0) in drm_intel_gem_bo_map()
1467 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in drm_intel_gem_bo_map()
1480 if (--bo_gem->map_count == 0) in drm_intel_gem_bo_map()
1528 if (bo_gem->map_count++ == 0) in map_gtt()
1536 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in map_gtt()
[all …]
Dintel_bufmgr_fake.c206 unsigned int map_count; member
925 assert(bo_fake->map_count == 0); in drm_intel_fake_bo_unreference_locked()
1014 if (bo_fake->map_count++ != 0) in drm_intel_fake_bo_map_locked()
1092 assert(bo_fake->map_count != 0); in drm_intel_fake_bo_unmap_locked()
1093 if (--bo_fake->map_count != 0) in drm_intel_fake_bo_unmap_locked()
1170 assert(bo_fake->map_count == 0); in drm_intel_fake_bo_validate()
1336 assert(bo_fake->map_count == 0); in drm_intel_fake_reloc_and_validate_buffer()
1406 assert(bo_fake->map_count == 0); in drm_intel_bo_fake_post_submit()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.h43 unsigned map_count; member
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc517 int map_count = 0; in GenerateDynamicMethodNewBuildMessageInfo() local
524 map_count++; in GenerateDynamicMethodNewBuildMessageInfo()
534 WriteIntToUtf16CharSequence(map_count, &chars); in GenerateDynamicMethodNewBuildMessageInfo()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h65 int map_count; member
/external/mesa3d/src/gallium/frontends/clover/core/
Dresource.hpp59 unsigned map_count() const;

12