Home
last modified time | relevance | path

Searched refs:map_count (Results 51 - 75 of 75) sorted by relevance

123

/kernel/linux/linux-6.6/sound/isa/sb/
H A Dsb_mixer.c696 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 Dmremap.c606 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 Drmap.c1699 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 Dxfs_buf.c183 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 Dxfs_buf.c182 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 Dzink_bo.c144 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 Damdgpu_bo.c177 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 Dqxl_drv.h85 unsigned int map_count; member
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-sysfs.c449 if (atomic_read(&rg->map_count)) { in store_size()
H 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()
H A Domapfb-ioctl.c227 if (atomic_read(&rg->map_count)) { in omapfb_setup_mem()
/kernel/linux/linux-6.6/include/linux/
H A Dmm_types.h751 int map_count; /* number of VMAs */ member
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-sysfs.c450 if (atomic_read(&rg->map_count)) { in store_size()
H 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()
H A Domapfb-ioctl.c227 if (atomic_read(&rg->map_count)) { in omapfb_setup_mem()
/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/
H A Dqxl_drv.h83 unsigned int map_count; member
/kernel/linux/linux-5.10/mm/
H A Dmadvise.c161 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 Dfork.c684 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 Dcoredump.c1126 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
/kernel/linux/linux-6.6/fs/
H A Dcoredump.c1162 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dprotobuf.h531 int map_count; member
/third_party/node/deps/v8/src/compiler/
H A Deffect-control-linearizer.cc1843 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 Dregexp-compiler.cc2909 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 Dfork.c602 mm->map_count++; in dup_mmap()
1051 mm->map_count = 0; in mm_init()
/third_party/node/deps/v8/src/web-snapshot/
H A Dweb-snapshot.cc394 WriteObjects(total_serializer, map_count(), map_serializer_, "maps"); in WriteSnapshot()

Completed in 61 milliseconds

123