Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/um/
Dmem_32.c9 static struct vm_area_struct gate_vma; variable
16 vma_init(&gate_vma, NULL); in gate_vma_init()
17 gate_vma.vm_start = FIXADDR_USER_START; in gate_vma_init()
18 gate_vma.vm_end = FIXADDR_USER_END; in gate_vma_init()
19 gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; in gate_vma_init()
20 gate_vma.vm_page_prot = __P101; in gate_vma_init()
28 return FIXADDR_USER_START ? &gate_vma : NULL; in get_gate_vma()
/Linux-v5.15/arch/arm/kernel/
Dprocess.c310 static struct vm_area_struct gate_vma; variable
314 vma_init(&gate_vma, NULL); in gate_vma_init()
315 gate_vma.vm_page_prot = PAGE_READONLY_EXEC; in gate_vma_init()
316 gate_vma.vm_start = 0xffff0000; in gate_vma_init()
317 gate_vma.vm_end = 0xffff0000 + PAGE_SIZE; in gate_vma_init()
318 gate_vma.vm_flags = VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYEXEC; in gate_vma_init()
325 return &gate_vma; in get_gate_vma()
330 return (addr >= gate_vma.vm_start) && (addr < gate_vma.vm_end); in in_gate_area()
337 #define is_gate_vma(vma) ((vma) == &gate_vma)
/Linux-v5.15/arch/ia64/mm/
Dinit.c268 static struct vm_area_struct gate_vma; variable
272 vma_init(&gate_vma, NULL); in gate_vma_init()
273 gate_vma.vm_start = FIXADDR_USER_START; in gate_vma_init()
274 gate_vma.vm_end = FIXADDR_USER_END; in gate_vma_init()
275 gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; in gate_vma_init()
276 gate_vma.vm_page_prot = __P101; in gate_vma_init()
284 return &gate_vma; in get_gate_vma()
/Linux-v5.15/fs/
Dcoredump.c1067 struct vm_area_struct *gate_vma) in first_vma() argument
1073 return gate_vma; in first_vma()
1081 struct vm_area_struct *gate_vma) in next_vma() argument
1088 if (this_vma == gate_vma) in next_vma()
1090 return gate_vma; in next_vma()
1101 struct vm_area_struct *vma, *gate_vma; in dump_vma_snapshot() local
1114 gate_vma = get_gate_vma(mm); in dump_vma_snapshot()
1115 *vma_count = mm->map_count + (gate_vma ? 1 : 0); in dump_vma_snapshot()
1123 for (i = 0, vma = first_vma(current, gate_vma); vma != NULL; in dump_vma_snapshot()
1124 vma = next_vma(vma, gate_vma), i++) { in dump_vma_snapshot()
/Linux-v5.15/arch/x86/entry/vsyscall/
Dvsyscall_64.c308 static struct vm_area_struct gate_vma __ro_after_init = {
324 return &gate_vma; in get_gate_vma()
393 gate_vma.vm_flags = VM_EXEC; in map_vsyscall()