Searched refs:gate_vma (Results 1 – 2 of 2) sorted by relevance
309 static struct vm_area_struct gate_vma; variable313 vma_init(&gate_vma, NULL); in gate_vma_init()314 gate_vma.vm_page_prot = PAGE_READONLY_EXEC; in gate_vma_init()315 gate_vma.vm_start = 0xffff0000; in gate_vma_init()316 gate_vma.vm_end = 0xffff0000 + PAGE_SIZE; in gate_vma_init()317 vm_flags_init(&gate_vma, VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYEXEC); in gate_vma_init()324 return &gate_vma; in get_gate_vma()329 return (addr >= gate_vma.vm_start) && (addr < gate_vma.vm_end); in in_gate_area()336 #define is_gate_vma(vma) ((vma) == &gate_vma)
1678 struct vm_area_struct *gate_vma) in coredump_next_vma() argument1680 if (gate_vma && (vma == gate_vma)) in coredump_next_vma()1686 return gate_vma; in coredump_next_vma()1721 struct vm_area_struct *gate_vma, *vma = NULL; in dump_vma_snapshot() local1735 gate_vma = get_gate_vma(mm); in dump_vma_snapshot()1736 cprm->vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()1744 while ((vma = coredump_next_vma(&vmi, vma, gate_vma)) != NULL) { in dump_vma_snapshot()