| /third_party/ltp/testcases/kernel/syscalls/move_pages/ |
| D | move_pages_support.c | 33 * free_pages() - free an array of pages 34 * @pages: array of page pointers to be freed 35 * @num: no. of pages in the array 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() 52 * alloc_pages_on_nodes() - allocate pages on specified NUMA nodes 53 * @pages: array in which the page pointers will be stored 54 * @num: no. of pages to allocate 58 * page pointers will be stored in @pages array. [all …]
|
| D | move_pages03.c | 29 * Test movement of pages mapped by a process. 35 * 4. Use move_pages() to move the pages to NUMA node B, with the 37 * 5. Check if all pages are in node B. 81 * child() - touches shared pages, and waits for signal from parent. 82 * @pages: shared pages allocated in parent 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() 150 * Fork a child process so that the shared pages are in main() [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_pages02.c | 29 * Test movement of pages mapped by a process. 32 * 1. Allocate pages in NUMA node A. 33 * 2. Use move_pages() to move the pages to NUMA node B. 34 * 3. Retrieve the NUMA nodes of the moved pages. 35 * 4. Check if all pages are in node B. 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() [all …]
|
| D | move_pages05.c | 29 * Test movement of pages mapped by a process. 35 * 4. Use move_pages() to move the pages to NUMA node B, without 83 * child() - touches pages, and waits for signal from parent. 84 * @pages: shared pages allocated in parent 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() 157 * Fork a child process so that the shared pages are in main() [all …]
|
| D | move_pages11.c | 29 * Failure when trying move shared pages. 34 * 3. Use move_pages() to move the pages to NUMA node B, with the 82 * child() - touches shared pages, and waits for signal from parent. 83 * @pages: shared pages allocated in parent 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() 151 * Fork a child process so that the shared pages are in main() 160 child(pages, sem); in main() [all …]
|
| D | move_pages01.c | 32 * 1. Allocate pages in NUMA nodes A and B. 33 * 2. Use move_pages() to retrieve the NUMA node of the pages. 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()
|
| /third_party/boost/libs/outcome/doc/src/layouts/shortcodes/ |
| D | children.html | 20 {{- .Scratch.Set "pages" $cpage.Pages }} 22 {{- .Scratch.Set "pages" ($cpage.Pages | union $cpage.Sections) }} 24 {{- $pages := (.Scratch.Get "pages") }} 27 …ate "childs2" dict "menu" $pages.ByWeight "style" $style "showhidden" $showhidden "count" 1 "depth… 29 …ate "childs2" dict "menu" $pages.ByTitle "style" $style "showhidden" $showhidden "count" 1 "depth"… 31 … "childs2" dict "menu" $pages.ByPublishDate "style" $style "showhidden" $showhidden "count" 1 "dep… 33 …late "childs2" dict "menu" $pages.ByDate "style" $style "showhidden" $showhidden "count" 1 "depth"… 35 …ate "childs2" dict "menu" $pages.ByLength "style" $style "showhidden" $showhidden "count" 1 "depth… 37 …emplate "childs2" dict "menu" $pages "style" $style "showhidden" $showhidden "count" 1 "depth" $de… 75 {{- .Scratch.Set "pages" .Pages }} [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/mlock2/ |
| D | mlock201.c | 12 * and lock all pages including non-present. 16 * and just lock present pages. 29 #define PAGES 8 macro 30 #define HPAGES (PAGES / 2) 33 static unsigned char vec[PAGES+1]; 46 /* lock all pages, expect all to be locked and present */ 47 {0, PAGES, 0, PAGES, PAGES, 0}, 49 /* mlock2() locks 3 pages if the specified 50 * range is little more than 2 pages. 54 /* mlock2() locks 2 pages if the specified [all …]
|
| /third_party/boost/libs/filesystem/doc/ |
| D | publish.bat | 2 copy /y styles.css ..\..\..\..\filesystem-gh-pages 3 copy /y deprecated.html ..\..\..\..\filesystem-gh-pages 4 copy /y design.htm ..\..\..\..\filesystem-gh-pages 5 copy /y faq.htm ..\..\..\..\filesystem-gh-pages 6 copy /y index.htm ..\..\..\..\filesystem-gh-pages 7 copy /y issue_reporting.html ..\..\..\..\filesystem-gh-pages 8 copy /y portability_guide.htm ..\..\..\..\filesystem-gh-pages 9 copy /y reference.html ..\..\..\..\filesystem-gh-pages 10 copy /y relative_proposal.html ..\..\..\..\filesystem-gh-pages 11 copy /y release_history.html ..\..\..\..\filesystem-gh-pages [all …]
|
| /third_party/node/tools/node_modules/eslint/node_modules/ajv/scripts/ |
| D | travis-gh-pages | 6 git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qE '\.md$|^LICENSE$|travis-gh-pages$' && { 7 rm -rf ../gh-pages 8 …git clone -b gh-pages --single-branch https://${GITHUB_TOKEN}@github.com/epoberezkin/ajv.git ../gh… 9 mkdir -p ../gh-pages/_source 10 cp *.md ../gh-pages/_source 11 cp LICENSE ../gh-pages/_source 13 cd ../gh-pages 14 $currentDir/node_modules/.bin/gh-pages-generator 21 git push --quiet origin gh-pages > /dev/null 2>&1
|
| /third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/scripts/ |
| D | travis-gh-pages | 6 git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qE '\.md$|^LICENSE$|travis-gh-pages$' && { 7 rm -rf ../gh-pages 8 …git clone -b gh-pages --single-branch https://${GITHUB_TOKEN}@github.com/ajv-validator/ajv.git ../… 9 mkdir -p ../gh-pages/_source 10 cp *.md ../gh-pages/_source 11 cp LICENSE ../gh-pages/_source 13 cd ../gh-pages 14 $currentDir/node_modules/.bin/gh-pages-generator 21 git push --quiet origin gh-pages > /dev/null 2>&1
|
| /third_party/Linux_Kernel/include/linux/ |
| D | balloon_compaction.h | 4 * Common interface definitions for making balloon pages movable by compaction. 6 * Despite being perfectly possible to perform ballooned pages migration, they 7 * make a special corner case to compaction scans because balloon pages are not 8 * enlisted at any LRU list like the other pages we do compact / migrate. 24 * pages list, the page reference counter must be raised by one and the 39 * set of exposed rules are satisfied while we are dealing with balloon pages 55 * procedures to find the proper balloon device holding memory pages they'll 60 unsigned long isolated_pages; /* # of isolated pages for migration */ 61 spinlock_t pages_lock; /* Protection to pages list */ 62 struct list_head pages; /* Pages enqueued & handled to Host */ member [all …]
|
| D | fscache.h | 151 * cached pages 186 struct radix_tree_root stores; /* pages to be stored on this cookie */ 187 #define FSCACHE_COOKIE_PENDING_TAG 0 /* pages tag: pending write to cache */ 188 #define FSCACHE_COOKIE_STORING_TAG 1 /* pages tag: writing to cache */ 249 struct list_head *pages); 556 * fscache_read_or_alloc_pages - Read pages from the cache and/or allocate 559 * @mapping: The netfs inode mapping to which the pages will be attached 560 * @pages: A list of potential netfs pages to be filled 561 * @nr_pages: Number of pages to be read and/or allocated 566 * Read a set of pages from the cache, or if that's not possible, attempt to [all …]
|
| /third_party/harfbuzz/src/ |
| D | hb-set.hh | 38 /* TODO Keep a free-list so we can free pages that are completely zeroed. At that 39 * point maybe also use a sentinel value for "all-1" pages? */ 217 hb_vector_t<page_t> pages; member 224 pages.init (); in init_shallow() 235 pages.fini (); in fini_shallow() 247 if (unlikely (count > pages.length && !successful)) return false; in resize() 248 if (!pages.resize (count) || !page_map.resize (count)) in resize() 250 pages.resize (page_map.length); in resize() 270 unsigned int count = pages.length; in is_empty() 272 if (!pages[i].is_empty ()) in is_empty() [all …]
|
| /third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
| D | hb-set.hh | 38 /* TODO Keep a free-list so we can free pages that are completely zeroed. At that 39 * point maybe also use a sentinel value for "all-1" pages? */ 191 hb_vector_t<page_t> pages; member 198 pages.init (); in init_shallow() 209 pages.fini (); in fini_shallow() 222 if (!pages.resize (count) || !page_map.resize (count)) in resize() 224 pages.resize (page_map.length); in resize() 245 pages.resize (0); in clear() 249 unsigned int count = pages.length; in is_empty() 251 if (!pages[i].is_empty ()) in is_empty() [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/madvise/ |
| D | madvise09.c | 11 * o Allocate pages and fill them with a pattern 13 * o Madvise pages with MADV_FREE 15 * o Check that madvised pages were not freed immediatelly 17 * o Write to some of the madvised pages again, these must not be freed 32 * o Once the child is killed the MADV_FREE pages that were not written to 60 #define PAGES 128 macro 108 for (i = 0; i < PAGES; i++) { in count_freed() 166 ptr = SAFE_MMAP(NULL, PAGES * page_size, PROT_READ | PROT_WRITE, in child() 169 for (i = 0; i < PAGES * page_size; i++) in child() 172 if (madvise(ptr, PAGES * page_size, MADV_FREE)) { in child() [all …]
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlock/ |
| D | assertions.xml | 3 The munlock() function shall unlock those whole pages containing any part of 6 process for any of the pages in the specified range 12 If any of the pages in the range specified to a call to munlock() are also 14 those pages by another process are unaffected by the call of this process to munlock() 17 If any of the pages in the range specified by a call to munlock() are also 19 outside the range specified, any locks established on those pages via the 23 Upon successful return from munlock(), pages in the specified range shall be 27 Memory residency of unlocked pages is unspecified 43 to valid mapped pages in the address space of the process
|
| /third_party/boost/libs/outcome/doc/src/themes/boostdoc/layouts/partials/ |
| D | boost-index.html | 24 {{- $numberOfPages := (add (len .Pages) (len .Sections)) }} 27 {{- .Scratch.Set "pages" .Pages }} 29 {{- .Scratch.Set "pages" (.Pages | union .Sections) }} 31 {{- $pages := (.Scratch.Get "pages") }} 34 {{- range $pages.ByTitle }} 41 {{- range $pages.ByWeight }}
|
| D | navigation.html | 21 {{- $currentNode.Scratch.Set "pages" .menu.Pages -}} 23 {{- $currentNode.Scratch.Set "pages" .menu.Sections -}} 25 {{- $currentNode.Scratch.Set "pages" (.menu.Pages | union .menu.Sections) -}} 27 {{- $pages := ($currentNode.Scratch.Get "pages") -}} 29 {{- range $pages.ByWeight -}}
|
| /third_party/gstreamer/gstplugins_base/ext/ogg/ |
| D | README | 10 An ogg stream contains pages with a serial number and a granulepos. 17 on pages. 68 - 3 header pages, with granulepos 0. 70 - N pages with 2 packets comments and codebooks 77 - 3 header pages, with granulepos 0. 79 - N pages with 2 packets comments and codebooks 102 are then simply submitted to the ogg sync layer. Pages are then processed when 109 In this mode, no setup is done at startup, the pages are just read and decoded. 110 A new logical chain is detected when one of the pages has the BOS flag set. At 133 a) read first and last pages [all …]
|
| /third_party/boost/libs/beast/doc/ |
| D | Jamfile | 92 # if base-extract-xml-pages.xml changes, then 93 # an invocation of extract-xml-pages.xsl (which 97 make extract-xml-pages.xsl : $(docca)/include/docca/extract-xml-pages.xsl : @copy_script ; 98 make base-extract-xml-pages.xsl : $(docca)/include/docca/base-extract-xml-pages.xsl : @copy_script ; 132 make xml-pages/directory/placeholder : index.xml : @null_action ; 139 make xml-pages.xml 142 extract-xml-pages.xsl 145 base-extract-xml-pages.xsl 153 make xml-pages : index.xml : @null_action ; 165 make stage1/results/directory/placeholder : xml-pages.xml : @null_action ; [all …]
|
| /third_party/boost/libs/static_string/doc/ |
| D | Jamfile | 93 # if base-extract-xml-pages.xml changes, then 94 # an invocation of extract-xml-pages.xsl (which 98 make extract-xml-pages.xsl : $(docca)/include/docca/extract-xml-pages.xsl : @copy_script ; 99 make base-extract-xml-pages.xsl : $(docca)/include/docca/base-extract-xml-pages.xsl : @copy_script ; 134 make xml-pages/directory/placeholder : index.xml : @null_action ; 141 make xml-pages.xml 144 extract-xml-pages.xsl 147 base-extract-xml-pages.xsl 155 make xml-pages : index.xml : @null_action ; 167 make stage1/results/directory/placeholder : xml-pages.xml : @null_action ; [all …]
|
| /third_party/grpc/src/csharp/docfx/ |
| D | generate_reference_docs.sh | 21 rm -rf html obj grpc-gh-pages 28 # prepare a clone of "gh-pages" branch where the generated docs are stored 30 git clone -b gh-pages -o upstream git@github.com:grpc/grpc.git grpc-gh-pages 31 cd grpc-gh-pages 38 echo "Done. Go to src/csharp/docfx/grpc-gh-pages git repository and create a pull request to update…
|
| /third_party/ltp/testcases/kernel/syscalls/mmap/ |
| D | mmap001.c | 69 printf(" -m x size of mmap in pages (default 1000)\n"); in help() 74 * pages that should be mapped. 86 unsigned int pages, memsize; in main() local 91 memsize = pages = atoi(m_copt); in main() 98 memsize *= getpagesize(); /* N PAGES */ in main() 102 * default size 1000 pages; in main() 104 memsize = pages = 1000; in main() 108 tst_resm(TINFO, "mmap()ing file of %u pages or %u bytes", pages, in main()
|