MAP_FIXED 1314 arch/alpha/kernel/osf_sys.c if (flags & MAP_FIXED) MAP_FIXED 47 arch/arc/mm/mmap.c if (flags & MAP_FIXED) { MAP_FIXED 4 arch/arm/include/uapi/asm/mman.h (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0) MAP_FIXED 49 arch/arm/mm/mmap.c if (flags & MAP_FIXED) { MAP_FIXED 103 arch/arm/mm/mmap.c if (flags & MAP_FIXED) { MAP_FIXED 42 arch/csky/abiv1/mmap.c if (flags & MAP_FIXED) { MAP_FIXED 39 arch/ia64/kernel/sys_ia64.c if (flags & MAP_FIXED) { MAP_FIXED 149 arch/ia64/mm/hugetlbpage.c if (flags & MAP_FIXED) { MAP_FIXED 42 arch/mips/mm/mmap.c if (flags & MAP_FIXED) { MAP_FIXED 44 arch/nds32/mm/mmap.c if (flags & MAP_FIXED) { MAP_FIXED 99 arch/parisc/kernel/sys_parisc.c if (flags & MAP_FIXED) { MAP_FIXED 155 arch/parisc/kernel/sys_parisc.c if (flags & MAP_FIXED) { MAP_FIXED 36 arch/parisc/mm/hugetlbpage.c if (flags & MAP_FIXED) MAP_FIXED 53 arch/powerpc/mm/book3s64/radix_hugetlbpage.c int fixed = (flags & MAP_FIXED); MAP_FIXED 96 arch/powerpc/mm/mmap.c int fixed = (flags & MAP_FIXED); MAP_FIXED 140 arch/powerpc/mm/mmap.c int fixed = (flags & MAP_FIXED); MAP_FIXED 437 arch/powerpc/mm/slice.c int fixed = (flags & MAP_FIXED); MAP_FIXED 339 arch/s390/mm/hugetlbpage.c if (flags & MAP_FIXED) { MAP_FIXED 87 arch/s390/mm/mmap.c if (flags & MAP_FIXED) MAP_FIXED 137 arch/s390/mm/mmap.c if (flags & MAP_FIXED) MAP_FIXED 42 arch/sh/mm/mmap.c if (flags & MAP_FIXED) { MAP_FIXED 91 arch/sh/mm/mmap.c if (flags & MAP_FIXED) { MAP_FIXED 46 arch/sparc/kernel/sys_sparc_32.c if (flags & MAP_FIXED) { MAP_FIXED 98 arch/sparc/kernel/sys_sparc_64.c if (flags & MAP_FIXED) { MAP_FIXED 162 arch/sparc/kernel/sys_sparc_64.c if (flags & MAP_FIXED) { MAP_FIXED 226 arch/sparc/kernel/sys_sparc_64.c if (flags & MAP_FIXED) { MAP_FIXED 114 arch/sparc/mm/hugetlbpage.c if (flags & MAP_FIXED) { MAP_FIXED 147 arch/um/os-Linux/process.c loc = mmap64((void *) virt, len, prot, MAP_SHARED | MAP_FIXED, MAP_FIXED 175 arch/um/os-Linux/skas/mem.c MAP_SHARED | MAP_FIXED, phys_fd, MAP_FIXED 209 arch/um/os-Linux/skas/process.c PROT_EXEC, MAP_FIXED | MAP_PRIVATE, fd, offset); MAP_FIXED 220 arch/um/os-Linux/skas/process.c MAP_FIXED | MAP_SHARED, fd, offset); MAP_FIXED 208 arch/x86/ia32/ia32_aout.c MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_FIXED 217 arch/x86/ia32/ia32_aout.c MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_FIXED 300 arch/x86/ia32/ia32_aout.c MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_32BIT, MAP_FIXED 144 arch/x86/kernel/sys_x86_64.c if (flags & MAP_FIXED) MAP_FIXED 192 arch/x86/kernel/sys_x86_64.c if (flags & MAP_FIXED) MAP_FIXED 162 arch/x86/mm/hugetlbpage.c if (flags & MAP_FIXED) { MAP_FIXED 926 arch/x86/mm/mpx.c if (flags & MAP_FIXED) MAP_FIXED 37 arch/x86/um/os-Linux/task_size.c MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); MAP_FIXED 87 arch/x86/um/shared/sysdep/stub_32.h "S" (MAP_FIXED | MAP_SHARED), "D" (fd), MAP_FIXED 93 arch/x86/um/shared/sysdep/stub_64.h "g" (MAP_FIXED | MAP_SHARED), "g" (fd), MAP_FIXED 66 arch/xtensa/kernel/syscall.c if (flags & MAP_FIXED) { MAP_FIXED 226 fs/binfmt_aout.c MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, MAP_FIXED 234 fs/binfmt_aout.c MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, MAP_FIXED 313 fs/binfmt_aout.c MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE, MAP_FIXED 926 fs/binfmt_elf.c elf_flags |= MAP_FIXED; MAP_FIXED 962 fs/binfmt_elf.c elf_flags |= MAP_FIXED; MAP_FIXED 1135 fs/binfmt_elf.c MAP_FIXED | MAP_PRIVATE, 0); MAP_FIXED 1053 fs/binfmt_elf_fdpic.c flags |= MAP_FIXED; MAP_FIXED 1067 fs/binfmt_elf_fdpic.c flags |= MAP_FIXED; MAP_FIXED 1127 fs/binfmt_elf_fdpic.c flags |= MAP_FIXED | MAP_ANONYMOUS; MAP_FIXED 212 fs/hugetlbfs/inode.c if (flags & MAP_FIXED) { MAP_FIXED 37 include/linux/mman.h | MAP_FIXED \ MAP_FIXED 1457 ipc/shm.c flags |= MAP_FIXED; MAP_FIXED 1415 mm/mmap.c flags |= MAP_FIXED; MAP_FIXED 1417 mm/mmap.c if (!(flags & MAP_FIXED)) MAP_FIXED 2112 mm/mmap.c if (flags & MAP_FIXED) MAP_FIXED 2152 mm/mmap.c if (flags & MAP_FIXED) MAP_FIXED 2954 mm/mmap.c flags |= MAP_SHARED | MAP_FIXED | MAP_POPULATE; MAP_FIXED 3005 mm/mmap.c error = get_unmapped_area(NULL, addr, len, 0, MAP_FIXED); MAP_FIXED 554 mm/mremap.c map_flags = MAP_FIXED; MAP_FIXED 583 mm/mremap.c 0, MAP_FIXED) & ~PAGE_MASK) MAP_FIXED 796 mm/nommu.c if (flags & MAP_FIXED) MAP_FIXED 2104 mm/shmem.c if (flags & MAP_FIXED) MAP_FIXED 20 tools/testing/selftests/powerpc/mm/large_vm_fork_separation.c #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB MAP_FIXED 65 tools/testing/selftests/proc/proc-self-map-files-002.c p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); MAP_FIXED 62 tools/testing/selftests/ptrace/peeksiginfo.c MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0); MAP_FIXED 33 tools/testing/selftests/vm/hugepage-mmap.c #define FLAGS (MAP_SHARED | MAP_FIXED) MAP_FIXED 37 tools/testing/selftests/vm/map_hugetlb.c #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED) MAP_FIXED 36 tools/testing/selftests/vm/transhuge-stress.c MAP_FIXED | MAP_ANONYMOUS | MAP_FIXED 80 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, MAP_FIXED 114 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, MAP_FIXED 162 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, MAP_FIXED 199 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, MAP_FIXED 226 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,