/kernel/linux/linux-5.10/tools/perf/tests/ |
D | backward-ring-buffer.c | 62 static int do_test(struct evlist *evlist, int mmap_pages, in do_test() argument 68 err = evlist__mmap(evlist, mmap_pages); in do_test() 98 .mmap_pages = 256, in test__backward_ring_buffer() 140 err = do_test(evlist, opts.mmap_pages, &sample_count, in test__backward_ring_buffer()
|
D | perf-record.c | 52 .mmap_pages = 256, in test__PERF_RECORD() 148 err = evlist__mmap(evlist, opts.mmap_pages); in test__PERF_RECORD()
|
D | bpf.c | 121 .mmap_pages = 256, in do_test() 173 err = evlist__mmap(evlist, opts.mmap_pages); in do_test()
|
D | openat-syscall-tp-fields.c | 34 .mmap_pages = 256, in test__syscall_openat_tp_fields()
|
D | keep-tracking.c | 67 .mmap_pages = UINT_MAX, in test__keep_tracking()
|
D | switch-tracking.c | 328 .mmap_pages = UINT_MAX, in test__switch_tracking()
|
D | code-reading.c | 557 .mmap_pages = UINT_MAX, in do_test_code_reading()
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
D | intel-bts.c | 157 if (opts->mmap_pages == UINT_MAX) in intel_bts_recording_options() 158 opts->mmap_pages = KiB(256) / page_size; in intel_bts_recording_options() 161 opts->mmap_pages == UINT_MAX) { in intel_bts_recording_options() 162 opts->mmap_pages = KiB(256) / page_size; in intel_bts_recording_options() 194 if (opts->mmap_pages == UINT_MAX) in intel_bts_recording_options() 195 opts->mmap_pages = KiB(256) / page_size; in intel_bts_recording_options()
|
D | intel-pt.c | 687 if (opts->mmap_pages == UINT_MAX) in intel_pt_recording_options() 688 opts->mmap_pages = KiB(256) / page_size; in intel_pt_recording_options() 691 opts->mmap_pages == UINT_MAX) { in intel_pt_recording_options() 692 opts->mmap_pages = KiB(256) / page_size; in intel_pt_recording_options() 730 opts->mmap_pages == UINT_MAX) in intel_pt_recording_options() 731 opts->mmap_pages = KiB(256) / page_size; in intel_pt_recording_options() 757 if (opts->mmap_pages == UINT_MAX) in intel_pt_recording_options() 758 opts->mmap_pages = KiB(256) / page_size; in intel_pt_recording_options()
|
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/ |
D | cs-etm.c | 313 if (opts->mmap_pages == UINT_MAX) in cs_etm_recording_options() 314 opts->mmap_pages = KiB(256) / page_size; in cs_etm_recording_options() 317 opts->mmap_pages == UINT_MAX) { in cs_etm_recording_options() 318 opts->mmap_pages = KiB(256) / page_size; in cs_etm_recording_options() 365 if (opts->mmap_pages == UINT_MAX) in cs_etm_recording_options() 366 opts->mmap_pages = KiB(256) / page_size; in cs_etm_recording_options()
|
/kernel/linux/linux-5.10/tools/perf/arch/arm64/util/ |
D | arm-spe.c | 99 if (opts->mmap_pages == UINT_MAX) in arm_spe_recording_options() 100 opts->mmap_pages = KiB(256) / page_size; in arm_spe_recording_options()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | record.h | 53 unsigned int mmap_pages; member
|
D | evlist.h | 198 int __perf_evlist__parse_mmap_pages(unsigned int *mmap_pages, const char *str);
|
D | evlist.c | 838 int __perf_evlist__parse_mmap_pages(unsigned int *mmap_pages, const char *str) in __perf_evlist__parse_mmap_pages() argument 852 *mmap_pages = pages; in __perf_evlist__parse_mmap_pages()
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-record.c | 475 flush_max = evlist__mmap_size(opts->mmap_pages); in record__mmap_flush_parse() 849 if (evlist__mmap_ex(evlist, opts->mmap_pages, in record__mmap_evlist() 860 opts->mmap_pages, opts->auxtrace_mmap_pages); in record__mmap_evlist() 2210 unsigned int mmap_pages; in record__parse_mmap_pages() local 2225 ret = __perf_evlist__parse_mmap_pages(&mmap_pages, s); in record__parse_mmap_pages() 2228 opts->mmap_pages = mmap_pages; in record__parse_mmap_pages() 2236 ret = __perf_evlist__parse_mmap_pages(&mmap_pages, p + 1); in record__parse_mmap_pages() 2240 opts->auxtrace_mmap_pages = mmap_pages; in record__parse_mmap_pages() 2258 u64 wakeup_size = evlist__mmap_size(rec->opts.mmap_pages); in switch_output_size_warn() 2382 .mmap_pages = UINT_MAX,
|
D | builtin-top.c | 1061 if (evlist__mmap(evlist, opts->mmap_pages) < 0) { in perf_top__start_counters() 1426 .mmap_pages = UINT_MAX, in cmd_top() 1471 OPT_CALLBACK('m', "mmap-pages", &opts->mmap_pages, "pages", in cmd_top()
|
D | builtin-kvm.c | 1065 if (evlist__mmap(evlist, kvm->opts.mmap_pages) < 0) { in kvm_live_open_events() 1351 OPT_CALLBACK('m', "mmap-pages", &kvm->opts.mmap_pages, "pages", in kvm_events_live() 1398 kvm->opts.mmap_pages = 512; in kvm_events_live()
|
D | builtin-trace.c | 4044 err = evlist__mmap(evlist, trace->opts.mmap_pages); 4737 .mmap_pages = UINT_MAX, 4777 OPT_CALLBACK('m', "mmap-pages", &trace.opts.mmap_pages, "pages", 4992 if (trace.opts.mmap_pages == UINT_MAX) 5008 trace.opts.mmap_pages = perf_event_mlock_kb_in_pages() * 4;
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
D | perf-time-to-tsc.c | 51 .mmap_pages = UINT_MAX, in test__perf_time_to_tsc()
|
/kernel/linux/linux-5.10/drivers/net/xen-netback/ |
D | netback.c | 122 return page_to_pfn(queue->mmap_pages[idx]); in idx_to_pfn() 349 queue->pages_to_map[mop-queue->tx_map_ops] = queue->mmap_pages[pending_idx]; in xenvif_tx_create_map_op() 715 get_page(queue->mmap_pages[pending_idx]); in xenvif_fill_frags() 1352 queue->mmap_pages[pending_idx]; in xenvif_tx_dealloc_action() 1494 &queue->mmap_pages[pending_idx], 1); in xenvif_idx_unmap()
|
D | common.h | 162 struct page *mmap_pages[MAX_PENDING_REQS]; member
|
D | interface.c | 588 queue->mmap_pages); in xenvif_init_queue() 842 gnttab_free_pages(MAX_PENDING_REQS, queue->mmap_pages); in xenvif_deinit_queue()
|