Home
last modified time | relevance | path

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

/linux/mm/
H A Dsparse.c258 sparse_usage_init(int nid,unsigned long map_count) sparse_usage_init() argument
284 sparse_init_nid(int nid,unsigned long pnum_begin,unsigned long pnum_end,unsigned long map_count) sparse_init_nid() argument
322 unsigned long pnum_end, pnum_begin, map_count = 1; sparse_init() local
H A Dvma.c385 mm->map_count++; in vma_complete()
416 mm->map_count--; in vma_complete()
630 if (vma->vm_mm->map_count >= get_sysctl_max_map_count()) in __split_vma()
731 if (++i > mm->map_count + 10) { in validate_mm()
736 if (i != mm->map_count) { in validate_mm()
737 pr_emerg("map_count %d vma iterator %d\n", mm->map_count, i); in validate_mm()
1444 mm->map_count -= vms->vma_count; in vms_complete_munmap_vmas()
1518 * Make sure that map_count on return from munmap() will in vms_gather_munmap_vmas()
1519 * not exceed its limit; but let map_count g in vms_gather_munmap_vmas()
[all...]
H A Dmremap.c1030 int map_count = mm->map_count; in vrm_stat_account()
1056 map_count += 2; in __check_map_count_against_split()
1078 map_count += 2; in __check_map_count_against_split()
1082 map_count++; in __check_map_count_against_split()
1084 return map_count <= sys_map_count; in __check_map_count_against_split()
1044 int map_count = mm->map_count; __check_map_count_against_split() local
H A Dnommu.c580 vma->vm_mm->map_count--; in cleanup_vma_from_mm()
1039 if (current->mm->map_count >= get_sysctl_max_map_count()) in do_mmap()
1207 current->mm->map_count++; in do_mmap()
1344 if (mm->map_count >= get_sysctl_max_map_count()) in split_vma()
1400 mm->map_count++; in split_vma()
H A Drmap.c2094 int ref_count, map_count; in ttu_anon_lazyfree_folio()
2104 map_count = folio_mapcount(folio); in ttu_anon_lazyfree_folio()
2128 if (ref_count != 1 + map_count) in swp_pte_prepare()
2081 int ref_count, map_count; ttu_anon_lazyfree_folio() local
H A Dhuge_memory.c3643 int ref_count, map_count; in remap_page()
3663 map_count = folio_mapcount(folio); in lru_add_split_folio()
3686 if (ref_count != map_count + 1) { in __split_folio_to_order()
3562 int ref_count, map_count; __discard_anon_folio_pmd_locked() local
/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/tools/testing/vma/tests/
H A Dmerge.c320 ASSERT_EQ(mm.map_count, 4); in __test_merge_new()
339 ASSERT_EQ(mm.map_count, 3); in __test_merge_new()
359 ASSERT_EQ(mm.map_count, 3); in __test_merge_new()
381 ASSERT_EQ(mm.map_count, 3); in __test_merge_new()
402 ASSERT_EQ(mm.map_count, 2); in __test_merge_new()
423 ASSERT_EQ(mm.map_count, 2); in __test_merge_new()
443 ASSERT_EQ(mm.map_count, 1); in __test_merge_new()
823 ASSERT_EQ(mm.map_count, 2); in test_vma_merge_new_with_close()
885 ASSERT_EQ(mm.map_count, 2); in __test_merge_existing()
916 ASSERT_EQ(mm.map_count, in __test_merge_existing()
[all...]
H A Dmmap.c30 ASSERT_EQ(mm.map_count, 2); in test_mmap_region_basic()
70 ASSERT_EQ(mm.map_count, 2);
75 ASSERT_EQ(mm.map_count, merge ? 1 : 3);
98 ASSERT_EQ(count, mm.map_count);
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c360 atomic_inc(&vbo->map_count); in vmw_bo_map_and_cache_size()
385 int map_count; in vmw_bo_unmap()
390 map_count = atomic_dec_return(&vbo->map_count); in vmw_bo_unmap()
392 if (!map_count) { in vmw_bo_unmap()
429 atomic_set(&vmw_bo->map_count, 0); in vmw_bo_init()
382 int map_count; vmw_bo_unmap() local
/linux/block/partitions/
H A Dmac.h14 __be32 map_count; /* # blocks in partition map */ member
/linux/fs/xfs/
H A Dxfs_buf_item.h
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/tools/testing/vma/
H A Dshared.c94 mm->map_count = 0; in vma_write_started()
/linux/drivers/video/fbdev/omap2/omapfb/
H A Domapfb.h52 atomic_t map_count; member
/linux/include/linux/
H A Dmm_types.h1272 int map_count; /* number of VMAs */
1233 int map_count; /* number of VMAs */ global() member
/linux/tools/testing/vma/include/
H A Ddup.h29 int map_count; /* number of VMAs */ member
/linux/fs/
H A Dcoredump.c1978 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
/linux/kernel/
H A Dfork.c1100 mm->map_count = 0; in mm_init()