Searched refs:vma_count (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-maps-race.c | 81 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 D | coredump.c | 1693 for (i = 0; i < cprm->vma_count; i++) { in free_vma_snapshot() 1736 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot() 1738 cprm->vma_meta = kvmalloc_array(cprm->vma_count, sizeof(*cprm->vma_meta), GFP_KERNEL); in dump_vma_snapshot() 1760 for (i = 0; i < cprm->vma_count; i++) { in dump_vma_snapshot() 1778 sort(cprm->vma_meta, cprm->vma_count, sizeof(*cprm->vma_meta), in dump_vma_snapshot()
|
| H A D | binfmt_elf_fdpic.c | 1449 int vma_count) in elf_fdpic_dump_segments() argument 1453 for (i = 0; i < vma_count; i++) { in elf_fdpic_dump_segments() 1515 segs = cprm->vma_count + elf_core_extra_phdrs(cprm); in elf_fdpic_core_dump() 1580 for (i = 0; i < cprm->vma_count; i++) { in elf_fdpic_core_dump() 1630 if (!elf_fdpic_dump_segments(cprm, cprm->vma_meta, cprm->vma_count)) in elf_fdpic_core_dump()
|
| /linux/mm/ |
| H A D | vma.c | 1272 vms->vma_count); in vms_clear_ptes() 1312 mm->map_count -= vms->vma_count; in vms_complete_munmap_vmas() 1428 mas_set(mas_detach, vms->vma_count++); in vms_gather_munmap_vmas() 1484 vma_test = mas_find(&test, vms->vma_count - 1); in vms_gather_munmap_vmas() 1488 vma_test = mas_next(&test, vms->vma_count - 1); in vms_gather_munmap_vmas() 1491 BUG_ON(vms->vma_count != test_count); in vms_gather_munmap_vmas() 1536 vms->vma_count = 0; in init_vma_munmap()
|
| H A D | vma.h | 44 int vma_count; /* Number of vmas that will be removed */ member
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_mmu.c | 1144 u32 vma_count; in panthor_vm_op_ctx_prealloc_vmas() local 1151 vma_count = 3; in panthor_vm_op_ctx_prealloc_vmas() 1162 vma_count = 2; in panthor_vm_op_ctx_prealloc_vmas() 1169 for (u32 i = 0; i < vma_count; i++) { in panthor_vm_op_ctx_prealloc_vmas()
|