Home
last modified time | relevance | path

Searched refs:MAP_FIXED_NOREPLACE (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/powerpc/mm/
H A Dlarge_vm_fork_separation.c19 #ifndef MAP_FIXED_NOREPLACE
20 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB macro
35 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED_NOREPLACE, -1, 0); in test()
H A Dlarge_vm_gpr_corruption.c38 #ifndef MAP_FIXED_NOREPLACE
39 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB macro
124 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED_NOREPLACE, -1, 0); in test()
/linux/tools/include/uapi/asm-generic/
H A Dmman-common.h31 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ macro
/linux/include/uapi/asm-generic/
H A Dmman-common.h31 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ macro
/linux/tools/testing/selftests/mm/
H A Dmap_fixed_noreplace.c4 * Test that MAP_FIXED_NOREPLACE works.
56 flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED_NOREPLACE; in main()
H A Dmremap_test.c107 MAP_FIXED_NOREPLACE | MAP_ANONYMOUS | MAP_SHARED, in is_remap_region_valid()
201 MAP_FIXED_NOREPLACE | MAP_ANONYMOUS | MAP_SHARED, in get_source_mapping()
436 MAP_FIXED_NOREPLACE | MAP_ANONYMOUS | MAP_SHARED, in remap_region()
/linux/arch/x86/kernel/
H A Dshstk.c108 flags |= MAP_FIXED_NOREPLACE; in alloc_shstk()
/linux/mm/
H A Dmmap.c308 if (flags & MAP_FIXED_NOREPLACE) in do_mmap()
357 if (flags & MAP_FIXED_NOREPLACE) { in do_mmap()