Home
last modified time | relevance | path

Searched refs:MAP_FIXED (Results 1 – 25 of 48) sorted by relevance

12

/linux/tools/testing/selftests/mm/
H A Dva_high_addr_switch.c97 .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 Dstub_exe.c49 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 Dstub.c21 MAP_SHARED | MAP_FIXED, in syscall_handler()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmmap.c206 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 Dmmap.c50 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 Ddmx-mmap.rst32 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 Dmmap.c63 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 Dmman.h4 (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
/linux/tools/arch/mips/include/uapi/asm/
H A Dmman.h24 #define MAP_FIXED 0x010 macro
/linux/tools/arch/alpha/include/uapi/asm/
H A Dmman.h23 #define MAP_FIXED 0x100 macro
/linux/tools/arch/xtensa/include/uapi/asm/
H A Dmman.h23 #define MAP_FIXED 0x010 macro
/linux/tools/arch/parisc/include/uapi/asm/
H A Dmman.h23 #define MAP_FIXED 0x04 macro
/linux/Documentation/userspace-api/media/v4l/
H A Dfunc-mmap.rst30 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 Dmman-common.h22 #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 Dmman-common.h22 #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 D5level-paging.rst46 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 Dtask_size_64.h80 (((flags) & MAP_FIXED) && ((addr) + (len) > DEFAULT_MAP_WINDOW)) ? TASK_SIZE : \
/linux/arch/csky/abiv1/
H A Dmmap.c48 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
/linux/tools/testing/selftests/powerpc/mm/
H A Dlarge_vm_fork_separation.c20 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB
H A Dlarge_vm_gpr_corruption.c39 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB
/linux/tools/testing/selftests/proc/
H A Dproc-self-map-files-002.c65 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
/linux/arch/xtensa/kernel/
H A Dsyscall.c64 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
/linux/arch/arc/mm/
H A Dmmap.c36 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
/linux/arch/mips/mm/
H A Dmmap.c42 if (flags & MAP_FIXED) { in arch_get_unmapped_area_common()
/linux/include/linux/
H A Dmman.h44 | MAP_FIXED \

12