/openbmc/linux/tools/perf/ |
H A D | builtin-record.c | 111 struct mmap **maps; 112 struct mmap **overwrite_maps; 485 struct mmap *maps = evlist->mmap; in record__aio_mmap_read_sync() 698 struct mmap *map, in record__process_auxtrace() 736 struct mmap *map) in record__auxtrace_mmap_read() 774 struct mmap *map = &rec->evlist->mmap[i]; in record__auxtrace_read_snapshot_all() 1027 struct mmap *mmap = evlist->mmap; in record__thread_data_init_maps() local 1037 if (mmap) { in record__thread_data_init_maps() 1296 if (evlist->mmap) in record__mmap_evlist() 1531 struct mmap **maps; in record__mmap_read_evlist() [all …]
|
/openbmc/linux/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 273 p = mmap(NULL, in mfd_assert_mmap_shared() 291 p = mmap(NULL, in mfd_assert_mmap_private() 346 p = mmap(NULL, in mfd_assert_read() 359 p = mmap(NULL, in mfd_assert_read() 378 p = mmap(NULL, in mfd_assert_read_shared() 396 p = mmap(NULL, in mfd_assert_fork_private_write() 445 p = mmap(NULL, in mfd_assert_write() 459 p = mmap(NULL, in mfd_assert_write() 474 p = mmap(NULL, in mfd_assert_write() 519 p = mmap(NULL, in mfd_fail_write() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | migration.c | 126 ptr = mmap(NULL, TWOMEG, PROT_READ | PROT_WRITE, 152 ptr = mmap(NULL, TWOMEG, PROT_READ | PROT_WRITE, 186 ptr = mmap(NULL, 2*TWOMEG, PROT_READ | PROT_WRITE,
|
H A D | map_populate.c | 55 smap = mmap(0, MMAP_SZ, PROT_READ | PROT_WRITE, in child_f() 85 smap = mmap(0, MMAP_SZ, PROT_READ | PROT_WRITE, in main()
|
H A D | memfd_secret.c | 68 mem = mmap(NULL, len, prot, mode, fd, 0); in test_mlock_limit() 76 mem = mmap(NULL, len, prot, mode, fd, 0); in test_mlock_limit() 184 mem = mmap(NULL, page_size, prot, mode, fd, 0); in test_remote_access()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libmimetic/libmimetic/ |
H A D | 0001-mimetic-Check-for-MMAP_FAILED-return-from-mmap.patch | 4 Subject: [PATCH] mimetic: Check for MMAP_FAILED return from mmap() 27 m_beg = (char*) mmap(0, m_st.st_size, PROT_READ, MAP_SHARED,m_fd,0);
|
/openbmc/linux/tools/testing/selftests/prctl/ |
H A D | set-anon-vma-name-test.c | 79 self->ptr_anon = mmap(NULL, AREA_SIZE, PROT_READ | PROT_WRITE, in FIXTURE_SETUP() 82 self->ptr_not_anon = mmap(NULL, AREA_SIZE, PROT_READ | PROT_WRITE, in FIXTURE_SETUP()
|
/openbmc/linux/Documentation/translations/zh_CN/userspace-api/accelerators/ |
H A D | ocxl.rst | 165 mmap section in 用户API 168 一个进程可以mmap每个进程的MMIO区域来和AFU交互。
|
/openbmc/linux/fs/proc/ |
H A D | inode.c | 433 typeof_member(struct proc_ops, proc_mmap) mmap; in pde_mmap() 435 mmap = pde->proc_ops->proc_mmap; in pde_mmap() 436 if (mmap) in pde_mmap() 437 return mmap(file, vma); in pde_mmap() 584 .mmap = proc_reg_mmap, 597 .mmap = proc_reg_mmap, 611 .mmap = proc_reg_mmap, 625 .mmap = proc_reg_mmap,
|
/openbmc/linux/tools/perf/util/ |
H A D | synthetic-events.c | 519 event->mmap2.len -= event->mmap.start; in perf_event__synthesize_mmap_events() 719 event->mmap.header.size = (sizeof(event->mmap) - in perf_event__synthesize_modules() 720 (sizeof(event->mmap.filename) - size)); in perf_event__synthesize_modules() 723 event->mmap.start = map__start(map); in perf_event__synthesize_modules() 724 event->mmap.len = map__size(map); in perf_event__synthesize_modules() 725 event->mmap.pid = machine->pid; in perf_event__synthesize_modules() 1152 size = snprintf(event->mmap.filename, sizeof(event->mmap.filename), in __perf_event__synthesize_kernel_mmap() 1156 event->mmap.header.size = (sizeof(event->mmap) - in __perf_event__synthesize_kernel_mmap() 1159 event->mmap.start = map__start(map); in __perf_event__synthesize_kernel_mmap() 1160 event->mmap.len = map__end(map) - event->mmap.start; in __perf_event__synthesize_kernel_mmap() [all …]
|
H A D | python.c | 274 pevent->event.mmap.pid, pevent->event.mmap.tid, in pyrf_mmap_event__repr() 275 pevent->event.mmap.start, pevent->event.mmap.len, in pyrf_mmap_event__repr() 276 pevent->event.mmap.pgoff, pevent->event.mmap.filename) < 0) { in pyrf_mmap_event__repr() 874 mmap = 0, in pyrf_evsel__init() local 894 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init() 917 attr.mmap = mmap; in pyrf_evsel__init() 1127 static struct mmap *get_md(struct evlist *evlist, int cpu) in get_md() 1132 struct mmap *md = &evlist->mmap[i]; in get_md() 1148 struct mmap *md; in pyrf_evlist__read_on_cpu()
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/ |
H A D | rwmem_1.2.bb | 3 rwmem supports two modes: mmap mode and i2c mode. \ 5 In mmap mode rwmem accesses a file by memory mapping it. \
|
/openbmc/qemu/ebpf/ |
H A D | ebpf_rss.c | 56 ctx->mmap_configuration = mmap(NULL, qemu_real_host_page_size(), in ebpf_rss_mmap() 63 ctx->mmap_toeplitz_key = mmap(NULL, qemu_real_host_page_size(), in ebpf_rss_mmap() 70 ctx->mmap_indirections_table = mmap(NULL, qemu_real_host_page_size(), in ebpf_rss_mmap()
|
/openbmc/phosphor-mboxd/vpnor/test/ |
H A D | write_rw.cpp | 50 map = mmap(NULL, sizeof(src), PROT_READ, MAP_SHARED, fd, 0); in main() 86 map = mmap(NULL, sizeof(src), PROT_READ, MAP_SHARED, fd, 0); in main()
|
/openbmc/phosphor-mboxd/test/ |
H A D | implicit_flush.c | 94 map = mmap(NULL, MEM_SIZE, PROT_READ, MAP_PRIVATE, in flush_on_close() 126 map = mmap(NULL, MEM_SIZE, PROT_READ, MAP_PRIVATE, in flush_on_create()
|
/openbmc/hiomapd/vpnor/test/ |
H A D | write_rw.cpp | 54 map = mmap(NULL, sizeof(src), PROT_READ, MAP_SHARED, fd, 0); in main() 90 map = mmap(NULL, sizeof(src), PROT_READ, MAP_SHARED, fd, 0); in main()
|
/openbmc/hiomapd/test/ |
H A D | implicit_flush.c | 95 map = mmap(NULL, MEM_SIZE, PROT_READ, MAP_PRIVATE, in flush_on_close() 127 map = mmap(NULL, MEM_SIZE, PROT_READ, MAP_PRIVATE, in flush_on_create()
|
/openbmc/linux/tools/perf/tests/ |
H A D | sw-clock.c | 48 struct mmap *md; in __test__sw_clock_freq() 100 md = &evlist->mmap[0]; in __test__sw_clock_freq()
|
H A D | task-exit.c | 56 struct mmap *md; in test__task_exit() 118 md = &evlist->mmap[0]; in test__task_exit()
|
H A D | openat-syscall-tp-fields.c | 95 struct mmap *md; in test__syscall_openat_tp_fields() 97 md = &evlist->mmap[i]; in test__syscall_openat_tp_fields()
|
/openbmc/linux/tools/lib/perf/include/internal/ |
H A D | evlist.h | 34 struct perf_mmap *mmap; member 51 perf_evlist_mmap__cb_mmap_t mmap; member
|
/openbmc/linux/Documentation/misc-devices/ |
H A D | uacce.rst | 67 | | | | | mmap memory 90 Uacce uses mmap and IOMMU to play the trick. 100 via mmap space of the queue fd. 173 The queue file mmap space will need a user driver to wrap the communication
|
/openbmc/phosphor-ipmi-flash/internal/ |
H A D | sys.cpp | 70 void* SysImpl::mmap(void* addr, std::size_t length, int prot, int flags, int fd, in mmap() function in internal::SysImpl 73 return ::mmap(addr, length, prot, flags, fd, offset); in mmap()
|
/openbmc/linux/Documentation/mm/ |
H A D | overcommit-accounting.rst | 45 guarantees and run close to the edge you MUST mmap your stack for the 67 | Pages made writable copies by mmap 73 * We account mmap memory mappings
|
/openbmc/qemu/bsd-user/ |
H A D | mmap.c | 206 void *p = mmap(host_start, qemu_host_page_size, prot, in mmap_frag() 316 ptr = mmap(g2h_untagged(addr), size, PROT_NONE, in mmap_find_vma_aligned() 548 p = mmap(g2h_untagged(start), host_len, prot, in target_mmap() 555 p = mmap(g2h_untagged(start), len, prot, in target_mmap() 653 p = mmap(g2h_untagged(real_start), real_end - real_start, in target_mmap() 711 mmap(g2h_untagged(real_start), real_end - real_start, PROT_NONE, in mmap_reserve()
|