Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/um/
Dmem_32.c12 static struct vm_area_struct gate_vma; variable
19 vma_init(&gate_vma, 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-v4.19/arch/arm/kernel/
Dprocess.c333 static struct vm_area_struct gate_vma; variable
337 vma_init(&gate_vma, NULL); in gate_vma_init()
338 gate_vma.vm_page_prot = PAGE_READONLY_EXEC; in gate_vma_init()
339 gate_vma.vm_start = 0xffff0000; in gate_vma_init()
340 gate_vma.vm_end = 0xffff0000 + PAGE_SIZE; in gate_vma_init()
341 gate_vma.vm_flags = VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYEXEC; in gate_vma_init()
348 return &gate_vma; in get_gate_vma()
353 return (addr >= gate_vma.vm_start) && (addr < gate_vma.vm_end); in in_gate_area()
360 #define is_gate_vma(vma) ((vma) == &gate_vma)
/Linux-v4.19/arch/ia64/mm/
Dinit.c274 static struct vm_area_struct gate_vma; variable
278 vma_init(&gate_vma, 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-v4.19/fs/
Dbinfmt_elf.c2164 struct vm_area_struct *gate_vma) in first_vma() argument
2170 return gate_vma; in first_vma()
2177 struct vm_area_struct *gate_vma) in next_vma() argument
2184 if (this_vma == gate_vma) in next_vma()
2186 return gate_vma; in next_vma()
2218 struct vm_area_struct *vma, *gate_vma; in elf_core_dump() local
2251 gate_vma = get_gate_vma(current->mm); in elf_core_dump()
2252 if (gate_vma != NULL) in elf_core_dump()
2301 for (i = 0, vma = first_vma(current, gate_vma); vma != NULL; in elf_core_dump()
2302 vma = next_vma(vma, gate_vma)) { in elf_core_dump()
[all …]
/Linux-v4.19/arch/x86/entry/vsyscall/
Dvsyscall_64.c294 static struct vm_area_struct gate_vma = { variable
310 return &gate_vma; in get_gate_vma()