Home
last modified time | relevance | path

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

12

/third_party/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 …]
/third_party/ltp/testcases/kernel/mem/tunable/
Dmax_map_count.c124 long map_count = 0; in count_maps() local
134 map_count++; in count_maps()
138 return map_count; in count_maps()
146 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()
/third_party/ltp/lib/
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/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()
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()
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()
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()
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()
/third_party/skia/third_party/externals/harfbuzz/src/
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/harfbuzz/src/
Dhb-ot-var-hvar-table.hh136 map_count = 0; in init()
177 map_count = last_gid; in init()
178 for (gid = 0; gid < map_count; gid++) in init()
214 output_map.resize (map_count); in remap()
231 unsigned int get_map_count () const { return map_count; } in get_map_count()
234 { return (map_count? (DeltaSetIndexMap::min_size + get_width () * map_count): 0); } in get_size()
240 unsigned int map_count; member
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/ltp/testcases/kernel/mem/mtest06/
Dmmap1.c54 static unsigned long map_count; variable
114 map_count++; in map_write_unmap()
248 map_count, mapped_sigsegv_count, in run()
/third_party/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
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudamemory.c332 mem->map_count++; in cuda_mem_map()
363 mem->map_count--; in cuda_mem_map()
382 mem->map_count--; in cuda_mem_unmap_full()
385 mem, mem->map_count, mem->map_data ? "true" : "false"); in cuda_mem_unmap_full()
398 if (mem->map_count > 0 || !mem->map_data) { in cuda_mem_unmap_full()
/third_party/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()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglbasememory.c273 if (mem->map_count++ == 0) in _map_data_gl()
279 "all flags %04x", mem->map_count, info->flags, mem->map_flags); in _map_data_gl()
306 mem->map_count--; in _map_data_gl()
357 if (--mem->map_count <= 0) { in _unmap_data_gl()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.h43 unsigned map_count; member
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc515 int map_count = 0; in GenerateDynamicMethodNewBuildMessageInfo() local
522 map_count++; in GenerateDynamicMethodNewBuildMessageInfo()
532 WriteIntToUtf16CharSequence(map_count, &chars); in GenerateDynamicMethodNewBuildMessageInfo()

12