/arch/xtensa/kernel/ |
D | syscall.c | 69 if ((flags & MAP_SHARED) && in arch_get_unmapped_area() 80 if (flags & MAP_SHARED) in arch_get_unmapped_area() 92 if (flags & MAP_SHARED) in arch_get_unmapped_area()
|
/arch/sh/mm/ |
D | mmap.c | 45 if ((flags & MAP_SHARED) && in arch_get_unmapped_area() 55 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area() 94 if ((flags & MAP_SHARED) && in arch_get_unmapped_area_topdown() 104 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area_topdown()
|
/arch/arm/mm/ |
D | mmap.c | 69 do_align = filp || (flags & MAP_SHARED); in arch_get_unmapped_area() 75 if (aliasing && flags & MAP_SHARED && in arch_get_unmapped_area() 122 do_align = filp || (flags & MAP_SHARED); in arch_get_unmapped_area_topdown() 129 if (aliasing && flags & MAP_SHARED && in arch_get_unmapped_area_topdown()
|
/arch/arc/mm/ |
D | mmap.c | 44 do_align = filp || (flags & MAP_SHARED); in arch_get_unmapped_area() 50 if (aliasing && flags & MAP_SHARED && in arch_get_unmapped_area()
|
/arch/xtensa/include/uapi/asm/ |
D | mman.h | 36 #define MAP_SHARED 0x001 /* Share changes */ macro
|
/arch/alpha/include/uapi/asm/ |
D | mman.h | 12 #define MAP_SHARED 0x01 /* Share changes */ macro
|
/arch/mips/include/uapi/asm/ |
D | mman.h | 29 #define MAP_SHARED 0x001 /* Share changes */ macro
|
/arch/parisc/kernel/ |
D | sys_parisc.c | 100 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area() 105 if ((flags & MAP_SHARED) && last_mmap && in arch_get_unmapped_area() 161 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area_topdown() 166 if ((flags & MAP_SHARED) && last_mmap && in arch_get_unmapped_area_topdown()
|
/arch/parisc/include/uapi/asm/ |
D | mman.h | 12 #define MAP_SHARED 0x01 /* Share changes */ macro
|
/arch/mips/mm/ |
D | mmap.c | 76 if ((flags & MAP_SHARED) && in arch_get_unmapped_area_common() 83 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area_common()
|
/arch/sparc/kernel/ |
D | sys_sparc_32.c | 47 if ((flags & MAP_SHARED) && in arch_get_unmapped_area() 63 info.align_mask = (flags & MAP_SHARED) ? in arch_get_unmapped_area()
|
D | sys_sparc_64.c | 98 if ((flags & MAP_SHARED) && in arch_get_unmapped_area() 110 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area() 162 if ((flags & MAP_SHARED) && in arch_get_unmapped_area_topdown() 172 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area_topdown() 226 flags &= ~MAP_SHARED; in get_fb_unmapped_area()
|
/arch/x86/um/shared/sysdep/ |
D | stub_32.h | 87 "S" (MAP_FIXED | MAP_SHARED), "D" (fd), in remap_stack()
|
D | stub_64.h | 93 "g" (MAP_FIXED | MAP_SHARED), "g" (fd), in remap_stack()
|
/arch/um/os-Linux/ |
D | process.c | 157 loc = mmap64((void *) virt, len, prot, MAP_SHARED | MAP_FIXED, in os_map_memory() 213 MAP_SHARED, fd, 0); in can_drop_memory()
|
/arch/um/os-Linux/skas/ |
D | mem.c | 192 .flags = MAP_SHARED | in map() 207 MAP_SHARED | MAP_FIXED, phys_fd, in map()
|
D | process.c | 234 MAP_FIXED | MAP_SHARED, fd, offset); in userspace_tramp() 619 .flags = MAP_FIXED | MAP_SHARED, in map_stub_pages()
|
/arch/ia64/kernel/ |
D | sys_ia64.c | 27 long map_shared = (flags & MAP_SHARED); in arch_get_unmapped_area()
|
/arch/arm/vdso/ |
D | vdsomunge.c | 180 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in main()
|
/arch/mips/vdso/ |
D | genvdso.c | 132 addr = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, in map_vdso()
|
/arch/x86/boot/tools/ |
D | build.c | 389 kernel = mmap(NULL, sz, PROT_READ, MAP_SHARED, fd, 0); in main()
|
/arch/x86/kvm/ |
D | x86.c | 7553 MAP_SHARED | MAP_ANONYMOUS, 0); in kvm_arch_prepare_memory_region()
|