/tools/testing/selftests/vm/ |
D | hugepage-mmap.c | 33 #define FLAGS (MAP_SHARED | MAP_FIXED) 36 #define FLAGS (MAP_SHARED)
|
D | userfaultfd.c | 164 (map_shared ? MAP_SHARED : MAP_PRIVATE) | in hugetlb_allocate_area() 175 MAP_SHARED | MAP_HUGETLB, in hugetlb_allocate_area() 224 MAP_ANONYMOUS | MAP_SHARED, -1, 0); in shmem_allocate_area()
|
/tools/arch/parisc/include/uapi/asm/ |
D | mman.h | 31 #define MAP_SHARED 0x01 macro
|
/tools/arch/alpha/include/uapi/asm/ |
D | mman.h | 31 #define MAP_SHARED 0x01 macro
|
/tools/arch/mips/include/uapi/asm/ |
D | mman.h | 32 #define MAP_SHARED 0x001 macro
|
/tools/arch/xtensa/include/uapi/asm/ |
D | mman.h | 31 #define MAP_SHARED 0x001 macro
|
/tools/include/uapi/asm-generic/ |
D | mman-common.h | 18 #define MAP_SHARED 0x01 /* Share changes */ macro
|
/tools/testing/selftests/memfd/ |
D | memfd_test.c | 192 MAP_SHARED, in mfd_assert_mmap_shared() 311 MAP_SHARED, in mfd_assert_write() 325 MAP_SHARED, in mfd_assert_write() 340 MAP_SHARED, in mfd_assert_write() 385 MAP_SHARED, in mfd_fail_write() 397 MAP_SHARED, in mfd_fail_write() 410 MAP_SHARED, in mfd_fail_write()
|
D | fuse_test.c | 132 MAP_SHARED, in mfd_assert_mmap_shared()
|
/tools/power/acpi/os_specific/service_layers/ |
D | osunixmap.c | 58 #define MMAP_FLAGS MAP_SHARED
|
/tools/perf/arch/x86/tests/ |
D | intel-cqm.c | 108 event = mmap(NULL, mmap_len, PROT_READ, MAP_SHARED, fd[0], 0); in test__intel_cqm_count_nmi_context()
|
D | rdpmc.c | 123 addr = mmap(NULL, page_size, PROT_READ, MAP_SHARED, fd, 0); in __test__rdpmc()
|
/tools/power/cpupower/debug/i386/ |
D | dump_psb.c | 184 mem = mmap(mem, 0x100000 - 0xc0000, PROT_READ, MAP_SHARED, fd, 0xc0000); in main()
|
/tools/testing/selftests/powerpc/mm/ |
D | subpage_prot.c | 209 MAP_SHARED, fd, 0); in test_file()
|
/tools/perf/tests/ |
D | mmap-thread-lookup.c | 37 MAP_SHARED|MAP_ANONYMOUS, -1, 0); in thread_init()
|
/tools/testing/selftests/ia64/ |
D | aliasing-test.c | 45 addr = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset); in map_mem()
|
/tools/testing/selftests/net/ |
D | psock_fanout.c | 198 PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in sock_fanout_open_ring()
|
D | psock_tpacket.c | 725 MAP_SHARED | MAP_LOCKED | MAP_POPULATE, sock, 0); in mmap_ring()
|
/tools/virtio/ |
D | vringh_test.c | 161 host_map = mmap(NULL, mapsize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in parallel_test() 162 guest_map = mmap(NULL, mapsize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in parallel_test()
|
/tools/perf/util/ |
D | jitdump.c | 467 event->mmap2.flags = MAP_SHARED; in jit_repipe_code_load() 559 event->mmap2.flags = MAP_SHARED; in jit_repipe_code_move()
|
D | event.c | 412 event->mmap2.flags |= MAP_SHARED; in perf_event__synthesize_mmap_events() 1227 (event->mmap2.flags & MAP_SHARED) ? 's' : 'p', in perf_event__fprintf_mmap2()
|
D | auxtrace.c | 93 mm->base = mmap(NULL, mp->len, mp->prot, MAP_SHARED, fd, mp->offset); in auxtrace_mmap__mmap() 808 addr = mmap(NULL, size, PROT_READ, MAP_SHARED, fd, file_offset); in auxtrace_buffer__get_data()
|
/tools/perf/bench/ |
D | numa.c | 451 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data() 459 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data() 1390 g = (void *)alloc_data(sizeof(*g), MAP_SHARED, 1, 0, 0 /* THP */, 0); in init()
|
/tools/vm/ |
D | page-types.c | 934 ptr = mmap(NULL, len, PROT_READ, MAP_SHARED, fd, off); in walk_file()
|
/tools/testing/selftests/x86/ |
D | protection_keys.c | 874 ptr = mmap(0, size, prot, MAP_SHARED, fd, 0); in malloc_pkey_mmap_dax()
|