Home
last modified time | relevance | path

Searched refs:MAP_SHARED (Results 1 – 25 of 28) sorted by relevance

12

/tools/testing/selftests/vm/
Dhugepage-mmap.c32 #define FLAGS (MAP_SHARED | MAP_FIXED)
35 #define FLAGS (MAP_SHARED)
/tools/include/uapi/asm-generic/
Dmman-common.h17 #define MAP_SHARED 0x01 /* Share changes */ macro
/tools/arch/parisc/include/uapi/asm/
Dmman.h30 #define MAP_SHARED 0x01 macro
/tools/arch/mips/include/uapi/asm/
Dmman.h31 #define MAP_SHARED 0x001 macro
/tools/arch/alpha/include/uapi/asm/
Dmman.h30 #define MAP_SHARED 0x01 macro
/tools/arch/xtensa/include/uapi/asm/
Dmman.h30 #define MAP_SHARED 0x001 macro
/tools/testing/selftests/memfd/
Dmemfd_test.c155 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()
Dfuse_test.c131 MAP_SHARED, in mfd_assert_mmap_shared()
/tools/power/acpi/os_specific/service_layers/
Dosunixmap.c58 #define MMAP_FLAGS MAP_SHARED
/tools/perf/arch/x86/tests/
Dintel-cqm.c104 event = mmap(NULL, mmap_len, PROT_READ, MAP_SHARED, fd[0], 0); in test__intel_cqm_count_nmi_context()
Drdpmc.c122 addr = mmap(NULL, page_size, PROT_READ, MAP_SHARED, fd, 0); in __test__rdpmc()
/tools/power/cpupower/debug/i386/
Ddump_psb.c184 mem = mmap(mem, 0x100000 - 0xc0000, PROT_READ, MAP_SHARED, fd, 0xc0000); in main()
/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c195 MAP_SHARED, fd, 0); in test_file()
/tools/perf/tests/
Dmmap-thread-lookup.c34 MAP_SHARED|MAP_ANONYMOUS, -1, 0); in thread_init()
/tools/testing/selftests/ia64/
Daliasing-test.c45 addr = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset); in map_mem()
/tools/testing/selftests/net/
Dpsock_fanout.c166 PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in sock_fanout_open_ring()
Dpsock_tpacket.c671 MAP_SHARED | MAP_LOCKED | MAP_POPULATE, sock, 0); in mmap_ring()
/tools/perf/util/
Djitdump.c432 event->mmap2.flags = MAP_SHARED; in jit_repipe_code_load()
521 event->mmap2.flags = MAP_SHARED; in jit_repipe_code_move()
Devent.c331 event->mmap2.flags |= MAP_SHARED; in perf_event__synthesize_mmap_events()
1079 (event->mmap2.flags & MAP_SHARED) ? 's' : 'p', in perf_event__fprintf_mmap2()
Dauxtrace.c91 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/
Dvringh_test.c160 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/
Dnuma.c440 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/
Dpage-types.c940 ptr = mmap(NULL, len, PROT_READ, MAP_SHARED, fd, off); in walk_file()
/tools/testing/selftests/x86/
Dprotection_keys.c868 ptr = mmap(0, size, prot, MAP_SHARED, fd, 0); in malloc_pkey_mmap_dax()
/tools/net/
Dbpf_dbg.c973 MAP_SHARED | MAP_LOCKED, pcap_fd, 0); in try_load_pcap()

12