/linux-6.3-rc2/mm/ |
A D | sparse.c | 508 unsigned long map_count) in sparse_init_nid() argument 515 mem_section_usage_size() * map_count); in sparse_init_nid() 520 sparse_buffer_init(map_count * section_map_size(), nid); in sparse_init_nid() 561 unsigned long pnum_end, pnum_begin, map_count = 1; in sparse_init() local 576 map_count++; in sparse_init() 580 sparse_init_nid(nid_begin, pnum_begin, pnum_end, map_count); in sparse_init() 583 map_count = 1; in sparse_init() 586 sparse_init_nid(nid_begin, pnum_begin, pnum_end, map_count); in sparse_init()
|
A D | memory-tiers.c | 33 int map_count; member 471 if (!node_memory_types[node].map_count++) in __init_node_memory_type() 583 node_memory_types[node].map_count--; in clear_node_memory_type() 588 if (!node_memory_types[node].map_count) { in clear_node_memory_type()
|
A D | mmap.c | 363 if (i != mm->map_count) { in validate_mm() 455 mm->map_count++; in vma_link() 573 mm->map_count++; in vma_complete() 600 mm->map_count--; in vma_complete() 1234 if (mm->map_count > sysctl_max_map_count) in do_mmap() 2239 if (vma->vm_mm->map_count >= sysctl_max_map_count) in split_vma() 2376 mm->map_count -= count; in do_vmi_align_munmap() 2645 mm->map_count++; in mmap_region() 2896 if (mm->map_count > sysctl_max_map_count) in do_brk_flags() 2938 mm->map_count++; in do_brk_flags() [all …]
|
A D | debug.c | 193 mm->map_count, in dump_mm()
|
A D | nommu.c | 565 vma->vm_mm->map_count--; in cleanup_vma_from_mm() 1189 current->mm->map_count++; in do_mmap() 1315 if (mm->map_count >= sysctl_max_map_count) in split_vma() 1364 mm->map_count++; in split_vma()
|
A D | mremap.c | 594 if (mm->map_count >= sysctl_max_map_count - 3) in move_vma() 822 if ((mm->map_count + 2) >= sysctl_max_map_count - 3) in mremap_to()
|
A D | rmap.c | 1650 int ref_count, map_count; in try_to_unmap_one() local 1660 map_count = folio_mapcount(folio); in try_to_unmap_one() 1672 if (ref_count == 1 + map_count && in try_to_unmap_one()
|
/linux-6.3-rc2/drivers/gpu/drm/qxl/ |
A D | qxl_object.c | 44 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()
|
A D | qxl_drv.h | 83 unsigned int map_count; member
|
/linux-6.3-rc2/block/partitions/ |
A D | mac.h | 14 __be32 map_count; /* # blocks in partition map */ member
|
A D | mac.c | 66 blocks_in_map = be32_to_cpu(part->map_count); in mac_partition()
|
/linux-6.3-rc2/drivers/video/fbdev/omap2/omapfb/ |
A D | omapfb.h | 52 atomic_t map_count; member
|
A D | omapfb-main.c | 1071 atomic_inc(&rg->map_count); in mmap_user_open() 1080 atomic_dec(&rg->map_count); in mmap_user_close() 1115 atomic_inc(&rg->map_count); in omapfb_mmap() 1308 WARN_ON(atomic_read(&rg->map_count)); in omapfb_free_fbmem()
|
A D | omapfb-sysfs.c | 450 if (atomic_read(&rg->map_count)) { in store_size()
|
A D | omapfb-ioctl.c | 227 if (atomic_read(&rg->map_count)) { in omapfb_setup_mem()
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_buf.c | 182 int map_count) in xfs_buf_get_maps() argument 185 bp->b_map_count = map_count; in xfs_buf_get_maps() 187 if (map_count == 1) { in xfs_buf_get_maps() 192 bp->b_maps = kmem_zalloc(map_count * sizeof(struct xfs_buf_map), in xfs_buf_get_maps()
|
/linux-6.3-rc2/drivers/crypto/axis/ |
A D | artpec6_crypto.c | 251 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-6.3-rc2/sound/isa/sb/ |
A D | sb_mixer.c | 696 int map_count, in snd_sbmixer_init() argument 709 for (idx = 0; idx < map_count; idx++) { in snd_sbmixer_init()
|
/linux-6.3-rc2/include/linux/ |
A D | mm_types.h | 616 int map_count; /* number of VMAs */ member
|
/linux-6.3-rc2/kernel/ |
A D | fork.c | 616 retval = vma_iter_bulk_alloc(&vmi, oldmm->map_count); in dup_mmap() 689 mm->map_count++; in dup_mmap() 1134 mm->map_count = 0; in mm_init()
|
/linux-6.3-rc2/fs/ |
A D | coredump.c | 1159 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
|