Home
last modified time | relevance | path

Searched refs:vma_count (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/proc/
H A Dproc-maps-race.c81 int vma_count; in FIXTURE() local
94 int vma_count; member
433 self->vma_count = self->page_size / 32 + 1; in FIXTURE_SETUP()
434 self->shared_mem_size = sizeof(struct vma_modifier_info) + self->vma_count * sizeof(void *); in FIXTURE_SETUP()
449 mod_info->vma_count = self->vma_count; in FIXTURE_SETUP()
459 for (i = 0; i < mod_info->vma_count; i++) { in FIXTURE_SETUP()
486 for (i = 0; i < mod_info->vma_count; i++) in FIXTURE_SETUP()
513 for (int i = 0; i < mod_info->vma_count; i++) { in FIXTURE_SETUP()
542 for (int i = 0; i < self->vma_count; i++) in FIXTURE_TEARDOWN()
/linux/fs/
H A Dcoredump.c1694 for (i = 0; i < cprm->vma_count; i++) { in free_vma_snapshot()
1737 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
1739 cprm->vma_meta = kvmalloc_objs(*cprm->vma_meta, cprm->vma_count); in dump_vma_snapshot()
1761 for (i = 0; i < cprm->vma_count; i++) { in dump_vma_snapshot()
1779 sort(cprm->vma_meta, cprm->vma_count, sizeof(*cprm->vma_meta), in dump_vma_snapshot()
H A Dbinfmt_elf.c1603 count = cprm->vma_count; in fill_files_note()
1629 for (i = 0; i < cprm->vma_count; i++) { in fill_files_note()
1667 n = cprm->vma_count - count; in fill_files_note()
2010 segs = cprm->vma_count + elf_core_extra_phdrs(cprm); in elf_core_dump()
2069 for (i = 0; i < cprm->vma_count; i++) { in elf_core_dump()
2107 for (i = 0; i < cprm->vma_count; i++) { in elf_core_dump()
H A Dbinfmt_elf_fdpic.c1455 int vma_count) in elf_fdpic_dump_segments() argument
1459 for (i = 0; i < vma_count; i++) { in elf_fdpic_dump_segments()
1521 segs = cprm->vma_count + elf_core_extra_phdrs(cprm); in elf_fdpic_core_dump()
1586 for (i = 0; i < cprm->vma_count; i++) { in elf_fdpic_core_dump()
1636 if (!elf_fdpic_dump_segments(cprm, cprm->vma_meta, cprm->vma_count)) in elf_fdpic_core_dump()
/linux/mm/
H A Dvma.c1272 .tree_end = vms->vma_count, in vms_clear_ptes()
1318 mm->map_count -= vms->vma_count; in vms_complete_munmap_vmas()
1434 mas_set(mas_detach, vms->vma_count++); in vms_gather_munmap_vmas()
1490 vma_test = mas_find(&test, vms->vma_count - 1); in vms_gather_munmap_vmas()
1494 vma_test = mas_next(&test, vms->vma_count - 1); in vms_gather_munmap_vmas()
1497 BUG_ON(vms->vma_count != test_count); in vms_gather_munmap_vmas()
1542 vms->vma_count = 0; in init_vma_munmap()
H A Dvma.h44 int vma_count; /* Number of vmas that will be removed */ member
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c1136 u32 vma_count; in panthor_vm_op_ctx_prealloc_vmas() local
1143 vma_count = 3; in panthor_vm_op_ctx_prealloc_vmas()
1154 vma_count = 2; in panthor_vm_op_ctx_prealloc_vmas()
1161 for (u32 i = 0; i < vma_count; i++) { in panthor_vm_op_ctx_prealloc_vmas()