Home
last modified time | relevance | path

Searched refs:gate_vma (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/arch/x86/um/
Dmem_32.c13 static struct vm_area_struct gate_vma; variable
20 gate_vma.vm_mm = NULL; in gate_vma_init()
21 gate_vma.vm_start = FIXADDR_USER_START; in gate_vma_init()
22 gate_vma.vm_end = FIXADDR_USER_END; in gate_vma_init()
23 gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; in gate_vma_init()
24 gate_vma.vm_page_prot = __P101; in gate_vma_init()
32 return FIXADDR_USER_START ? &gate_vma : NULL; in get_gate_vma()
/linux-4.1.27/arch/arm/kernel/
Dprocess.c299 static struct vm_area_struct gate_vma = { variable
307 gate_vma.vm_page_prot = PAGE_READONLY_EXEC; in gate_vma_init()
314 return &gate_vma; in get_gate_vma()
319 return (addr >= gate_vma.vm_start) && (addr < gate_vma.vm_end); in in_gate_area()
326 #define is_gate_vma(vma) ((vma) == &gate_vma)
/linux-4.1.27/arch/ia64/mm/
Dinit.c281 static struct vm_area_struct gate_vma; variable
285 gate_vma.vm_mm = NULL; in gate_vma_init()
286 gate_vma.vm_start = FIXADDR_USER_START; in gate_vma_init()
287 gate_vma.vm_end = FIXADDR_USER_END; in gate_vma_init()
288 gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; in gate_vma_init()
289 gate_vma.vm_page_prot = __P101; in gate_vma_init()
297 return &gate_vma; in get_gate_vma()
/linux-4.1.27/arch/x86/kernel/
Dvsyscall_64.c283 static struct vm_area_struct gate_vma = { variable
299 return &gate_vma; in get_gate_vma()
/linux-4.1.27/fs/
Dbinfmt_elf.c2066 struct vm_area_struct *gate_vma) in first_vma() argument
2072 return gate_vma; in first_vma()
2079 struct vm_area_struct *gate_vma) in next_vma() argument
2086 if (this_vma == gate_vma) in next_vma()
2088 return gate_vma; in next_vma()
2120 struct vm_area_struct *vma, *gate_vma; in elf_core_dump() local
2153 gate_vma = get_gate_vma(current->mm); in elf_core_dump()
2154 if (gate_vma != NULL) in elf_core_dump()
2200 for (i = 0, vma = first_vma(current, gate_vma); vma != NULL; in elf_core_dump()
2201 vma = next_vma(vma, gate_vma)) { in elf_core_dump()
[all …]