Home
last modified time | relevance | path

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

123

/linux-6.6.21/tools/testing/selftests/mm/
Dva_high_addr_switch.c101 .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,
Dhugepage-mmap.c32 #define FLAGS (MAP_SHARED | MAP_FIXED)
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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-6.6.21/arch/arm/mm/
Dmmap.c49 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/
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-6.6.21/arch/arm/include/uapi/asm/
Dmman.h4 (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
/linux-6.6.21/arch/x86/kernel/
Dsys_x86_64.c131 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/
Dmmap.c62 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/
Dmmap.c85 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/
Dmman.h23 #define MAP_FIXED 0x010 macro
/linux-6.6.21/tools/arch/mips/include/uapi/asm/
Dmman.h24 #define MAP_FIXED 0x010 macro
/linux-6.6.21/tools/arch/parisc/include/uapi/asm/
Dmman.h23 #define MAP_FIXED 0x04 macro
/linux-6.6.21/tools/arch/alpha/include/uapi/asm/
Dmman.h23 #define MAP_FIXED 0x100 macro
/linux-6.6.21/include/uapi/asm-generic/
Dmman-common.h22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
/linux-6.6.21/tools/include/uapi/asm-generic/
Dmman-common.h22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
/linux-6.6.21/arch/xtensa/include/uapi/asm/
Dmman.h39 #define MAP_FIXED 0x010 /* Interpret addr exactly */ macro
/linux-6.6.21/arch/parisc/include/uapi/asm/
Dmman.h15 #define MAP_FIXED 0x04 /* Interpret addr exactly */ macro
/linux-6.6.21/arch/alpha/include/uapi/asm/
Dmman.h15 #define MAP_FIXED 0x100 /* Interpret addr exactly */ macro
/linux-6.6.21/arch/mips/include/uapi/asm/
Dmman.h32 #define MAP_FIXED 0x010 /* Interpret addr exactly */ macro
/linux-6.6.21/Documentation/userspace-api/media/v4l/
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-6.6.21/Documentation/arch/x86/x86_64/
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-6.6.21/arch/powerpc/include/asm/
Dtask_size_64.h80 (((flags) & MAP_FIXED) && ((addr) + (len) > DEFAULT_MAP_WINDOW)) ? TASK_SIZE : \
/linux-6.6.21/arch/csky/abiv1/
Dmmap.c42 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
/linux-6.6.21/arch/x86/um/shared/sysdep/
Dstub_32.h99 "S" (MAP_FIXED | MAP_SHARED) in remap_stack_and_trap()
/linux-6.6.21/tools/testing/selftests/powerpc/mm/
Dlarge_vm_fork_separation.c20 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB

123