Home
last modified time | relevance | path

Searched full:page (Results 1 – 25 of 4476) sorted by relevance

12345678910>>...180

/third_party/Linux_Kernel/include/linux/
Dpage-flags.h2 * Macros for manipulating and testing page->flags
17 * Various page->flags bits:
23 * specific data (which is normally at page->private). It can be used by
30 * PG_locked also pins a page in pagecache, and blocks truncation of the file
33 * page_waitqueue(page) is a wait queue of all tasks waiting for the page
36 * PG_uptodate tells whether the page's contents is valid. When a read
37 * completes, the page becomes uptodate, unless a disk I/O error happened.
39 * PG_referenced, PG_reclaim are used for page reclaim for anonymous and
42 * PG_error is set to indicate that an I/O error occurred on this page.
44 * PG_arch_1 is an architecture specific page state bit. The generic code
[all …]
Dballoon_compaction.h10 * As the page isolation scanning step a compaction thread does is a lockless
11 * procedure (from a page standpoint), it might bring some racy situations while
12 * performing balloon page compaction. In order to sort out these racy scenarios
13 * and safely perform balloon's page compaction and migration we must, always,
16 * i. when updating a balloon's page ->mapping element, strictly do it under
19 * +-page_lock(page);
21 * ... page->mapping updates here ...
23 * ii. before isolating or dequeueing a balloon page from the balloon device
24 * pages list, the page reference counter must be raised by one and the
25 * extra refcount must be dropped when the page is enqueued back into
[all …]
Dpagemap.h19 * Bits in mapping->flags. The lower __GFP_BITS_SHIFT bits are the page
90 * The page cache can be done in larger chunks than
91 * one page, because it allows for more efficient
102 #define page_cache_get(page) get_page(page) argument
103 #define page_cache_release(page) put_page(page) argument
104 void release_pages(struct page **pages, int nr, bool cold);
107 * speculatively take a reference to a page.
108 * If the page is free (_count == 0), then _count is untouched, and 0
112 * been used to lookup the page in the pagecache radix-tree (or page table):
118 * page has been finished with, no matter what it is subsequently allocated
[all …]
Dpage_idle.h5 #include <linux/page-flags.h>
11 static inline bool page_is_young(struct page *page) in page_is_young() argument
13 return PageYoung(page); in page_is_young()
16 static inline void set_page_young(struct page *page) in set_page_young() argument
18 SetPageYoung(page); in set_page_young()
21 static inline bool test_and_clear_page_young(struct page *page) in test_and_clear_page_young() argument
23 return TestClearPageYoung(page); in test_and_clear_page_young()
26 static inline bool page_is_idle(struct page *page) in page_is_idle() argument
28 return PageIdle(page); in page_is_idle()
31 static inline void set_page_idle(struct page *page) in set_page_idle() argument
[all …]
Dmm_inline.h8 * page_is_file_cache - should the page be on a file LRU or anon LRU?
9 * @page: the page to test
11 * Returns 1 if @page is page cache page backed by a regular filesystem,
12 * or 0 if @page is anonymous, tmpfs or otherwise ram or swap backed.
13 * Used by functions that manipulate the LRU lists, to sort a page
16 * We would like to get this info without a page flag, but the state
17 * needs to survive until the page is last deleted from the LRU, which
20 static inline int page_is_file_cache(struct page *page) in page_is_file_cache() argument
22 return !PageSwapBacked(page); in page_is_file_cache()
25 static __always_inline void add_page_to_lru_list(struct page *page, in add_page_to_lru_list() argument
[all …]
Dmm.h54 #include <asm/page.h>
64 * a zero page mapping on a read fault.
67 * related to the physical page in case of virtualization.
85 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) argument
87 /* to align the pointer to the (next) page boundary */
129 #define VM_PFNMAP 0x00000400 /* Page-ranges managed without "struct page", just pure PFN */
145 #define VM_HUGETLB 0x00400000 /* Huge TLB Page VM */
156 #define VM_MIXEDMAP 0x10000000 /* Can contain "struct page" and pure PFN pages */
211 * low four bits) to a page protection mask..
232 pgoff_t pgoff; /* Logical page offset based on vma */
[all …]
Dhighmem.h14 static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vma… in flush_anon_page() argument
20 static inline void flush_kernel_dcache_page(struct page *page) in flush_kernel_dcache_page() argument
42 struct page *kmap_to_page(void *addr);
48 static inline struct page *kmap_to_page(void *addr) in kmap_to_page()
56 static inline void *kmap(struct page *page) in kmap() argument
59 return page_address(page); in kmap()
62 static inline void kunmap(struct page *page) in kunmap() argument
66 static inline void *kmap_atomic(struct page *page) in kmap_atomic() argument
70 return page_address(page); in kmap_atomic()
72 #define kmap_atomic_prot(page, prot) kmap_atomic(page) argument
[all …]
Dmigrate.h8 typedef struct page *new_page_t(struct page *page, unsigned long private,
10 typedef void free_page_t(struct page *page, unsigned long private);
14 * - negative errno on page migration failure;
15 * - zero on page migration success;
33 struct page *, struct page *, enum migrate_mode);
39 extern void migrate_page_copy(struct page *newpage, struct page *page);
41 struct page *newpage, struct page *page);
43 struct page *newpage, struct page *page,
57 static inline void migrate_page_copy(struct page *newpage, in migrate_page_copy()
58 struct page *page) {} in migrate_page_copy() argument
[all …]
Dhugetlb_cgroup.h22 * Minimum page order trackable by hugetlb cgroup.
29 static inline struct hugetlb_cgroup *hugetlb_cgroup_from_page(struct page *page) in hugetlb_cgroup_from_page() argument
31 VM_BUG_ON_PAGE(!PageHuge(page), page); in hugetlb_cgroup_from_page()
33 if (compound_order(page) < HUGETLB_CGROUP_MIN_ORDER) in hugetlb_cgroup_from_page()
35 return (struct hugetlb_cgroup *)page[2].private; in hugetlb_cgroup_from_page()
39 int set_hugetlb_cgroup(struct page *page, struct hugetlb_cgroup *h_cg) in set_hugetlb_cgroup() argument
41 VM_BUG_ON_PAGE(!PageHuge(page), page); in set_hugetlb_cgroup()
43 if (compound_order(page) < HUGETLB_CGROUP_MIN_ORDER) in set_hugetlb_cgroup()
45 page[2].private = (unsigned long)h_cg; in set_hugetlb_cgroup()
58 struct page *page);
[all …]
Dpage_owner.h8 extern void __reset_page_owner(struct page *page, unsigned int order);
9 extern void __set_page_owner(struct page *page,
11 extern gfp_t __get_page_owner_gfp(struct page *page);
13 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner() argument
18 __reset_page_owner(page, order); in reset_page_owner()
21 static inline void set_page_owner(struct page *page, in set_page_owner() argument
27 __set_page_owner(page, order, gfp_mask); in set_page_owner()
30 static inline gfp_t get_page_owner_gfp(struct page *page) in get_page_owner_gfp() argument
35 return __get_page_owner_gfp(page); in get_page_owner_gfp()
38 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner() argument
[all …]
Dswap.h13 #include <linux/page-flags.h>
14 #include <asm/page.h>
25 #define SWAP_FLAG_DISCARD_PAGES 0x40000 /* discard page-clusters after use */
84 * areas somewhat tricky on machines that support multiple page sizes.
152 SWP_PAGE_DISCARD = (1 << 9), /* freed swap page-cluster discards */
171 #define SWAP_HAS_CACHE 0x40 /* Flag page is cached, in first swap_map */
230 unsigned long *frontswap_map; /* frontswap in-use, one bit per page */
252 void *workingset_eviction(struct address_space *mapping, struct page *page);
254 void workingset_activation(struct page *page);
299 extern void lru_cache_add(struct page *);
[all …]
Dksm.h38 static inline struct stable_node *page_stable_node(struct page *page) in page_stable_node() argument
40 return PageKsm(page) ? page_rmapping(page) : NULL; in page_stable_node()
43 static inline void set_page_stable_node(struct page *page, in set_page_stable_node() argument
46 page->mapping = (void *)stable_node + in set_page_stable_node()
51 * When do_swap_page() first faults in from swap what used to be a KSM page,
55 * needed to reconstitute a cross-anon_vma KSM page: for now it has to make
59 * but what if the vma was unmerged while the page was swapped out?
61 struct page *ksm_might_need_to_copy(struct page *page,
64 int rmap_walk_ksm(struct page *page, struct rmap_walk_control *rwc);
65 void ksm_migrate_page(struct page *newpage, struct page *oldpage);
[all …]
Drmap.h15 * an anonymous page pointing to this anon_vma needs to be unmapped:
19 * in mprotect), the mapping field of an anonymous page cannot point
24 * the anon_vma object itself: we're guaranteed no page can be
32 * guarantee that the vma of page tables will exist for
91 TTU_IGNORE_HWPOISON = (1 << 10),/* corrupted page is recoverable */
162 struct anon_vma *page_get_anon_vma(struct page *page);
165 * rmap interfaces called when adding or removing pte of page
167 void page_move_anon_rmap(struct page *, struct vm_area_struct *, unsigned long);
168 void page_add_anon_rmap(struct page *, struct vm_area_struct *, unsigned long);
169 void do_page_add_anon_rmap(struct page *, struct vm_area_struct *,
[all …]
Dscatterlist.h48 * the page pointer AND encode information about the sg table as well. The two
63 * We overload the LSB of the page pointer to indicate whether it's
73 * sg_assign_page - Assign a given page to an SG entry
75 * @page: The page
78 * Assign page to sg entry. Also see sg_set_page(), the most commonly used
82 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page() argument
90 BUG_ON((unsigned long) page & 0x03); in sg_assign_page()
95 sg->page_link = page_link | (unsigned long) page; in sg_assign_page()
99 * sg_set_page - Set sg entry to point at given page
101 * @page: The page
[all …]
Dfscache.h37 * a page is currently backed by a local disk cache
39 #define PageFsCache(page) PagePrivate2((page)) argument
40 #define SetPageFsCache(page) SetPagePrivate2((page)) argument
41 #define ClearPageFsCache(page) ClearPagePrivate2((page)) argument
42 #define TestSetPageFsCache(page) TestSetPagePrivate2((page)) argument
43 #define TestClearPageFsCache(page) TestClearPagePrivate2((page)) argument
53 typedef void (*fscache_rw_complete_t)(struct page *page,
138 /* indicate page that now have cache metadata retained
139 * - this function should mark the specified page as now being cached
140 * - the page will have been marked with PG_fscache before this is
[all …]
Dbuffer_head.h24 BH_Uptodate_Lock,/* Used by the first bh in a page, to serialise
25 * IO completion of other buffers in the page
48 struct page;
55 * within a page, and of course as the unit of I/O through the
59 * a page (via a page_mapping) and for wrapping bio submission
64 struct buffer_head *b_this_page;/* circular list of page's buffers */
65 struct page *b_page; /* the page this bh is mapped to */
69 char *b_data; /* pointer to data within the page */
136 /* If we *know* page->private refers to buffer_heads */
137 #define page_buffers(page) \ argument
[all …]
/third_party/jsframework/runtime/main/page/api/
Dmisc.ts22 * page controls from native
29 * corresponded with the API of page manager (framework.js)
36 import Page from '../index';
40 * Destroy a page.
41 * @param {Page} page
43 export function destroy(page: Page): void {
44 Log.debug(`Destroy a page(${page.id}).`);
46 if (page.vm) {
47 page.vm.destroy();
50 page.id = null;
[all …]
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dpage_test.dart9 testWidgets('test iOS page transition (LTR)', (WidgetTester tester) async {
17 return Center(child: Text('Page $pageNumber'));
24 final Offset widget1InitialTopLeft = tester.getTopLeft(find.text('Page 1'));
31 Offset widget1TransientTopLeft = tester.getTopLeft(find.text('Page 1'));
32 Offset widget2TopLeft = tester.getTopLeft(find.text('Page 2'));
34 // Page 1 is moving to the left.
36 // Page 1 isn't moving vertically.
40 // Page 2 is coming in from the right.
48 // Page 2 covers page 1.
49 expect(find.text('Page 1'), findsNothing);
[all …]
Dnav_bar_transition_test.dart128 await startTransitionBetween(tester, fromTitle: 'Page 1');
135 expect(flying(tester, find.text('Page 1')), findsNWidgets(2));
140 tester.getTopLeft(flying(tester, find.text('Page 1')).first),
144 tester.getTopLeft(flying(tester, find.text('Page 1')).last),
152 fromTitle: 'Page 1',
158 expect(flying(tester, find.text('Page 1')), findsNWidgets(2));
161 tester.getTopLeft(flying(tester, find.text('Page 1')).first),
165 tester.getTopLeft(flying(tester, find.text('Page 1')).last),
171 await startTransitionBetween(tester, fromTitle: 'Page 1');
178 tester.renderObject(flying(tester, find.text('Page 1')).first);
[all …]
/third_party/boost/more/writingdoc/
Ddesign.html30 <dl class="page-index">
37 <dl class="page-index">
38 <dt><a href="#index-page">Index</a></dt>
40 <dt><a href="#overview-page">Overview</a></dt>
42 <dt><a href="#definitions-page">Definitions</a></dt>
44 <dt><a href="#rationale-page">Rationale</a></dt>
46 <dt><a href="#configuration-page">Configuration Information</a></dt>
48 <dt><a href="#faq-page">Frequently Asked Questions</a></dt>
50 <dt><a href="#bibliography-page">Bibliography</a></dt>
52 <dt><a href="#acknowledgements-page">Acknowledgment</a></dt>
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Dpage_test.dart12 testWidgets('test Android page transition', (WidgetTester tester) async {
16 home: const Material(child: Text('Page 1')),
19 return const Material(child: Text('Page 2'));
25 final Offset widget1TopLeft = tester.getTopLeft(find.text('Page 1'));
32 tester.element(find.text('Page 2')).ancestorWidgetOfExactType(FadeTransition);
33 Offset widget2TopLeft = tester.getTopLeft(find.text('Page 2'));
34 final Size widget2Size = tester.getSize(find.text('Page 2'));
38 // Page 1 is above page 2 mid-transition.
40 // Animation begins 3/4 of the way up the page.
42 // Animation starts with page 2 being near transparent.
[all …]
/third_party/jsframework/runtime/main/page/entry/
Dbundle.ts36 import Page from '../index';
40 * Parse page code.
41 * @param {Page} page - Page.
42 * @param {string} name - Name of page.
45 export const defineFn = function(page: Page, name?: string, ...args: any[] | null): void {
56 const packageName = page.packageName;
57 const appFunction = (): Page => {
58 if (page && page.doc) {
59 return page;
62 return page;
[all …]
/third_party/boost/tools/docca/include/docca/
Dbase-extract-xml-pages.xsl68 <xsl:apply-templates mode="create-page" select=".">
82 <xsl:template mode="create-page" match="*"/>
83 <xsl:template mode="create-page" match="compound[@kind = 'namespace']">
86 <xsl:template mode="create-page" match="compound[@kind = ('class','struct')]
88 <xsl:variable name="page-id" as="xs:string">
89 <xsl:apply-templates mode="page-id" select="."/>
91 <page id="{$page-id}" href="{$page-id}.xml">
92 <xsl:result-document href="xml-pages/{$page-id}.xml">
93 <xsl:apply-templates mode="page-content" select=".">
94 <xsl:with-param name="page-id" select="$page-id" tunnel="yes"/>
[all …]
/third_party/jsframework/runtime/main/app/
Dbundle.ts34 } from '../page/register';
37 import Page from '../page/index';
45 * Parse app page code.
46 * @param {Page} page
48 * @param {string} name - Name of page.
51 export const defineFn = function(page: Page, packageName: string, name?: string, ...args: any[] | n…
52 Log.debug(`Define a page ${name}.`);
60 const appFunction = (): Page => {
61 return page || appMap[packageName].getAppInstance();
82 registerCustomComponent(page, componetName, bundleContent);
[all …]
/third_party/jsframework/runtime/main/manage/instance/
Dlife.ts20 import { destroy } from '../../page/api/index';
23 import Page from '../../page';
24 import { init as initApp } from '../../page/api/index';
27 const pageMap: Map<string, Page> = App.pageMap;
30 * Create a page.
31 * @param {string} id - Page id.
33 * @param {Object} options - Options of a page instance.
43 let page: Page = pageMap.get(id);
45 if (!page) {
46 page = new Page(id, options, options.packageName, data);
[all …]

12345678910>>...180