Searched refs:vma_count (Results 1 – 8 of 8) sorted by relevance
/linux/arch/arm64/kernel/ |
H A D | elfcore.c | 14 i < cprm->vma_count; \ 83 int vma_count = 0; in elf_core_extra_phdrs() local 86 vma_count++; in elf_core_extra_phdrs() 88 return vma_count; in elf_core_extra_phdrs()
|
/linux/tools/testing/selftests/proc/ |
H A D | proc-maps-race.c | 79 int vma_count; in FIXTURE() local 92 int vma_count; member 412 self->vma_count = self->page_size / 32 + 1; in FIXTURE_SETUP() 413 self->shared_mem_size = sizeof(struct vma_modifier_info) + self->vma_count * sizeof(void *); in FIXTURE_SETUP() 428 mod_info->vma_count = self->vma_count; in FIXTURE_SETUP() 438 for (i = 0; i < mod_info->vma_count; i++) { in FIXTURE_SETUP() 465 for (i = 0; i < mod_info->vma_count; i++) in FIXTURE_SETUP() 492 for (int i = 0; i < mod_info->vma_count; i++) { in FIXTURE_SETUP() 521 for (int i = 0; i < self->vma_count; in FIXTURE_TEARDOWN() [all...] |
/linux/include/linux/ |
H A D | coredump.h | 28 int vma_count; member
|
/linux/fs/ |
H A D | coredump.c | 1687 for (i = 0; i < cprm->vma_count; i++) { in free_vma_snapshot() 1730 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot() 1732 cprm->vma_meta = kvmalloc_array(cprm->vma_count, sizeof(*cprm->vma_meta), GFP_KERNEL); in dump_vma_snapshot() 1754 for (i = 0; i < cprm->vma_count; i++) { in dump_vma_snapshot() 1772 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 | 1229 vms->vma_count, mm_wr_locked); in vms_clear_ptes() 1269 mm->map_count -= vms->vma_count; in vms_complete_munmap_vmas() 1385 mas_set(mas_detach, vms->vma_count++); in vms_gather_munmap_vmas() 1441 vma_test = mas_find(&test, vms->vma_count - 1); in vms_gather_munmap_vmas() 1445 vma_test = mas_next(&test, vms->vma_count - 1); in vms_gather_munmap_vmas() 1448 BUG_ON(vms->vma_count != test_count); in vms_gather_munmap_vmas() 1493 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 | 1139 u32 vma_count; in panthor_vm_op_ctx_prealloc_vmas() local 1146 vma_count = 3; in panthor_vm_op_ctx_prealloc_vmas() 1153 vma_count = 1; in panthor_vm_op_ctx_prealloc_vmas() 1160 for (u32 i = 0; i < vma_count; i++) { in panthor_vm_op_ctx_prealloc_vmas()
|