/third_party/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages_support.c | 37 void free_pages(void **pages, unsigned int num) in free_pages() argument 44 if (pages[i] != NULL) { in free_pages() 45 numa_free(pages[i], onepage); in free_pages() 63 int alloc_pages_on_nodes(void **pages, unsigned int num, int *nodes) in alloc_pages_on_nodes() argument 71 pages[i] = NULL; in alloc_pages_on_nodes() 78 pages[i] = numa_alloc_onnode(onepage, nodes[i]); in alloc_pages_on_nodes() 80 if (pages[i] == NULL) { in alloc_pages_on_nodes() 87 page = pages[i]; in alloc_pages_on_nodes() 94 free_pages(pages, num); in alloc_pages_on_nodes() 110 int alloc_pages_linear(void **pages, unsigned int num) in alloc_pages_linear() argument [all …]
|
D | move_pages_support.h | 34 void free_pages(void **pages, unsigned int num); 36 int alloc_pages_on_nodes(void **pages, unsigned int num, int *nodes); 37 int alloc_pages_linear(void **pages, unsigned int num); 38 int alloc_pages_on_node(void **pages, unsigned int num, int node); 40 void verify_pages_on_nodes(void **pages, int *status, 42 void verify_pages_linear(void **pages, int *status, unsigned int num); 43 void verify_pages_on_node(void **pages, int *status, 46 int alloc_shared_pages_on_node(void **pages, unsigned int num, int node); 47 void free_shared_pages(void **pages, unsigned int num);
|
D | move_pages05.c | 86 void child(void **pages, sem_t * sem) in child() argument 93 page = pages[i]; in child() 128 void *pages[N_TEST_PAGES] = { 0 }; in main() local 137 ret = alloc_shared_pages_on_node(pages + SHARED_PAGE, in main() 142 ret = alloc_pages_on_node(pages + UNSHARED_PAGE, in main() 165 child(pages, sem); in main() 172 ret = numa_move_pages(0, N_TEST_PAGES, pages, nodes, in main() 198 free_pages(pages + UNSHARED_PAGE, N_UNSHARED_PAGES); in main() 200 free_shared_pages(pages + SHARED_PAGE, N_SHARED_PAGES); in main()
|
D | move_pages03.c | 85 void child(void **pages, sem_t * sem) in child() argument 92 page = pages[i]; in child() 127 void *pages[TEST_PAGES] = { 0 }; in main() local 136 ret = alloc_shared_pages_on_node(pages, TEST_PAGES, from_node); in main() 158 child(pages, sem); in main() 165 ret = numa_move_pages(0, TEST_PAGES, pages, nodes, in main() 174 verify_pages_on_node(pages, status, TEST_PAGES, to_node); in main() 185 free_shared_pages(pages, TEST_PAGES); in main()
|
D | move_pages02.c | 89 void *pages[TEST_PAGES] = { 0 }; in main() local 96 ret = alloc_pages_on_node(pages, TEST_PAGES, from_node); in main() 104 numa_move_pages(0, TEST_PAGES, pages, nodes, status, in main() 108 free_pages(pages, TEST_PAGES); in main() 115 *((char *)pages[i]) = 0xAA; in main() 117 verify_pages_on_node(pages, status, TEST_PAGES, to_node); in main() 119 free_pages(pages, TEST_PAGES); in main()
|
D | move_pages01.c | 80 void *pages[TEST_PAGES] = { 0 }; in main() local 87 ret = alloc_pages_linear(pages, TEST_PAGES); in main() 91 ret = numa_move_pages(0, TEST_PAGES, pages, NULL, status, 0); in main() 94 free_pages(pages, TEST_PAGES); in main() 100 verify_pages_linear(pages, status, TEST_PAGES); in main() 102 free_pages(pages, TEST_PAGES); in main()
|
D | move_pages11.c | 86 void child(void **pages, sem_t * sem) in child() argument 93 page = pages[i]; in child() 128 void *pages[TEST_PAGES] = { 0 }; in main() local 137 ret = alloc_shared_pages_on_node(pages, TEST_PAGES, from_node); in main() 160 child(pages, sem); in main() 168 ret = numa_move_pages(0, TEST_PAGES, pages, nodes, in main() 186 free_shared_pages(pages, TEST_PAGES); in main()
|
D | move_pages04.c | 105 void *pages[TEST_PAGES] = { 0 }; in main() local 113 ret = alloc_pages_on_node(pages, TOUCHED_PAGES, from_node); in main() 118 pages[UNTOUCHED_PAGE] = numa_alloc_onnode(onepage, from_node); in main() 119 if (pages[UNTOUCHED_PAGE] == NULL) { in main() 128 ret = numa_move_pages(0, TEST_PAGES, pages, nodes, in main() 152 free_pages(pages, TEST_PAGES); in main()
|
D | move_pages09.c | 88 void *pages[TEST_PAGES] = { 0 }; in main() local 95 ret = alloc_pages_on_node(pages, TEST_PAGES, from_node); in main() 102 ret = numa_move_pages(0, TEST_PAGES, pages, nodes, in main() 110 free_pages(pages, TEST_PAGES); in main()
|
D | move_pages06.c | 89 void *pages[TEST_PAGES] = { 0 }; in main() local 96 ret = alloc_pages_on_node(pages, TEST_PAGES, from_node); in main() 104 ret = numa_move_pages(0, TEST_PAGES, pages, nodes, in main() 113 free_pages(pages, TEST_PAGES); in main()
|
D | move_pages07.c | 89 void *pages[TEST_PAGES] = { 0 }; in main() local 97 ret = alloc_pages_on_node(pages, TEST_PAGES, from_node); in main() 106 ret = numa_move_pages(ipid, TEST_PAGES, pages, nodes, in main() 115 free_pages(pages, TEST_PAGES); in main()
|
D | move_pages10.c | 89 void *pages[TEST_PAGES] = { 0 }; in main() local 96 ret = alloc_pages_on_node(pages, TEST_PAGES, from_node); in main() 103 ret = numa_move_pages(0, TEST_PAGES, pages, nodes, in main() 112 free_pages(pages, TEST_PAGES); in main()
|
/third_party/cups-filters/filter/ |
D | pdf.cxx | 65 unsigned pages = (pdf->getAllPages()).size(); in pdf_load_template() local 67 if (pages != 1) { in pdf_load_template() 103 int pages = (pdf->getAllPages()).size(); in pdf_pages() local 105 return pages; in pdf_pages() 124 std::vector<QPDFObjectHandle> pages = pdf->getAllPages(); in pdf_prepend_stream() local 125 if (pages.empty() || page_num > pages.size()) { in pdf_prepend_stream() 130 QPDFObjectHandle page = pages[page_num - 1]; in pdf_prepend_stream() 171 std::vector<QPDFObjectHandle> pages = pdf->getAllPages(); in pdf_add_type1_font() local 172 if (pages.empty() || page_num > pages.size()) { in pdf_add_type1_font() 177 QPDFObjectHandle page = pages[page_num - 1]; in pdf_add_type1_font() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-bit-set.hh | 52 hb_swap (a.pages, b.pages); in swap() 61 pages.init (); in init() 66 pages.fini (); in fini() 83 hb_vector_t<page_t> pages; member 91 if (unlikely (!pages.resize (count) || !page_map.resize (count))) in resize() 93 pages.resize (page_map.length); in resize() 114 unsigned int count = pages.length; in is_empty() 116 if (!pages[i].is_empty ()) in is_empty() 339 unsigned int count = other.pages.length; in set() 345 hb_memcpy ((void *) pages, (const void *) other.pages, count * pages.item_size); in set() [all …]
|
/third_party/node/deps/v8/src/base/ |
D | sys-info.cc | 75 int pages, page_size; in AmountOfPhysicalMemory() 76 size_t size = sizeof(pages); in AmountOfPhysicalMemory() 77 sysctlbyname("vm.stats.vm.v_page_count", &pages, &size, nullptr, 0); in AmountOfPhysicalMemory() 79 if (pages == -1 || page_size == -1) { in AmountOfPhysicalMemory() 82 return static_cast<int64_t>(pages) * page_size; in AmountOfPhysicalMemory() 102 long pages = sysconf(_SC_PHYS_PAGES); // NOLINT(runtime/int) in AmountOfPhysicalMemory() 104 if (pages == -1 || page_size == -1) { in AmountOfPhysicalMemory() 107 return static_cast<int64_t>(pages) * page_size; in AmountOfPhysicalMemory()
|
/third_party/ltp/testcases/kernel/controllers/memcg/stress/ |
D | memcg_process_stress.c | 21 char **pages; variable 29 pages[i][0] = 0xef; in touch_memory() 41 pages = calloc(nr_page, sizeof(char *)); in sigusr_handler() 42 if (pages == NULL) in sigusr_handler() 46 pages[i] = mmap(NULL, pagesize, PROT_WRITE | PROT_READ, in sigusr_handler() 48 if (pages[i] == MAP_FAILED) in sigusr_handler()
|
/third_party/ltp/testcases/kernel/mce-test/tools/ |
D | page-types.c | 217 static unsigned long pages2mb(unsigned long pages) in pages2mb() argument 219 return (pages * page_size) >> 20; in pages2mb() 276 unsigned long pages) in kpageflags_read() argument 278 return do_u64_read(kpageflags_fd, PROC_KPAGEFLAGS, buf, index, pages); in kpageflags_read() 283 unsigned long pages) in pagemap_read() argument 285 return do_u64_read(pagemap_fd, "/proc/pid/pagemap", buf, index, pages); in pagemap_read() 574 long pages; in walk_pfn() local 579 pages = kpageflags_read(buf, index, batch); in walk_pfn() 580 if (pages == 0) in walk_pfn() 583 for (i = 0; i < pages; i++) in walk_pfn() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/ |
D | VK_NVX_binary_import.txt | 39 specification and reference pages. 48 specification and reference pages. 57 specification and reference pages. 68 specification and reference pages. 79 specification and reference pages. 90 specification and reference pages. 101 specification and reference pages. 112 specification and reference pages. 123 specification and reference pages. 134 specification and reference pages.
|
D | VK_NVX_binary_import.adoc | 39 specification and reference pages. 48 specification and reference pages. 57 specification and reference pages. 68 specification and reference pages. 79 specification and reference pages. 90 specification and reference pages. 101 specification and reference pages. 112 specification and reference pages. 123 specification and reference pages. 134 specification and reference pages.
|
/third_party/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 444 unsigned long ps, pages; in create_same_memory() local 458 pages = MB / ps; in create_same_memory() 498 SAFE_FILE_PRINTF(PATH_KSM "max_page_sharing", "%ld", size * pages * num); in create_same_memory() 502 SAFE_FILE_PRINTF(PATH_KSM "pages_to_scan", "%ld", size * pages * num); in create_same_memory() 507 ksm_group_check(1, 2, size * num * pages - 2, 0, 0, 0, size * pages * num); in create_same_memory() 511 ksm_group_check(1, 3, size * num * pages - 3, 0, 0, 0, size * pages * num); in create_same_memory() 515 ksm_group_check(1, 1, size * num * pages - 1, 0, 0, 0, size * pages * num); in create_same_memory() 519 ksm_group_check(1, 1, size * num * pages - 2, 0, 1, 0, size * pages * num); in create_same_memory() 525 final_group_check(2, 0, 0, 0, 0, 0, size * pages * num); in create_same_memory() 529 final_group_check(0, 0, 0, 0, 0, 0, size * pages * num); in create_same_memory()
|
/third_party/icu/docs/userguide/dev/ |
D | editing.md | 28 …pport](https://docs.github.com/en/github/working-with-github-pages/setting-up-a-github-pages-site-… 45 …/docs.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-gith… 46 from the branch and the Markdown pages root directory (`/docs`). 49 …tps://docs.github.com/en/github/working-with-github-pages/about-jekyll-build-errors-for-github-pag… 64 Major chapters have Introduction pages, and further sections in a chapter are 123 > :construction: **TODO**: search our pages for "(§)" and fix the links. 133 [dependency versions](https://pages.github.com/versions/) used in order 172 `github-pages` gem. This is already configured in `Gemfile` in the root 194 Jekyll server will wait for that before being ready. Then, the rendered pages
|
/third_party/mesa3d/src/util/ |
D | slab.c | 129 pool->pages = NULL; in slab_create_child() 147 while (pool->pages) { in slab_destroy_child() 148 struct slab_page_header *page = pool->pages; in slab_destroy_child() 149 pool->pages = page->u.next; in slab_destroy_child() 195 page->u.next = pool->pages; in slab_add_new_page() 196 pool->pages = page; in slab_add_new_page()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/antora/ |
D | Makefile | 64 antora/modules/ROOT/pages/appendices \ 65 antora/modules/ROOT/pages/chapters \ 66 antora/modules/ROOT/pages/gen \ 68 antora/modules/proposals/pages/proposals \
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap001.c | 87 unsigned int pages, memsize; in main() local 92 memsize = pages = atoi(m_copt); in main() 105 memsize = pages = 1000; in main() 109 tst_resm(TINFO, "mmap()ing file of %u pages or %u bytes", pages, in main()
|
/third_party/curl/docs/ |
D | CURLDOWN.md | 3 A markdown-like syntax for libcurl man pages. 7 A text format for writing libcurl documentation in the shape of man pages. 14 Use a format that allows creating man pages that end up looking exactly like 15 the man pages did when we wrote them in nroff format. 38 Convert **from curldown to nroff** with `cd2nroff`. Generates nroff man pages. 108 Due to how man pages do not support backticks especially formatted, such 118 All mentioned curl symbols that have their own man pages, like
|