Home
last modified time | relevance | path

Searched refs:map_count (Results 1 - 25 of 31) sorted by relevance

12

/third_party/ltp/testcases/kernel/mem/tunable/
H A Dmax_map_count.c30 * 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 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...]
/third_party/ltp/lib/
H A Dtst_memutils.c21 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 Dhb-ot-var-hvar-table.hh50 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 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()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A 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()
H A 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()
/third_party/libdrm/radeon/
H A Dradeon_bo_gem.c49 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 Dmmap1.c52 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 Dkms_dri_sw_winsys.c88 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 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()
/third_party/mesa3d/src/gallium/winsys/i915/drm/
H A 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()
H A Di915_drm_winsys.h55 unsigned map_count; member
/third_party/libdrm/intel/
H A Dintel_bufmgr_gem.c224 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 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()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_bo.h43 unsigned map_count; member
H A Dradeon_drm_bo.c408 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 Djava_message_lite.cc515 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 Damdgpu_bo.h68 int map_count; member
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dresource.hpp59 unsigned map_count() const;
H A Dresource.cpp98 resource::map_count() const { in map_count() function in resource
/third_party/node/deps/v8/src/web-snapshot/
H A Dweb-snapshot.h134 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 Dregexp-compiler.h147 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 Dstorage.c549 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 Dzink_bo.h74 int map_count; member

Completed in 27 milliseconds

12