/kernel/linux/linux-6.6/sound/isa/sb/ |
H A D | sb_mixer.c | 696 int map_count, in snd_sbmixer_init() 709 for (idx = 0; idx < map_count; idx++) { in snd_sbmixer_init() 692 snd_sbmixer_init(struct snd_sb *chip, const struct sbmix_elem *controls, int controls_count, const unsigned char map[][2], int map_count, char *name) snd_sbmixer_init() argument
|
/kernel/linux/linux-6.6/mm/ |
H A D | mremap.c | 606 if (mm->map_count >= sysctl_max_map_count - 3) in move_vma() 835 if ((mm->map_count + 2) >= sysctl_max_map_count - 3) in mremap_to()
|
H A D | rmap.c | 1699 int ref_count, map_count; in try_to_unmap_one() local 1709 map_count = folio_mapcount(folio); in try_to_unmap_one() 1721 if (ref_count == 1 + map_count && in try_to_unmap_one()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_buf.c | 183 int map_count) in xfs_buf_get_maps() 186 bp->b_map_count = map_count; in xfs_buf_get_maps() 188 if (map_count == 1) { in xfs_buf_get_maps() 193 bp->b_maps = kmem_zalloc(map_count * sizeof(struct xfs_buf_map), in xfs_buf_get_maps() 181 xfs_buf_get_maps( struct xfs_buf *bp, int map_count) xfs_buf_get_maps() argument
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_buf.c | 182 int map_count) in xfs_buf_get_maps() 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() 180 xfs_buf_get_maps( struct xfs_buf *bp, int map_count) xfs_buf_get_maps() argument
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_bo.c | 144 bo->u.real.map_count = 1; in bo_destroy() 694 p_atomic_inc(&real->u.real.map_count); in zink_bo_map() 704 assert(real->u.real.map_count != 0 && "too many unmaps"); in zink_bo_unmap() 706 if (p_atomic_dec_zero(&real->u.real.map_count)) { in zink_bo_unmap()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_bo.c | 177 assert(bo->u.real.is_user_ptr || bo->u.real.map_count == 0); in amdgpu_bo_destroy() 262 if (p_atomic_inc_return(&bo->u.real.map_count) == 1) { in amdgpu_bo_do_map() 418 assert(real->u.real.map_count != 0 && "too many unmaps"); in amdgpu_bo_unmap() 419 if (p_atomic_dec_zero(&real->u.real.map_count)) { in amdgpu_bo_unmap()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
H A D | qxl_drv.h | 85 unsigned int map_count; member
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-sysfs.c | 449 if (atomic_read(&rg->map_count)) { in store_size()
|
H 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()
|
H A D | omapfb-ioctl.c | 227 if (atomic_read(&rg->map_count)) { in omapfb_setup_mem()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | mm_types.h | 751 int map_count; /* number of VMAs */ member
|
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-sysfs.c | 450 if (atomic_read(&rg->map_count)) { in store_size()
|
H 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()
|
H A D | omapfb-ioctl.c | 227 if (atomic_read(&rg->map_count)) { in omapfb_setup_mem()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/ |
H A D | qxl_drv.h | 83 unsigned int map_count; member
|
/kernel/linux/linux-5.10/mm/ |
H A D | madvise.c | 161 if (unlikely(mm->map_count >= sysctl_max_map_count)) in madvise_update_vma() 169 if (unlikely(mm->map_count >= sysctl_max_map_count)) in madvise_update_vma()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | fork.c | 684 retval = vma_iter_bulk_alloc(&vmi, oldmm->map_count); in dup_mmap() 759 mm->map_count++; in dup_mmap() 1285 mm->map_count = 0; in mm_init()
|
/kernel/linux/linux-5.10/fs/ |
H A D | coredump.c | 1126 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
|
/kernel/linux/linux-6.6/fs/ |
H A D | coredump.c | 1162 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | protobuf.h | 531 int map_count; member
|
/third_party/node/deps/v8/src/compiler/ |
H A D | effect-control-linearizer.cc | 1843 size_t const map_count = maps.size(); in LowerCheckMaps() local 1853 for (size_t i = 0; i < map_count; ++i) { in LowerCheckMaps() 1856 if (i == map_count - 1) { in LowerCheckMaps() 1874 for (size_t i = 0; i < map_count; ++i) { in LowerCheckMaps() 1877 if (i == map_count - 1) { in LowerCheckMaps() 1895 for (size_t i = 0; i < map_count; ++i) { in LowerCheckMaps() 1899 if (i == map_count - 1) { in LowerCheckMaps() 1935 size_t const map_count = maps.size(); in LowerCompareMaps() local 1943 for (size_t i = 0; i < map_count; ++i) { in LowerCompareMaps()
|
/third_party/node/deps/v8/src/regexp/ |
H A D | regexp-compiler.cc | 2909 if (map->map_count() == 0) continue; in EmitSkipInstructions() 2911 if (found_single_character || map->map_count() > 1) { in EmitSkipInstructions() 2917 DCHECK_EQ(map->map_count(), 1); in EmitSkipInstructions()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | fork.c | 602 mm->map_count++; in dup_mmap() 1051 mm->map_count = 0; in mm_init()
|
/third_party/node/deps/v8/src/web-snapshot/ |
H A D | web-snapshot.cc | 394 WriteObjects(total_serializer, map_count(), map_serializer_, "maps"); in WriteSnapshot()
|