Home
last modified time | relevance | path

Searched refs:MAP_SHARED (Results 1 – 22 of 22) sorted by relevance

/arch/xtensa/kernel/
Dsyscall.c69 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/
Dmmap.c45 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/
Dmmap.c69 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/
Dmmap.c44 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/
Dmman.h36 #define MAP_SHARED 0x001 /* Share changes */ macro
/arch/alpha/include/uapi/asm/
Dmman.h12 #define MAP_SHARED 0x01 /* Share changes */ macro
/arch/mips/include/uapi/asm/
Dmman.h29 #define MAP_SHARED 0x001 /* Share changes */ macro
/arch/parisc/kernel/
Dsys_parisc.c100 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/
Dmman.h12 #define MAP_SHARED 0x01 /* Share changes */ macro
/arch/mips/mm/
Dmmap.c76 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/
Dsys_sparc_32.c47 if ((flags & MAP_SHARED) && in arch_get_unmapped_area()
63 info.align_mask = (flags & MAP_SHARED) ? in arch_get_unmapped_area()
Dsys_sparc_64.c98 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/
Dstub_32.h87 "S" (MAP_FIXED | MAP_SHARED), "D" (fd), in remap_stack()
Dstub_64.h93 "g" (MAP_FIXED | MAP_SHARED), "g" (fd), in remap_stack()
/arch/um/os-Linux/
Dprocess.c157 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/
Dmem.c192 .flags = MAP_SHARED | in map()
207 MAP_SHARED | MAP_FIXED, phys_fd, in map()
Dprocess.c234 MAP_FIXED | MAP_SHARED, fd, offset); in userspace_tramp()
619 .flags = MAP_FIXED | MAP_SHARED, in map_stub_pages()
/arch/ia64/kernel/
Dsys_ia64.c27 long map_shared = (flags & MAP_SHARED); in arch_get_unmapped_area()
/arch/arm/vdso/
Dvdsomunge.c180 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in main()
/arch/mips/vdso/
Dgenvdso.c132 addr = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, in map_vdso()
/arch/x86/boot/tools/
Dbuild.c389 kernel = mmap(NULL, sz, PROT_READ, MAP_SHARED, fd, 0); in main()
/arch/x86/kvm/
Dx86.c7553 MAP_SHARED | MAP_ANONYMOUS, 0); in kvm_arch_prepare_memory_region()