Home
last modified time | relevance | path

Searched refs:MAP_PRIVATE (Results 1 – 25 of 52) sorted by relevance

123

/tools/testing/selftests/vm/
Dva_128TBswitch.c50 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
62 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
73 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
80 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
86 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
93 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
100 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
107 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
114 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
120 .flags = MAP_PRIVATE | MAP_ANONYMOUS,
[all …]
Dvirtual_address_range.c89 PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in validate_lower_address_hint()
106 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in main()
122 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in main()
Dmap_hugetlb.c37 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
40 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
Dgup_benchmark.c36 int cmd = GUP_FAST_BENCHMARK, flags = MAP_PRIVATE; in main()
70 flags &= ~MAP_PRIVATE; in main()
Don-fault-limit.c30 MAP_PRIVATE | MAP_ANONYMOUS | MAP_POPULATE, -1, 0); in test_limit()
Dmlock2-tests.c299 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_mlock_lock()
408 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_mlock_onfault()
451 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_lock_onfault_of_present()
498 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_munlockall()
524 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_munlockall()
579 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_vma_management()
Dtranshuge-stress.c37 MAP_NORESERVE | MAP_PRIVATE, -1, 0) != ptr) in allocate_transhuge()
90 MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE, -1, 0); in main()
/tools/testing/selftests/powerpc/mm/
Dhugetlb_vs_thp_test.c19 MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
35 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
Dprot_sao.c30 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_prot_sao()
Dsegv_errors.c43 p = mmap(NULL, getpagesize(), 0, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in test_segv_errors()
Dlarge_vm_fork_separation.c35 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED_NOREPLACE, -1, 0); in test()
/tools/include/uapi/asm-generic/
Dmman-common-tools.h20 #define MAP_PRIVATE 0x02 /* Changes are private */ macro
/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-force-tm.c61 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in usr_signal_handler()
131 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in tm_trap_test()
Dtm-vmxcopy.c60 a = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); in test_vmxcopy()
/tools/include/uapi/linux/
Dmman.h16 #define MAP_PRIVATE 0x02 /* Changes are private */ macro
/tools/testing/selftests/x86/
Dsysret_ss_attrs.c67 MAP_32BIT | MAP_ANONYMOUS | MAP_PRIVATE, in main()
Dtest_mremap_vdso.c30 dest_addr = mmap(0, size, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in try_to_remap()
/tools/testing/selftests/proc/
Dthread-self.c56 stack = mmap(NULL, 2 * PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in main()
Dproc-self-map-files-001.c58 p = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE, fd, 0); in main()
Dproc-self-map-files-002.c65 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
/tools/testing/selftests/sigaltstack/
Dsas.c121 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in main()
165 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in main()
/tools/testing/selftests/powerpc/benchmarks/
Dmmap_bench.c43 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in test_mmap()
/tools/power/acpi/os_specific/service_layers/
Dosunixmap.c26 #define MMAP_FLAGS MAP_PRIVATE
/tools/testing/selftests/ptrace/
Dpeeksiginfo.c55 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in check_error_paths()
62 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0); in check_error_paths()
/tools/testing/selftests/futex/functional/
Dfutex_wait_uninitialized_heap.c92 MAP_PRIVATE|MAP_ANONYMOUS, 0, 0); in main()

123