/linux/tools/testing/selftests/mm/ |
H A D | va_high_addr_switch.c | 97 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in testcases_init() 131 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in testcases_init() 179 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in testcases_init() 216 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in testcases_init() 243 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in testcases_init() 301 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0); in high_address_present()
|
/linux/arch/um/kernel/skas/ |
H A D | stub_exe.c | 49 PROT_READ | PROT_EXEC, MAP_FIXED | MAP_SHARED, in real_init() 57 PROT_READ | PROT_WRITE, MAP_FIXED | MAP_SHARED, in real_init()
|
H A D | stub.c | 21 MAP_SHARED | MAP_FIXED, in syscall_handler()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | mmap.c | 206 tmp1 = mmap(tmp0, 3 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap() 222 MAP_SHARED | MAP_FIXED, data_map_fd, 0); in test_mmap() 232 tmp2 = mmap(tmp1, 4 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap() 253 tmp1 = mmap(NULL, 4 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
|
/linux/arch/arm/mm/ |
H A D | mmap.c | 50 if (flags & MAP_FIXED) { in arch_get_unmapped_area() 103 if (flags & MAP_FIXED) { in arch_get_unmapped_area_topdown()
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | dmx-mmap.rst | 32 When the ``MAP_FIXED`` flag is specified, ``start`` must be a 54 ``MAP_FIXED`` requests that the driver selects no other address than 56 :c:func:`mmap()` will fail. If ``MAP_FIXED`` is specified,
|
/linux/arch/sh/mm/ |
H A D | mmap.c | 63 if (flags & MAP_FIXED) { in arch_get_unmapped_area() 111 if (flags & MAP_FIXED) { in arch_get_unmapped_area_topdown()
|
/linux/arch/arm/include/uapi/asm/ |
H A D | mman.h | 4 (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
|
/linux/tools/arch/mips/include/uapi/asm/ |
H A D | mman.h | 24 #define MAP_FIXED 0x010 macro
|
/linux/tools/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 23 #define MAP_FIXED 0x100 macro
|
/linux/tools/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 23 #define MAP_FIXED 0x010 macro
|
/linux/tools/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 23 #define MAP_FIXED 0x04 macro
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | func-mmap.rst | 30 When the ``MAP_FIXED`` flag is specified, ``start`` must be a 69 ``MAP_FIXED`` requests that the driver selects no other address than 71 :c:func:`mmap()` will fail. If ``MAP_FIXED`` is specified,
|
/linux/tools/include/uapi/asm-generic/ |
H A D | mman-common.h | 22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro 31 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */
|
/linux/include/uapi/asm-generic/ |
H A D | mman-common.h | 22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro 31 #define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */
|
/linux/Documentation/arch/x86/x86_64/ |
H A D | 5level-paging.rst | 46 specifying hint address (with or without MAP_FIXED) above 47-bits. 48 If hint address set above 47-bit, but MAP_FIXED is not specified, we try
|
/linux/arch/powerpc/include/asm/ |
H A D | task_size_64.h | 80 (((flags) & MAP_FIXED) && ((addr) + (len) > DEFAULT_MAP_WINDOW)) ? TASK_SIZE : \
|
/linux/arch/csky/abiv1/ |
H A D | mmap.c | 48 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
|
/linux/tools/testing/selftests/powerpc/mm/ |
H A D | large_vm_fork_separation.c | 20 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB
|
H A D | large_vm_gpr_corruption.c | 39 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB
|
/linux/tools/testing/selftests/proc/ |
H A D | proc-self-map-files-002.c | 65 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
|
/linux/arch/xtensa/kernel/ |
H A D | syscall.c | 64 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
|
/linux/arch/arc/mm/ |
H A D | mmap.c | 36 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
|
/linux/arch/mips/mm/ |
H A D | mmap.c | 42 if (flags & MAP_FIXED) { in arch_get_unmapped_area_common()
|
/linux/include/linux/ |
H A D | mman.h | 44 | MAP_FIXED \
|