Home
last modified time | relevance | path

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

123

/Linux-v5.10/tools/testing/selftests/vm/
Dva_128TBswitch.c80 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
114 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
162 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
199 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
226 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
Dhugepage-mmap.c33 #define FLAGS (MAP_SHARED | MAP_FIXED)
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dmmap.c192 tmp1 = mmap(tmp0, 3 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
208 MAP_SHARED | MAP_FIXED, data_map_fd, 0); in test_mmap()
218 tmp2 = mmap(tmp1, 4 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
239 tmp1 = mmap(NULL, 4 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
/Linux-v5.10/arch/sh/mm/
Dmmap.c42 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
91 if (flags & MAP_FIXED) { in arch_get_unmapped_area_topdown()
/Linux-v5.10/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-v5.10/arch/arm/include/uapi/asm/
Dmman.h4 (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
/Linux-v5.10/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-v5.10/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-v5.10/arch/x86/kernel/
Dsys_x86_64.c138 if (flags & MAP_FIXED) in arch_get_unmapped_area()
182 if (flags & MAP_FIXED) in arch_get_unmapped_area_topdown()
/Linux-v5.10/arch/powerpc/mm/
Dmmap.c96 int fixed = (flags & MAP_FIXED); in radix__arch_get_unmapped_area()
140 int fixed = (flags & MAP_FIXED); in radix__arch_get_unmapped_area_topdown()
/Linux-v5.10/arch/x86/ia32/
Dia32_aout.c205 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | in load_aout_binary()
214 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | in load_aout_binary()
296 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_32BIT, in load_aout_library()
/Linux-v5.10/fs/
Dbinfmt_aout.c225 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, in load_aout_binary()
233 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, in load_aout_binary()
312 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE, in load_aout_library()
/Linux-v5.10/tools/arch/xtensa/include/uapi/asm/
Dmman.h23 #define MAP_FIXED 0x010 macro
/Linux-v5.10/tools/arch/parisc/include/uapi/asm/
Dmman.h23 #define MAP_FIXED 0x04 macro
/Linux-v5.10/tools/arch/alpha/include/uapi/asm/
Dmman.h23 #define MAP_FIXED 0x100 macro
/Linux-v5.10/tools/arch/mips/include/uapi/asm/
Dmman.h24 #define MAP_FIXED 0x010 macro
/Linux-v5.10/include/uapi/asm-generic/
Dmman-common.h22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
/Linux-v5.10/tools/include/uapi/asm-generic/
Dmman-common.h22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
/Linux-v5.10/arch/xtensa/include/uapi/asm/
Dmman.h39 #define MAP_FIXED 0x010 /* Interpret addr exactly */ macro
/Linux-v5.10/arch/parisc/include/uapi/asm/
Dmman.h15 #define MAP_FIXED 0x04 /* Interpret addr exactly */ macro
/Linux-v5.10/arch/alpha/include/uapi/asm/
Dmman.h15 #define MAP_FIXED 0x100 /* Interpret addr exactly */ macro
/Linux-v5.10/arch/mips/include/uapi/asm/
Dmman.h32 #define MAP_FIXED 0x010 /* Interpret addr exactly */ macro
/Linux-v5.10/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-v5.10/Documentation/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-v5.10/arch/csky/abiv1/
Dmmap.c42 if (flags & MAP_FIXED) { in arch_get_unmapped_area()

123