Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
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()
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()
Dmmap.c348 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 …]
Ddebug.c192 mm->map_count, in dump_mm()
Dnommu.c589 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()
Dmremap.c593 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()
Dmadvise.c166 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()
Drmap.c1671 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/
Dqxl_object.c44 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()
Dqxl_drv.h85 unsigned int map_count; member
/linux-6.1.9/block/partitions/
Dmac.h14 __be32 map_count; /* # blocks in partition map */ member
Dmac.c66 blocks_in_map = be32_to_cpu(part->map_count); in mac_partition()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/
Domapfb.h52 atomic_t map_count; member
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()
Domapfb-sysfs.c449 if (atomic_read(&rg->map_count)) { in store_size()
Domapfb-ioctl.c227 if (atomic_read(&rg->map_count)) { in omapfb_setup_mem()
/linux-6.1.9/fs/xfs/
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.1.9/drivers/crypto/axis/
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.1.9/sound/isa/sb/
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.1.9/include/linux/
Dmm_types.h563 int map_count; /* number of VMAs */ member
/linux-6.1.9/kernel/
Dfork.c616 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/
Dcoredump.c1155 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()