Home
last modified time | relevance | path

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

/linux/tools/testing/vma/
H A Dvma.c266 mm->map_count = 0; in cleanup_mm()
515 ASSERT_EQ(mm.map_count, 4); in __test_merge_new()
534 ASSERT_EQ(mm.map_count, 3); in __test_merge_new()
553 ASSERT_EQ(mm.map_count, 3); in __test_merge_new()
574 ASSERT_EQ(mm.map_count, 3); in __test_merge_new()
594 ASSERT_EQ(mm.map_count, 2); in __test_merge_new()
614 ASSERT_EQ(mm.map_count, 2); in __test_merge_new()
633 ASSERT_EQ(mm.map_count, 1); in __test_merge_new()
1008 ASSERT_EQ(mm.map_count, 2); in test_vma_merge_new_with_close()
1067 ASSERT_EQ(mm.map_count, 2); in __test_merge_existing()
[all …]
H A Dvma_internal.h538 int map_count; /* number of VMAs */ member
/linux/drivers/gpu/drm/qxl/
H A Dqxl_object.c41 WARN_ON_ONCE(bo->map_count > 0); in qxl_ttm_bo_destroy()
163 bo->map_count++; in qxl_bo_vmap_locked()
172 bo->map_count = 1; in qxl_bo_vmap_locked()
245 bo->map_count--; in qxl_bo_vunmap_locked()
246 if (bo->map_count > 0) in qxl_bo_vunmap_locked()
H A Dqxl_drv.h82 unsigned int map_count; member
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c357 atomic_inc(&vbo->map_count); in vmw_bo_map_and_cache_size()
382 int map_count; in vmw_bo_unmap() local
387 map_count = atomic_dec_return(&vbo->map_count); in vmw_bo_unmap()
389 if (!map_count) { in vmw_bo_unmap()
426 atomic_set(&vmw_bo->map_count, 0); in vmw_bo_init()
/linux/block/partitions/
H A Dmac.h14 __be32 map_count; /* # blocks in partition map */ member
H A Dmac.c80 blocks_in_map = be32_to_cpu(part->map_count); in mac_partition()
/linux/fs/xfs/
H A Dxfs_buf_item.h66 unsigned int xfs_buf_inval_log_space(unsigned int map_count,
H A Dxfs_buf_item.c167 unsigned int map_count, in xfs_buf_inval_log_space() argument
177 return ret * map_count; in xfs_buf_inval_log_space()
/linux/mm/
H A Dmemory-tiers.c35 int map_count; member
526 if (!node_memory_types[node].map_count++) in __init_node_memory_type()
648 node_memory_types[node].map_count--; in clear_node_memory_type()
653 if (!node_memory_types[node].map_count) { in clear_node_memory_type()
H A Dvma.c354 mm->map_count++; in vma_complete()
385 mm->map_count--; in vma_complete()
593 if (vma->vm_mm->map_count >= sysctl_max_map_count) in split_vma()
684 if (++i > mm->map_count + 10) { in validate_mm()
689 if (i != mm->map_count) { in validate_mm()
690 pr_emerg("map_count %d vma iterator %d\n", mm->map_count, i); in validate_mm()
1312 mm->map_count -= vms->vma_count; in vms_complete_munmap_vmas()
1386 * Make sure that map_count on return from munmap() will in vms_gather_munmap_vmas()
1387 * not exceed its limit; but let map_count g in vms_gather_munmap_vmas()
[all...]
H A Dnommu.c580 vma->vm_mm->map_count--; in cleanup_vma_from_mm()
1202 current->mm->map_count++; in do_mmap()
1320 if (mm->map_count >= sysctl_max_map_count) in split_vma()
1370 mm->map_count++; in split_vma()
H A Ddebug.c207 mm->map_count, in dump_mm()
H A Dmmap.c377 if (mm->map_count > sysctl_max_map_count) in do_mmap()
1308 BUG_ON(count != mm->map_count); in exit_mmap()
1805 mm->map_count++; in dup_mmap()
H A Dmremap.c1047 if (current->mm->map_count >= sysctl_max_map_count - 3) in prep_move_vma()
1820 if ((current->mm->map_count + 2) >= sysctl_max_map_count - 3) in check_mremap_params()
H A Drmap.c2193 int ref_count, map_count; in try_to_unmap_one()
2203 map_count = folio_mapcount(folio); in try_to_unmap_one()
2219 } else if (ref_count != 1 + map_count) { in try_to_unmap_one()
2107 int ref_count, map_count; try_to_unmap_one() local
H A Dhuge_memory.c3356 int ref_count, map_count; in __discard_anon_folio_pmd_locked() local
3376 map_count = folio_mapcount(folio); in __discard_anon_folio_pmd_locked()
3399 if (ref_count != map_count + 1) { in __discard_anon_folio_pmd_locked()
/linux/drivers/video/fbdev/omap2/omapfb/
H A Domapfb.h52 atomic_t map_count; member
H A Domapfb-main.c1071 atomic_inc(&rg->map_count); in mmap_user_open()
1080 atomic_dec(&rg->map_count); in mmap_user_close()
1117 atomic_inc(&rg->map_count); in omapfb_mmap()
1309 WARN_ON(atomic_read(&rg->map_count)); in omapfb_free_fbmem()
H A Domapfb-sysfs.c450 if (atomic_read(&rg->map_count)) { in store_size()
/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c251 size_t map_count; member
522 dma->map_count = 0; in artpec6_crypto_init_dma_operation()
614 if (dma->map_count >= ARRAY_SIZE(dma->maps)) in artpec6_crypto_dma_map_page()
621 map = &dma->maps[dma->map_count++]; in artpec6_crypto_dma_map_page()
683 for (i = 0; i < dma->map_count; i++) { in artpec6_crypto_dma_unmap_all()
689 dma->map_count = 0; in artpec6_crypto_dma_unmap_all()
/linux/include/linux/
H A Dmm_types.h1178 int map_count; /* number of VMAs */
1131 int map_count; /* number of VMAs */ global() member
/linux/fs/
H A Dcoredump.c1737 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
/linux/kernel/
H A Dfork.c1082 mm->map_count = 0; in mm_init()