MAP_ANONYMOUS 2264 arch/ia64/kernel/perfmon.c vma->vm_start = get_unmapped_area(NULL, 0, size, 0, MAP_PRIVATE|MAP_ANONYMOUS); MAP_ANONYMOUS 16 arch/powerpc/include/uapi/asm/mman.h #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */ MAP_ANONYMOUS 11 arch/sparc/include/uapi/asm/mman.h #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */ MAP_ANONYMOUS 273 arch/um/os-Linux/skas/process.c MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 9643 arch/x86/kvm/x86.c MAP_SHARED | MAP_ANONYMOUS, 0); MAP_ANONYMOUS 57 arch/x86/mm/mpx.c MAP_ANONYMOUS | MAP_PRIVATE, VM_MPX, 0, &populate, NULL); MAP_ANONYMOUS 37 arch/x86/um/os-Linux/task_size.c MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 158 drivers/misc/lkdtm/perms.c MAP_ANONYMOUS | MAP_PRIVATE, 0); MAP_ANONYMOUS 179 drivers/misc/lkdtm/perms.c MAP_ANONYMOUS | MAP_PRIVATE, 0); MAP_ANONYMOUS 71 drivers/misc/lkdtm/usercopy.c MAP_ANONYMOUS | MAP_PRIVATE, 0); MAP_ANONYMOUS 139 drivers/misc/lkdtm/usercopy.c MAP_ANONYMOUS | MAP_PRIVATE, 0); MAP_ANONYMOUS 213 drivers/misc/lkdtm/usercopy.c MAP_ANONYMOUS | MAP_PRIVATE, 0); MAP_ANONYMOUS 301 drivers/misc/lkdtm/usercopy.c MAP_ANONYMOUS | MAP_PRIVATE, 0); MAP_ANONYMOUS 422 fs/binfmt_elf_fdpic.c MAP_PRIVATE | MAP_ANONYMOUS | MAP_ANONYMOUS 1127 fs/binfmt_elf_fdpic.c flags |= MAP_FIXED | MAP_ANONYMOUS; MAP_ANONYMOUS 38 include/linux/mman.h | MAP_ANONYMOUS \ MAP_ANONYMOUS 173 include/linux/raid/pq.h MAP_PRIVATE|MAP_ANONYMOUS,\ MAP_ANONYMOUS 488 lib/test_kasan.c MAP_ANONYMOUS | MAP_PRIVATE, 0); MAP_ANONYMOUS 200 lib/test_user_copy.c MAP_ANONYMOUS | MAP_PRIVATE, 0); MAP_ANONYMOUS 1584 mm/mmap.c if (!(flags & MAP_ANONYMOUS)) { MAP_ANONYMOUS 1332 mm/nommu.c if (!(flags & MAP_ANONYMOUS)) { MAP_ANONYMOUS 750 samples/bpf/xdpsock_user.c MAP_PRIVATE | MAP_ANONYMOUS | opt_mmap_flags, -1, 0); MAP_ANONYMOUS 40 tools/perf/tests/mmap-thread-lookup.c MAP_SHARED|MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 49 tools/perf/trace/beauty/mmap.c if (flags & MAP_ANONYMOUS) MAP_ANONYMOUS 174 tools/perf/util/mmap.c MAP_PRIVATE|MAP_ANONYMOUS, 0, 0); MAP_ANONYMOUS 393 tools/perf/util/mmap.c MAP_PRIVATE|MAP_ANONYMOUS, 0, 0); MAP_ANONYMOUS 55 tools/perf/util/session.c MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 92 tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c MAP_PRIVATE|MAP_ANONYMOUS, 0, 0); MAP_ANONYMOUS 649 tools/testing/selftests/kvm/lib/kvm_util.c MAP_PRIVATE | MAP_ANONYMOUS MAP_ANONYMOUS 385 tools/testing/selftests/net/tcp_mmap.c MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 477 tools/testing/selftests/pidfd/pidfd_test.c MAP_SHARED | MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 43 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 87 tools/testing/selftests/powerpc/copyloops/exc_validate.c MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 19 tools/testing/selftests/powerpc/mm/hugetlb_vs_thp_test.c MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 35 tools/testing/selftests/powerpc/mm/hugetlb_vs_thp_test.c MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 35 tools/testing/selftests/powerpc/mm/large_vm_fork_separation.c MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED_NOREPLACE, -1, 0); MAP_ANONYMOUS 30 tools/testing/selftests/powerpc/mm/prot_sao.c MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 43 tools/testing/selftests/powerpc/mm/segv_errors.c p = mmap(NULL, getpagesize(), 0, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 25 tools/testing/selftests/powerpc/pmu/ebb/trace.c MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 127 tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 61 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); MAP_ANONYMOUS 131 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); MAP_ANONYMOUS 56 tools/testing/selftests/proc/thread-self.c stack = mmap(NULL, 2 * PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 55 tools/testing/selftests/ptrace/peeksiginfo.c MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 62 tools/testing/selftests/ptrace/peeksiginfo.c MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0); MAP_ANONYMOUS 121 tools/testing/selftests/sigaltstack/sas.c MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); MAP_ANONYMOUS 165 tools/testing/selftests/sigaltstack/sas.c MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); MAP_ANONYMOUS 197 tools/testing/selftests/vm/compaction_test.c MAP_ANONYMOUS | MAP_PRIVATE | MAP_LOCKED, -1, 0); MAP_ANONYMOUS 74 tools/testing/selftests/vm/gup_benchmark.c flags |= (MAP_HUGETLB | MAP_ANONYMOUS); MAP_ANONYMOUS 38 tools/testing/selftests/vm/map_fixed_noreplace.c flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED_NOREPLACE; MAP_ANONYMOUS 37 tools/testing/selftests/vm/map_hugetlb.c #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED) MAP_ANONYMOUS 40 tools/testing/selftests/vm/map_hugetlb.c #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB) MAP_ANONYMOUS 198 tools/testing/selftests/vm/mlock2-tests.c MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 261 tools/testing/selftests/vm/mlock2-tests.c MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 303 tools/testing/selftests/vm/mlock2-tests.c MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 339 tools/testing/selftests/vm/mlock2-tests.c MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 365 tools/testing/selftests/vm/mlock2-tests.c MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 420 tools/testing/selftests/vm/mlock2-tests.c MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 30 tools/testing/selftests/vm/on-fault-limit.c MAP_PRIVATE | MAP_ANONYMOUS | MAP_POPULATE, -1, 0); MAP_ANONYMOUS 150 tools/testing/selftests/vm/thuge-gen.c MAP_PRIVATE|MAP_ANONYMOUS|MAP_HUGETLB|flags, -1, 0); MAP_ANONYMOUS 36 tools/testing/selftests/vm/transhuge-stress.c MAP_FIXED | MAP_ANONYMOUS | MAP_ANONYMOUS 90 tools/testing/selftests/vm/transhuge-stress.c MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 234 tools/testing/selftests/vm/userfaultfd.c MAP_ANONYMOUS | MAP_SHARED, -1, 0); MAP_ANONYMOUS 50 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 62 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 73 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 80 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, MAP_ANONYMOUS 86 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 93 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 100 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 107 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 114 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, MAP_ANONYMOUS 120 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 127 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 133 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 140 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 148 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 156 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 162 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, MAP_ANONYMOUS 171 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 178 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 185 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 192 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 199 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, MAP_ANONYMOUS 205 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 212 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 218 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS, MAP_ANONYMOUS 226 tools/testing/selftests/vm/va_128TBswitch.c .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, MAP_ANONYMOUS 89 tools/testing/selftests/vm/virtual_address_range.c PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 106 tools/testing/selftests/vm/virtual_address_range.c MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 122 tools/testing/selftests/vm/virtual_address_range.c MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); MAP_ANONYMOUS 255 tools/testing/selftests/x86/entry_from_vm86.c MAP_ANONYMOUS | MAP_PRIVATE, -1,0); MAP_ANONYMOUS 280 tools/testing/selftests/x86/fsgsbase.c MAP_PRIVATE | MAP_ANONYMOUS | MAP_32BIT, -1, 0); MAP_ANONYMOUS 509 tools/testing/selftests/x86/fsgsbase.c MAP_ANONYMOUS | MAP_SHARED, -1, 0); MAP_ANONYMOUS 677 tools/testing/selftests/x86/ldt_gdt.c MAP_ANONYMOUS | MAP_PRIVATE | MAP_32BIT, -1, 0); MAP_ANONYMOUS 700 tools/testing/selftests/x86/ldt_gdt.c MAP_ANONYMOUS | MAP_PRIVATE | MAP_32BIT, -1, 0); MAP_ANONYMOUS 759 tools/testing/selftests/x86/protection_keys.c ptr = mmap(NULL, size, prot, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 782 tools/testing/selftests/x86/protection_keys.c ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 845 tools/testing/selftests/x86/protection_keys.c int flags = MAP_ANONYMOUS|MAP_PRIVATE|MAP_HUGETLB; MAP_ANONYMOUS 1491 tools/testing/selftests/x86/protection_keys.c ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); MAP_ANONYMOUS 67 tools/testing/selftests/x86/sysret_ss_attrs.c MAP_32BIT | MAP_ANONYMOUS | MAP_PRIVATE, MAP_ANONYMOUS 30 tools/testing/selftests/x86/test_mremap_vdso.c dest_addr = mmap(0, size, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);