/tools/testing/selftests/vm/ |
D | hugepage-mmap.c | 32 #define FLAGS (MAP_SHARED | MAP_FIXED) 35 #define FLAGS (MAP_SHARED)
|
/tools/include/uapi/asm-generic/ |
D | mman-common.h | 17 #define MAP_SHARED 0x01 /* Share changes */ macro
|
/tools/arch/parisc/include/uapi/asm/ |
D | mman.h | 30 #define MAP_SHARED 0x01 macro
|
/tools/arch/mips/include/uapi/asm/ |
D | mman.h | 31 #define MAP_SHARED 0x001 macro
|
/tools/arch/alpha/include/uapi/asm/ |
D | mman.h | 30 #define MAP_SHARED 0x01 macro
|
/tools/arch/xtensa/include/uapi/asm/ |
D | mman.h | 30 #define MAP_SHARED 0x001 macro
|
/tools/testing/selftests/memfd/ |
D | memfd_test.c | 155 MAP_SHARED, in mfd_assert_mmap_shared() 268 MAP_SHARED, in mfd_assert_write() 282 MAP_SHARED, in mfd_assert_write() 297 MAP_SHARED, in mfd_assert_write() 342 MAP_SHARED, in mfd_fail_write() 354 MAP_SHARED, in mfd_fail_write() 367 MAP_SHARED, in mfd_fail_write()
|
D | fuse_test.c | 131 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 | 104 event = mmap(NULL, mmap_len, PROT_READ, MAP_SHARED, fd[0], 0); in test__intel_cqm_count_nmi_context()
|
D | rdpmc.c | 122 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 | 195 MAP_SHARED, fd, 0); in test_file()
|
/tools/perf/tests/ |
D | mmap-thread-lookup.c | 34 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 | 166 PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in sock_fanout_open_ring()
|
D | psock_tpacket.c | 671 MAP_SHARED | MAP_LOCKED | MAP_POPULATE, sock, 0); in mmap_ring()
|
/tools/perf/util/ |
D | jitdump.c | 432 event->mmap2.flags = MAP_SHARED; in jit_repipe_code_load() 521 event->mmap2.flags = MAP_SHARED; in jit_repipe_code_move()
|
D | event.c | 331 event->mmap2.flags |= MAP_SHARED; in perf_event__synthesize_mmap_events() 1079 (event->mmap2.flags & MAP_SHARED) ? 's' : 'p', in perf_event__fprintf_mmap2()
|
D | auxtrace.c | 91 mm->base = mmap(NULL, mp->len, mp->prot, MAP_SHARED, fd, mp->offset); in auxtrace_mmap__mmap() 793 addr = mmap(NULL, size, PROT_READ, MAP_SHARED, fd, file_offset); in auxtrace_buffer__get_data()
|
/tools/virtio/ |
D | vringh_test.c | 160 host_map = mmap(NULL, mapsize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in parallel_test() 161 guest_map = mmap(NULL, mapsize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in parallel_test()
|
/tools/perf/bench/ |
D | numa.c | 440 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data() 448 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data() 1378 g = (void *)alloc_data(sizeof(*g), MAP_SHARED, 1, 0, 0 /* THP */, 0); in init()
|
/tools/vm/ |
D | page-types.c | 940 ptr = mmap(NULL, len, PROT_READ, MAP_SHARED, fd, off); in walk_file()
|
/tools/testing/selftests/x86/ |
D | protection_keys.c | 868 ptr = mmap(0, size, prot, MAP_SHARED, fd, 0); in malloc_pkey_mmap_dax()
|
/tools/net/ |
D | bpf_dbg.c | 973 MAP_SHARED | MAP_LOCKED, pcap_fd, 0); in try_load_pcap()
|