Home
last modified time | relevance | path

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

123

/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()
/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()
/kernel/linux/linux-5.10/mm/
H A Dsparse.c521 * And number of present sections in this node is map_count.
525 unsigned long map_count) in sparse_init_nid()
532 mem_section_usage_size() * map_count); in sparse_init_nid()
537 sparse_buffer_init(map_count * section_map_size(), nid); in sparse_init_nid()
578 unsigned long pnum_end, pnum_begin, map_count = 1; in sparse_init() local
593 map_count++; in sparse_init()
597 sparse_init_nid(nid_begin, pnum_begin, pnum_end, map_count); in sparse_init()
600 map_count = 1; in sparse_init()
603 sparse_init_nid(nid_begin, pnum_begin, pnum_end, map_count); in sparse_init()
523 sparse_init_nid(int nid, unsigned long pnum_begin, unsigned long pnum_end, unsigned long map_count) sparse_init_nid() argument
/kernel/linux/linux-6.6/mm/
H A Dsparse.c503 * And number of present sections in this node is map_count.
507 unsigned long map_count) in sparse_init_nid()
514 mem_section_usage_size() * map_count); in sparse_init_nid()
519 sparse_buffer_init(map_count * section_map_size(), nid); in sparse_init_nid()
560 unsigned long pnum_end, pnum_begin, map_count = 1; in sparse_init() local
575 map_count++; in sparse_init()
579 sparse_init_nid(nid_begin, pnum_begin, pnum_end, map_count); in sparse_init()
582 map_count = 1; in sparse_init()
585 sparse_init_nid(nid_begin, pnum_begin, pnum_end, map_count); in sparse_init()
505 sparse_init_nid(int nid, unsigned long pnum_begin, unsigned long pnum_end, unsigned long map_count) sparse_init_nid() argument
H A Dmemory-tiers.c33 int map_count; member
470 if (!node_memory_types[node].map_count++) in __init_node_memory_type()
582 node_memory_types[node].map_count--; in clear_node_memory_type()
587 if (!node_memory_types[node].map_count) { in clear_node_memory_type()
/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
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
H A Dqxl_object.c39 WARN_ON_ONCE(bo->map_count > 0); in qxl_ttm_bo_destroy()
163 bo->map_count++; in qxl_bo_kmap()
172 bo->map_count = 1; in qxl_bo_kmap()
211 bo->map_count--; in qxl_bo_kunmap()
212 if (bo->map_count > 0) in qxl_bo_kunmap()
/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/
H A Dqxl_object.c44 WARN_ON_ONCE(bo->map_count > 0); in qxl_ttm_bo_destroy()
168 bo->map_count++; in qxl_bo_vmap_locked()
181 bo->map_count = 1; in qxl_bo_vmap_locked()
246 bo->map_count--; in qxl_bo_vunmap_locked()
247 if (bo->map_count > 0) in qxl_bo_vunmap_locked()
/kernel/linux/linux-5.10/block/partitions/
H A Dmac.h14 __be32 map_count; /* # blocks in partition map */ member
/kernel/linux/linux-6.6/block/partitions/
H A Dmac.h14 __be32 map_count; /* # blocks in partition map */ 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
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Datomisp_csi2.h52 unsigned int map_count; member
H A Datomisp_csi2_bridge.c363 i = data->map_count; in atomisp_csi2_handle_acpi_gpio_res()
373 data->map_count++; in atomisp_csi2_handle_acpi_gpio_res()
489 if (data.map_count != data.settings_count || in atomisp_csi2_add_gpio_mappings()
493 data.res_count, data.map_count); in atomisp_csi2_add_gpio_mappings()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_bo.h68 int map_count; member

Completed in 20 milliseconds

123