/tools/testing/scatterlist/ |
D | main.c | 8 static void set_pages(struct page **pages, const unsigned *array, unsigned num) in set_pages() argument 14 pages[i] = (struct page *)(unsigned long) in set_pages() 56 struct page *pages[MAX_PAGES]; in main() local 60 set_pages(pages, test->pfn, test->num_pages); in main() 62 ret = __sg_alloc_table_from_pages(&st, pages, test->num_pages, in main()
|
/tools/vm/ |
D | page-types.c | 221 static unsigned long pages2mb(unsigned long pages) in pages2mb() argument 223 return (pages * page_size) >> 20; in pages2mb() 275 unsigned long pages) in kpageflags_read() argument 277 return do_u64_read(kpageflags_fd, opt_kpageflags, buf, index, pages); in kpageflags_read() 282 unsigned long pages) in kpagecgroup_read() argument 285 return pages; in kpagecgroup_read() 287 return do_u64_read(kpagecgroup_fd, opt_kpageflags, buf, index, pages); in kpagecgroup_read() 292 unsigned long pages) in kpagecount_read() argument 294 return kpagecount_fd < 0 ? pages : in kpagecount_read() 296 buf, index, pages); in kpagecount_read() [all …]
|
/tools/testing/selftests/powerpc/mm/ |
D | subpage_prot.c | 96 long i, j, pages, err; in run_test() local 98 pages = size / 0x10000; in run_test() 99 map = malloc(pages * 4); in run_test() 106 for (i = 0; i < pages; i++) { in run_test() 120 for (i = 0; i < pages; i++) { in run_test()
|
/tools/perf/arch/s390/util/ |
D | auxtrace.c | 52 unsigned int pages; in cpumsf_recording_options() local 68 pages = DEFAULT_AUX_PAGES * factor; in cpumsf_recording_options() 69 opts->auxtrace_mmap_pages = roundup_pow_of_two(pages); in cpumsf_recording_options()
|
/tools/perf/util/ |
D | evlist.c | 768 unsigned long pages; in perf_event_mlock_kb_in_pages() local 782 pages = (max * 1024) / page_size; in perf_event_mlock_kb_in_pages() 783 if (!is_power_of_2(pages)) in perf_event_mlock_kb_in_pages() 784 pages = rounddown_pow_of_two(pages); in perf_event_mlock_kb_in_pages() 786 return pages; in perf_event_mlock_kb_in_pages() 789 size_t evlist__mmap_size(unsigned long pages) in evlist__mmap_size() argument 791 if (pages == UINT_MAX) in evlist__mmap_size() 792 pages = perf_event_mlock_kb_in_pages(); in evlist__mmap_size() 793 else if (!is_power_of_2(pages)) in evlist__mmap_size() 796 return (pages + 1) * page_size; in evlist__mmap_size() [all …]
|
D | evlist.h | 187 int evlist__mmap_ex(struct evlist *evlist, unsigned int pages, 191 int evlist__mmap(struct evlist *evlist, unsigned int pages); 194 size_t evlist__mmap_size(unsigned long pages);
|
D | python.c | 902 int pages = 128, overwrite = false; in pyrf_evlist__mmap() local 905 &pages, &overwrite)) in pyrf_evlist__mmap() 908 if (evlist__mmap(evlist, pages) < 0) { in pyrf_evlist__mmap()
|
/tools/testing/radix-tree/ |
D | regression1.c | 80 unsigned int nr_pages, struct page **pages) in find_get_pages() argument 102 pages[ret] = page; in find_get_pages() 157 struct page *pages[10]; in regression1_fn() local 159 find_get_pages(0, 10, pages); in regression1_fn()
|
D | regression2.c | 82 struct page *pages[1]; in regression2_test() local 114 radix_tree_gang_lookup_tag_slot(&mt_tree, (void ***)pages, start, end, in regression2_test()
|
/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 863 uint64_t pages = (sz + vm->page_size - 1) >> vm->page_shift; in vm_vaddr_unused_gap() local 872 pgidx_start, pages)) in vm_vaddr_unused_gap() 874 pgidx_start, pages); in vm_vaddr_unused_gap() 883 pgidx_start, pages)) in vm_vaddr_unused_gap() 886 pgidx_start, pages); in vm_vaddr_unused_gap() 895 pgidx_start, pages)) { in vm_vaddr_unused_gap() 897 vm->vpages_valid, pgidx_start, pages); in vm_vaddr_unused_gap() 905 "pages: 0x%lx", pages); in vm_vaddr_unused_gap() 912 pgidx_start, pages), in vm_vaddr_unused_gap() 916 pgidx_start, pages); in vm_vaddr_unused_gap() [all …]
|
/tools/virtio/linux/ |
D | virtio.h | 62 void *pages,
|
/tools/perf/Documentation/ |
D | perf-top.txt | 76 -m <pages>:: 77 --mmap-pages=<pages>:: 78 Number of mmap data pages (must be a power of two) or size 80 size is rounded up to have nearest pages power of two value. 174 perf-report man pages for details.
|
D | perf-kvm.txt | 123 --mmap-pages=:: 124 Number of mmap data pages (must be a power of two) or size 126 size is rounded up to have nearest pages power of two value.
|
D | perf-trace.txt | 102 --mmap-pages=:: 103 Number of mmap data pages (must be a power of two) or size 105 size is rounded up to have nearest pages power of two value. 164 man pages for details. The ones that are most useful in 'perf trace' 167 Using this will, for the root user, bump the value of --mmap-pages to 4 169 sysctl. This is done only if the user doesn't specify a --mmap-pages value.
|
D | perf-kmem.txt | 65 default, but this option shows live (currently allocated) pages
|
D | perf-record.txt | 229 --mmap-pages=:: 230 Number of mmap data pages (must be a power of two) or size 232 size is rounded up to have nearest pages power of two value. 233 Also, by adding a comma, the number of mmap pages for AUX 476 Specify minimal number of bytes that is extracted from mmap data pages and 479 The maximal allowed value is a quarter of the size of mmaped data pages. 486 chunks so extraction of larger chunks from the mmap data pages is preferable
|
D | intel-pt.txt | 458 If an unprivileged user does not specify mmap pages, the mmap pages will be 473 selects a buffer size of 16 pages i.e. 64KiB. 480 If an unprivileged user does not specify mmap pages, the mmap pages will be 490 size of 2 pages. In snapshot mode, it is the same but the minimum size is
|
D | Makefile | 210 DO_INSTALL_MAN = $(warning Please install $(missing_tools) to have the man pages installed)
|
D | perf.data-file-format.txt | 594 included with the standard Linux man pages, available with "man
|
D | perf-config.txt | 495 This option can assign a tool to view manual pages when 'help'
|
/tools/io_uring/ |
D | README | 25 comes with man pages for the three system calls.
|
/tools/memory-model/Documentation/ |
D | references.txt | 102 2014), 7:1–7:74 pages.
|
D | recipes.txt | 40 be full sized. Variables that straddle cachelines or pages void
|
/tools/perf/ |
D | design.txt | 285 The mmap size should be 1+2^n pages, where the first page is a meta-data page 334 The following 2^n pages are the ring-buffer which contains events of the form:
|
/tools/power/pm-graph/ |
D | README | 11 Full documentation available online & in man pages
|