/external/ltp/testcases/kernel/mem/tunable/ |
D | max_map_count.c | 122 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/ |
D | radeon.c | 47 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()
|
D | vmwgfx.c | 42 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()
|
D | dumb.c | 42 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()
|
D | exynos.c | 44 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()
|
D | nouveau.c | 45 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()
|
D | intel.c | 44 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/u-boot/disk/ |
D | part_mac.c | 63 n = mpart->map_count; in part_test_mac() 127 n = mpart->map_count; in part_print_mac() 201 if ((part < 1) || (part > pdb_p->map_count)) { in part_mac_read_pdb() 205 dev_desc->devnum, pdb_p->map_count); in part_mac_read_pdb()
|
D | part_mac.h | 58 __u32 map_count; /* # blocks in partition map */ member
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 250 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/winsys/sw/wrapper/ |
D | wrapper_sw_winsys.c | 64 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/auxiliary/pipebuffer/ |
D | pb_bufmgr_debug.c | 81 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() 307 if(buf->map_count) { in pb_debug_buffer_validate()
|
/external/libdrm/radeon/ |
D | radeon_bo_gem.c | 49 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/ |
D | mmap1.c | 44 static unsigned long map_count; variable 109 map_count++; in map_write_unmap() 233 "threads spawned: %lu", elapsed, map_count, in run()
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
D | i915_drm_buffer.c | 182 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()
|
D | i915_drm_winsys.h | 55 unsigned map_count; member
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 225 int map_count; member 1280 assert(bo_gem->map_count == 0); in drm_intel_gem_bo_purge_vma_cache() 1372 if (bo_gem->map_count) { in drm_intel_gem_bo_unreference_final() 1373 DBG("bo freed with non-zero map-count %d\n", bo_gem->map_count); in drm_intel_gem_bo_unreference_final() 1374 bo_gem->map_count = 0; in drm_intel_gem_bo_unreference_final() 1444 if (bo_gem->map_count++ == 0) in drm_intel_gem_bo_map() 1451 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in drm_intel_gem_bo_map() 1464 if (--bo_gem->map_count == 0) in drm_intel_gem_bo_map() 1512 if (bo_gem->map_count++ == 0) in map_gtt() 1520 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in map_gtt() [all …]
|
D | intel_bufmgr_fake.c | 206 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/ |
D | radeon_drm_bo.h | 43 unsigned map_count; member
|
D | radeon_drm_bo.c | 385 if (bo->u.real.map_count >= 1) { in radeon_bo_destroy() 429 bo->u.real.map_count++; in radeon_bo_do_map() 461 bo->u.real.map_count = 1; in radeon_bo_do_map() 567 assert(bo->u.real.map_count); in radeon_bo_unmap() 568 if (--bo->u.real.map_count) { in radeon_bo_unmap()
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.h | 65 int map_count; member
|
D | amdgpu_bo.c | 188 if (bo->u.real.map_count >= 1) { in amdgpu_bo_destroy() 321 if (p_atomic_inc_return(&real->u.real.map_count) == 1) { in amdgpu_bo_map() 343 if (p_atomic_dec_zero(&real->u.real.map_count)) { in amdgpu_bo_unmap()
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | resource.hpp | 56 unsigned map_count() const;
|
D | resource.cpp | 82 resource::map_count() const { in map_count() function in resource
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_ioctl.c | 62 uint32_t map_count; member 544 region->map_count = 0; in vmw_ioctl_region_create() 604 ++region->map_count; in vmw_ioctl_region_map() 614 --region->map_count; in vmw_ioctl_region_unmap()
|