Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dcoredump.h32 int dump_vma_snapshot(struct coredump_params *cprm, int *vma_count,
/Linux-v5.15/fs/
Dcoredump.c1097 int dump_vma_snapshot(struct coredump_params *cprm, int *vma_count, in dump_vma_snapshot() argument
1115 *vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
1117 *vma_meta = kvmalloc_array(*vma_count, sizeof(**vma_meta), GFP_KERNEL); in dump_vma_snapshot()
1137 if (WARN_ON(i != *vma_count)) { in dump_vma_snapshot()
Dbinfmt_elf_fdpic.c1445 int vma_count) in elf_fdpic_dump_segments() argument
1449 for (i = 0; i < vma_count; i++) { in elf_fdpic_dump_segments()
1468 int vma_count, segs; in elf_fdpic_core_dump() local
1494 if (dump_vma_snapshot(cprm, &vma_count, &vma_meta, &vma_data_size)) in elf_fdpic_core_dump()
1516 segs = vma_count + elf_core_extra_phdrs(); in elf_fdpic_core_dump()
1581 for (i = 0; i < vma_count; i++) { in elf_fdpic_core_dump()
1631 if (!elf_fdpic_dump_segments(cprm, vma_meta, vma_count)) in elf_fdpic_core_dump()
Dbinfmt_elf.c2159 int vma_count, segs, i; in elf_core_dump() local
2170 if (dump_vma_snapshot(cprm, &vma_count, &vma_meta, &vma_data_size)) in elf_core_dump()
2177 segs = vma_count + elf_core_extra_phdrs(); in elf_core_dump()
2236 for (i = 0; i < vma_count; i++) { in elf_core_dump()
2274 for (i = 0; i < vma_count; i++) { in elf_core_dump()