/linux-6.1.9/mm/ |
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()
|
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()
|
D | mmap.c | 348 if (i != mm->map_count) { in validate_mm() 349 pr_emerg("map_count %d mas_for_each %d\n", mm->map_count, i); in validate_mm() 490 mm->map_count++; in vma_link() 596 mm->map_count--; in vma_expand() 811 mm->map_count++; in __vma_adjust() 837 mm->map_count--; in __vma_adjust() 1281 if (mm->map_count > sysctl_max_map_count) in do_mmap() 2270 if (mm->map_count >= sysctl_max_map_count) in split_vma() 2334 if (end < vma->vm_end && mm->map_count >= sysctl_max_map_count) in do_mas_align_munmap() 2429 mm->map_count -= count; in do_mas_align_munmap() [all …]
|
D | debug.c | 192 mm->map_count, in dump_mm()
|
D | nommu.c | 589 mm->map_count++; in mas_add_vma_to_mm() 616 vma->vm_mm->map_count--; in cleanup_vma_from_mm() 1351 if (mm->map_count >= sysctl_max_map_count) in split_vma() 1402 mm->map_count++; in split_vma()
|
D | mremap.c | 593 if (mm->map_count >= sysctl_max_map_count - 3) in move_vma() 816 if ((mm->map_count + 2) >= sysctl_max_map_count - 3) in mremap_to()
|
D | madvise.c | 166 if (unlikely(mm->map_count >= sysctl_max_map_count)) in madvise_update_vma() 174 if (unlikely(mm->map_count >= sysctl_max_map_count)) in madvise_update_vma()
|
D | rmap.c | 1671 int ref_count, map_count; in try_to_unmap_one() local 1681 map_count = folio_mapcount(folio); in try_to_unmap_one() 1693 if (ref_count == 1 + map_count && in try_to_unmap_one()
|
/linux-6.1.9/drivers/gpu/drm/qxl/ |
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() 174 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()
|
D | qxl_drv.h | 85 unsigned int map_count; member
|
/linux-6.1.9/block/partitions/ |
D | mac.h | 14 __be32 map_count; /* # blocks in partition map */ member
|
D | mac.c | 66 blocks_in_map = be32_to_cpu(part->map_count); in mac_partition()
|
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb.h | 52 atomic_t map_count; member
|
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()
|
D | omapfb-sysfs.c | 449 if (atomic_read(&rg->map_count)) { in store_size()
|
D | omapfb-ioctl.c | 227 if (atomic_read(&rg->map_count)) { in omapfb_setup_mem()
|
/linux-6.1.9/fs/xfs/ |
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.1.9/drivers/crypto/axis/ |
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.1.9/sound/isa/sb/ |
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.1.9/include/linux/ |
D | mm_types.h | 563 int map_count; /* number of VMAs */ member
|
/linux-6.1.9/kernel/ |
D | fork.c | 616 retval = mas_expected_entries(&mas, oldmm->map_count); in dup_mmap() 692 mm->map_count++; in dup_mmap() 1121 mm->map_count = 0; in mm_init()
|
/linux-6.1.9/fs/ |
D | coredump.c | 1155 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
|