/third_party/ltp/testcases/kernel/mem/tunable/ |
H A D | max_map_count.c | 30 * map_count variable, and compare it with /proc/sys/vm/max_map_count, 31 * map_count should be greater than max_map_count by 1; 34 * is allocated without incrementing mm->map_count variable. On these 57 * for in the vm_area_struct's map_count. 102 long map_count = 0; in count_maps() local 112 map_count++; in count_maps() 116 return map_count; in count_maps() 124 long map_count; in max_map_count_test() local 169 map_count = count_maps(pid); in max_map_count_test() 175 if (map_count in max_map_count_test() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_debug_flush.c | 69 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...] |
/third_party/ltp/lib/ |
H A D | tst_memutils.c | 21 size_t i, map_count = 0, safety = 0, blocksize = BLOCKSIZE; in tst_pollute_memory() local 60 map_count = maxsize / blocksize; in tst_pollute_memory() 61 map_blocks = SAFE_MALLOC(map_count * sizeof(void *)); in tst_pollute_memory() 67 for (i = 0; i < map_count; i++) { in tst_pollute_memory() 72 map_count = i; in tst_pollute_memory() 79 for (i = 0; i < map_count; i++) in tst_pollute_memory()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-var-hvar-table.hh | 50 map_count = 0; in init() 91 map_count = last_gid; in init() 92 for (gid = 0; gid < map_count; gid++) in init() 128 output_map.resize (map_count); in remap() 145 unsigned int get_map_count () const { return map_count; } in get_map_count() 148 { return (map_count? (DeltaSetIndexMap::min_size + get_width () * map_count): 0); } in get_size() 154 unsigned int map_count; member
|
/third_party/mesa3d/src/gallium/winsys/sw/wrapper/ |
H A 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()
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_buffer.c | 66 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()
|
H A D | vmw_screen_ioctl.c | 67 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()
|
/third_party/libdrm/radeon/ |
H A D | radeon_bo_gem.c | 49 int map_count; member 83 bo->map_count = 0; in bo_open() 150 if (bo_gem->map_count++ != 0) { in bo_map() 189 if (--bo_gem->map_count > 0) { in bo_unmap() 385 bo->map_count = 0; in radeon_gem_bo_open_prime()
|
/third_party/ltp/testcases/kernel/mem/mtest06/ |
H A D | mmap1.c | 52 static unsigned long map_count; variable 112 map_count++; in map_write_unmap() 239 map_count, mapped_sigsegv_count, in run()
|
/third_party/mesa3d/src/gallium/winsys/sw/kms-dri/ |
H A D | kms_dri_sw_winsys.c | 88 int map_count; member 237 if (kms_sw_dt->map_count > 0) { in kms_sw_displaytarget_destroy() 289 kms_sw_dt->map_count++; in kms_sw_displaytarget_map() 379 if (!kms_sw_dt->map_count) { in kms_sw_displaytarget_unmap() 384 kms_sw_dt->map_count--; in kms_sw_displaytarget_unmap() 385 if (kms_sw_dt->map_count) { in kms_sw_displaytarget_unmap()
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A 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() 309 if(buf->map_count) { in pb_debug_buffer_validate()
|
/third_party/mesa3d/src/gallium/winsys/i915/drm/ |
H A 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()
|
H A D | i915_drm_winsys.h | 55 unsigned map_count; member
|
/third_party/libdrm/intel/ |
H A D | intel_bufmgr_gem.c | 224 int map_count; member 1254 assert(bo_gem->map_count == 0); in drm_intel_gem_bo_purge_vma_cache() 1346 if (bo_gem->map_count) { in drm_intel_gem_bo_unreference_final() 1347 DBG("bo freed with non-zero map-count %d\n", bo_gem->map_count); in drm_intel_gem_bo_unreference_final() 1348 bo_gem->map_count = 0; in drm_intel_gem_bo_unreference_final() 1418 if (bo_gem->map_count++ == 0) in drm_intel_gem_bo_map() 1424 DBG("bo_map: %d (%s), map_count=%d\n", in drm_intel_gem_bo_map() 1425 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in drm_intel_gem_bo_map() 1438 if (--bo_gem->map_count == 0) in drm_intel_gem_bo_map() 1486 if (bo_gem->map_count in map_gtt() [all...] |
H A 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()
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_bo.h | 43 unsigned map_count; member
|
H A D | radeon_drm_bo.c | 408 if (bo->u.real.map_count >= 1) { in radeon_bo_destroy() 452 bo->u.real.map_count++; in radeon_bo_do_map() 484 bo->u.real.map_count = 1; in radeon_bo_do_map() 595 assert(bo->u.real.map_count); in radeon_bo_unmap() 596 if (--bo->u.real.map_count) { in radeon_bo_unmap()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_message_lite.cc | 515 int map_count = 0; in GenerateDynamicMethodNewBuildMessageInfo() local 522 map_count++; in GenerateDynamicMethodNewBuildMessageInfo() 532 WriteIntToUtf16CharSequence(map_count, &chars); in GenerateDynamicMethodNewBuildMessageInfo()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_bo.h | 68 int map_count; member
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | resource.hpp | 59 unsigned map_count() const;
|
H A D | resource.cpp | 98 resource::map_count() const { in map_count() function in resource
|
/third_party/node/deps/v8/src/web-snapshot/ |
H A D | web-snapshot.h | 134 uint32_t map_count() const { return static_cast<uint32_t>(map_ids_.size()); } in map_count() function in v8::WebSnapshotSerializer 286 uint32_t map_count() const { return map_count_; } in map_count() function in v8::WebSnapshotDeserializer
|
/third_party/node/deps/v8/src/regexp/ |
H A D | regexp-compiler.h | 147 int map_count() const { return map_count_; } in map_count() function in v8::internal::BoyerMoorePositionInfo 173 int Count(int map_number) { return bitmaps_->at(map_number)->map_count(); } in Count()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | storage.c | 549 layout->map_count = 0; in create_layout() 579 layout->map_count++; in create_layout() 582 layout->value_count = layout->repeated_count + layout->map_count; in create_layout() 1010 for (i = 0; i < layout->map_count; i++, value++) { in layout_init()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_bo.h | 74 int map_count; member
|