Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/um/
Dmem_32.c12 static struct vm_area_struct gate_vma; variable
19 gate_vma.vm_mm = NULL; in gate_vma_init()
20 gate_vma.vm_start = FIXADDR_USER_START; in gate_vma_init()
21 gate_vma.vm_end = FIXADDR_USER_END; in gate_vma_init()
22 gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; in gate_vma_init()
23 gate_vma.vm_page_prot = __P101; in gate_vma_init()
31 return FIXADDR_USER_START ? &gate_vma : NULL; in get_gate_vma()
/linux-4.4.14/arch/arm/kernel/
Dprocess.c328 static struct vm_area_struct gate_vma = { variable
336 gate_vma.vm_page_prot = PAGE_READONLY_EXEC; in gate_vma_init()
343 return &gate_vma; in get_gate_vma()
348 return (addr >= gate_vma.vm_start) && (addr < gate_vma.vm_end); in in_gate_area()
355 #define is_gate_vma(vma) ((vma) == &gate_vma)
/linux-4.4.14/arch/ia64/mm/
Dinit.c274 static struct vm_area_struct gate_vma; variable
278 gate_vma.vm_mm = NULL; in gate_vma_init()
279 gate_vma.vm_start = FIXADDR_USER_START; in gate_vma_init()
280 gate_vma.vm_end = FIXADDR_USER_END; in gate_vma_init()
281 gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; in gate_vma_init()
282 gate_vma.vm_page_prot = __P101; in gate_vma_init()
290 return &gate_vma; in get_gate_vma()
/linux-4.4.14/arch/x86/entry/vsyscall/
Dvsyscall_64.c290 static struct vm_area_struct gate_vma = { variable
306 return &gate_vma; in get_gate_vma()
/linux-4.4.14/fs/
Dbinfmt_elf.c2076 struct vm_area_struct *gate_vma) in first_vma() argument
2082 return gate_vma; in first_vma()
2089 struct vm_area_struct *gate_vma) in next_vma() argument
2096 if (this_vma == gate_vma) in next_vma()
2098 return gate_vma; in next_vma()
2130 struct vm_area_struct *vma, *gate_vma; in elf_core_dump() local
2163 gate_vma = get_gate_vma(current->mm); in elf_core_dump()
2164 if (gate_vma != NULL) in elf_core_dump()
2210 for (i = 0, vma = first_vma(current, gate_vma); vma != NULL; in elf_core_dump()
2211 vma = next_vma(vma, gate_vma)) { in elf_core_dump()
[all …]