Home
last modified time | relevance | path

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

/linux-6.3-rc2/mm/
A Dsparse.c508 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 Dmemory-tiers.c33 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 Dmmap.c363 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 Ddebug.c193 mm->map_count, in dump_mm()
A Dnommu.c565 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 Dmremap.c594 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 Drmap.c1650 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 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()
A Dqxl_drv.h83 unsigned int map_count; member
/linux-6.3-rc2/block/partitions/
A Dmac.h14 __be32 map_count; /* # blocks in partition map */ member
A Dmac.c66 blocks_in_map = be32_to_cpu(part->map_count); in mac_partition()
/linux-6.3-rc2/drivers/video/fbdev/omap2/omapfb/
A Domapfb.h52 atomic_t map_count; member
A Domapfb-main.c1071 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 Domapfb-sysfs.c450 if (atomic_read(&rg->map_count)) { in store_size()
A Domapfb-ioctl.c227 if (atomic_read(&rg->map_count)) { in omapfb_setup_mem()
/linux-6.3-rc2/fs/xfs/
A Dxfs_buf.c182 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 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-6.3-rc2/sound/isa/sb/
A Dsb_mixer.c696 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 Dmm_types.h616 int map_count; /* number of VMAs */ member
/linux-6.3-rc2/kernel/
A Dfork.c616 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 Dcoredump.c1159 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()

Completed in 56 milliseconds