/linux-6.6.21/tools/testing/selftests/mm/ |
D | va_high_addr_switch.c | 101 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 135 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 183 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 220 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 247 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
|
D | hugepage-mmap.c | 32 #define FLAGS (MAP_SHARED | MAP_FIXED)
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
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-6.6.21/arch/arm/mm/ |
D | mmap.c | 49 if (flags & MAP_FIXED) { in arch_get_unmapped_area() 103 if (flags & MAP_FIXED) { in arch_get_unmapped_area_topdown()
|
/linux-6.6.21/Documentation/userspace-api/media/dvb/ |
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-6.6.21/arch/arm/include/uapi/asm/ |
D | mman.h | 4 (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
|
/linux-6.6.21/arch/x86/kernel/ |
D | sys_x86_64.c | 131 if (flags & MAP_FIXED) in arch_get_unmapped_area() 175 if (flags & MAP_FIXED) in arch_get_unmapped_area_topdown()
|
/linux-6.6.21/arch/sh/mm/ |
D | mmap.c | 62 if (flags & MAP_FIXED) { in arch_get_unmapped_area() 111 if (flags & MAP_FIXED) { in arch_get_unmapped_area_topdown()
|
/linux-6.6.21/arch/s390/mm/ |
D | mmap.c | 85 if (flags & MAP_FIXED) in arch_get_unmapped_area() 125 if (flags & MAP_FIXED) in arch_get_unmapped_area_topdown()
|
/linux-6.6.21/tools/arch/xtensa/include/uapi/asm/ |
D | mman.h | 23 #define MAP_FIXED 0x010 macro
|
/linux-6.6.21/tools/arch/mips/include/uapi/asm/ |
D | mman.h | 24 #define MAP_FIXED 0x010 macro
|
/linux-6.6.21/tools/arch/parisc/include/uapi/asm/ |
D | mman.h | 23 #define MAP_FIXED 0x04 macro
|
/linux-6.6.21/tools/arch/alpha/include/uapi/asm/ |
D | mman.h | 23 #define MAP_FIXED 0x100 macro
|
/linux-6.6.21/include/uapi/asm-generic/ |
D | mman-common.h | 22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
|
/linux-6.6.21/tools/include/uapi/asm-generic/ |
D | mman-common.h | 22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
|
/linux-6.6.21/arch/xtensa/include/uapi/asm/ |
D | mman.h | 39 #define MAP_FIXED 0x010 /* Interpret addr exactly */ macro
|
/linux-6.6.21/arch/parisc/include/uapi/asm/ |
D | mman.h | 15 #define MAP_FIXED 0x04 /* Interpret addr exactly */ macro
|
/linux-6.6.21/arch/alpha/include/uapi/asm/ |
D | mman.h | 15 #define MAP_FIXED 0x100 /* Interpret addr exactly */ macro
|
/linux-6.6.21/arch/mips/include/uapi/asm/ |
D | mman.h | 32 #define MAP_FIXED 0x010 /* Interpret addr exactly */ macro
|
/linux-6.6.21/Documentation/userspace-api/media/v4l/ |
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-6.6.21/Documentation/arch/x86/x86_64/ |
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-6.6.21/arch/powerpc/include/asm/ |
D | task_size_64.h | 80 (((flags) & MAP_FIXED) && ((addr) + (len) > DEFAULT_MAP_WINDOW)) ? TASK_SIZE : \
|
/linux-6.6.21/arch/csky/abiv1/ |
D | mmap.c | 42 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
|
/linux-6.6.21/arch/x86/um/shared/sysdep/ |
D | stub_32.h | 99 "S" (MAP_FIXED | MAP_SHARED) in remap_stack_and_trap()
|
/linux-6.6.21/tools/testing/selftests/powerpc/mm/ |
D | large_vm_fork_separation.c | 20 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB
|