Home
last modified time | relevance | path

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

1234

/openbmc/linux/tools/testing/selftests/mm/
H A 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,
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/libx86-1/libx86-1.1/
H A Dlibx86-mmap-offset.patch76 + flags |= MAP_FIXED;
80 - MAP_FIXED | MAP_SHARED, fd_zero, 0);
151 - MAP_FIXED | MAP_SHARED, fd_mem, 0);
154 + MAP_FIXED | MAP_SHARED, fd_mem, 0);
167 MAP_FIXED | MAP_SHARED, fd_mem, 0xa0000);
/openbmc/qemu/tests/tcg/multiarch/
H A Dtest-mmap.c204 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in check_aligned_anonymous_fixed_mmaps()
235 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in check_aligned_anonymous_fixed_mmaps_collide_with_host()
353 MAP_PRIVATE | MAP_FIXED, in check_file_fixed_eof_mmaps()
393 MAP_PRIVATE | MAP_FIXED, in check_file_fixed_mmaps()
396 MAP_PRIVATE | MAP_FIXED, in check_file_fixed_mmaps()
399 MAP_PRIVATE | MAP_FIXED, in check_file_fixed_mmaps()
402 MAP_PRIVATE | MAP_FIXED, in check_file_fixed_mmaps()
/openbmc/qemu/linux-user/
H A Dmmap.c279 MAP_FIXED | MAP_ANONYMOUS in do_munmap()
599 if (start || (flags & (MAP_FIXED | MAP_FIXED_NOREPLACE))) { in mmap_h_eq_g()
655 if (start || (flags & (MAP_FIXED | MAP_FIXED_NOREPLACE))) { in mmap_h_lt_g()
682 if (flags & (MAP_FIXED | MAP_FIXED_NOREPLACE)) { in mmap_h_lt_g()
751 flags | MAP_FIXED, fd, offset); in mmap_h_lt_g()
790 if (start || (flags & (MAP_FIXED | MAP_FIXED_NOREPLACE))) { in mmap_h_gt_g()
794 if (!(flags & (MAP_FIXED | MAP_FIXED_NOREPLACE))) { in mmap_h_gt_g()
920 } else if (!(flags & MAP_FIXED)) { in target_mmap__locked()
932 flags |= MAP_FIXED; in target_mmap__locked()
981 if (flags & (MAP_FIXED | MAP_FIXED_NOREPLACE)) { in target_mmap()
[all …]
/openbmc/qemu/bsd-user/
H A Dmmap.c423 if (flags & MAP_FIXED) { in target_mmap()
490 if (!(flags & MAP_FIXED)) { in target_mmap()
536 if (!(flags & MAP_FIXED)) { in target_mmap()
549 flags | MAP_FIXED | ((fd != -1) ? MAP_ANON : 0), -1, 0); in target_mmap()
556 flags | MAP_FIXED, fd, host_offset); in target_mmap()
598 MAP_FIXED | MAP_PRIVATE | MAP_ANON, in target_mmap()
712 MAP_FIXED | MAP_ANON | MAP_PRIVATE, -1, 0); in mmap_reserve()
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A D0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch127 + flags = flags & ~(MAP_FIXED_NOREPLACE | MAP_FIXED);
133 + * MAP_FIXED*, in which case return MAP_FAILED.
210 MAP_FIXED | MAP_ANONYMOUS
243 - flags | MAP_FIXED | MAP_ANONYMOUS, -1, 0);
245 + flags | MAP_FIXED | MAP_ANONYMOUS, -1, 0);
253 - flags | MAP_FIXED, fd, host_offset);
255 + flags | MAP_FIXED, fd, host_offset);
H A D4a8579ad8629b57a43daa62e46cc7af6e1078116.patch33 + MAP_FIXED | MAP_ANONYMOUS
49 - MAP_FIXED | MAP_ANONYMOUS
/openbmc/linux/arch/arm/mm/
H A Dmmap.c49 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
103 if (flags & MAP_FIXED) { in arch_get_unmapped_area_topdown()
/openbmc/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()
/openbmc/linux/arch/arm/include/uapi/asm/
H A Dmman.h4 (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
/openbmc/qemu/linux-headers/asm-arm/
H A Dmman.h4 (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
/openbmc/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,
/openbmc/linux/arch/sh/mm/
H A Dmmap.c62 if (flags & MAP_FIXED) { in arch_get_unmapped_area()
111 if (flags & MAP_FIXED) { in arch_get_unmapped_area_topdown()
/openbmc/linux/arch/x86/kernel/
H A Dsys_x86_64.c131 if (flags & MAP_FIXED) in arch_get_unmapped_area()
175 if (flags & MAP_FIXED) in arch_get_unmapped_area_topdown()
/openbmc/linux/tools/arch/xtensa/include/uapi/asm/
H A Dmman.h23 #define MAP_FIXED 0x010 macro
/openbmc/linux/tools/arch/alpha/include/uapi/asm/
H A Dmman.h23 #define MAP_FIXED 0x100 macro
/openbmc/linux/tools/arch/mips/include/uapi/asm/
H A Dmman.h24 #define MAP_FIXED 0x010 macro
/openbmc/linux/tools/arch/parisc/include/uapi/asm/
H A Dmman.h23 #define MAP_FIXED 0x04 macro
/openbmc/linux/arch/s390/mm/
H A Dmmap.c85 if (flags & MAP_FIXED) in arch_get_unmapped_area()
125 if (flags & MAP_FIXED) in arch_get_unmapped_area_topdown()
/openbmc/qemu/linux-headers/asm-generic/
H A Dmman-common.h22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
/openbmc/linux/tools/include/uapi/asm-generic/
H A Dmman-common.h22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
/openbmc/linux/include/uapi/asm-generic/
H A Dmman-common.h22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
/openbmc/linux/arch/xtensa/include/uapi/asm/
H A Dmman.h39 #define MAP_FIXED 0x010 /* Interpret addr exactly */ macro
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dmman.h15 #define MAP_FIXED 0x04 /* Interpret addr exactly */ macro
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dmman.h15 #define MAP_FIXED 0x100 /* Interpret addr exactly */ macro

1234