/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/ |
D | mmap_test_008.cpp | 57 … 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/ |
D | large_vm_fork_separation.c | 19 #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/ |
D | map_fixed_noreplace.c | 16 #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/ |
D | mman-common.h | 26 #define MAP_FIXED_NOREPLACE 0x100000 macro
|
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
D | mman-common.h | 31 #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/ |
D | mman-common.h | 36 #define MAP_FIXED_NOREPLACE 0x100000 macro
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | mman-common.h | 32 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ macro
|
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/ |
D | mman.h | 58 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ macro
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
D | mman.h | 27 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ macro
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
D | mman.h | 51 #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/ |
D | mman.h | 44 #define MAP_FIXED_NOREPLACE 0x100000 macro
|
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/ |
D | mman.h | 33 #define MAP_FIXED_NOREPLACE 0x200000/* MAP_FIXED which doesn't unmap underlying mapping */ macro
|
/kernel/liteos_a/kernel/base/include/ |
D | los_vm_map.h | 173 regionFlags |= (flags & MAP_FIXED_NOREPLACE) ? VM_MAP_REGION_FLAG_FIXED_NOREPLACE : 0; in OsCvtProtFlagsToRegionFlags()
|
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_syscall.c | 59 if (((flags & MAP_FIXED) == 0) && ((flags & MAP_FIXED_NOREPLACE) == 0)) { in OsCheckMMapParams()
|
D | shm.c | 542 flags |= MAP_FIXED_NOREPLACE; in ShmatVmmAlloc()
|
/kernel/linux/linux-5.10/fs/ |
D | binfmt_elf.c | 391 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/ |
D | mmap.c | 1443 if (flags & MAP_FIXED_NOREPLACE) in do_mmap() 1469 if (flags & MAP_FIXED_NOREPLACE) { in do_mmap()
|