Home
last modified time | relevance | path

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

/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/
Dmmap_test_008.cpp57 … memNoFix = mmap((void *)fixAddr, len, PROT_READ | PROT_WRITE, flags | MAP_FIXED_NOREPLACE, -1, 0); in Testcase()
60 …p((void *)(fixAddr - MAP_OFFSET), len, PROT_READ | PROT_WRITE, flags | MAP_FIXED_NOREPLACE, -1, 0); in Testcase()
63 …p((void *)(fixAddr + MAP_OFFSET), len, PROT_READ | PROT_WRITE, flags | MAP_FIXED_NOREPLACE, -1, 0); in Testcase()
67 flags | MAP_FIXED_NOREPLACE, -1, 0); in Testcase()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dmap_fixed_noreplace.c16 #ifndef MAP_FIXED_NOREPLACE
17 #define MAP_FIXED_NOREPLACE 0x100000 macro
63 flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED_NOREPLACE; in main()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
Dmman-common.h26 #define MAP_FIXED_NOREPLACE 0x100000 macro
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
Dmman-common.h31 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
Dmman-common.h36 #define MAP_FIXED_NOREPLACE 0x100000 macro
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dmman-common.h32 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ macro
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/
Dmman.h58 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ macro
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
Dmman.h27 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ macro
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dmman.h51 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dmman.h44 #define MAP_FIXED_NOREPLACE 0x100000 macro
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
Dmman.h33 #define MAP_FIXED_NOREPLACE 0x200000/* MAP_FIXED which doesn't unmap underlying mapping */ macro
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h173 regionFlags |= (flags & MAP_FIXED_NOREPLACE) ? VM_MAP_REGION_FLAG_FIXED_NOREPLACE : 0; in OsCvtProtFlagsToRegionFlags()
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_syscall.c59 if (((flags & MAP_FIXED) == 0) && ((flags & MAP_FIXED_NOREPLACE) == 0)) { in OsCheckMMapParams()
Dshm.c542 flags |= MAP_FIXED_NOREPLACE; in ShmatVmmAlloc()
/kernel/linux/linux-5.10/fs/
Dbinfmt_elf.c391 if ((type & MAP_FIXED_NOREPLACE) && in elf_map()
1421 MAP_FIXED_NOREPLACE | MAP_PRIVATE | MAP_DENYWRITE, in load_elf_library()
/kernel/linux/linux-5.10/mm/
Dmmap.c1443 if (flags & MAP_FIXED_NOREPLACE) in do_mmap()
1469 if (flags & MAP_FIXED_NOREPLACE) { in do_mmap()