Home
last modified time | relevance | path

Searched refs:page_ext (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/linux/
Dpage_idle.h18 struct page_ext *page_ext = page_ext_get(&folio->page); in folio_test_young() local
21 if (unlikely(!page_ext)) in folio_test_young()
24 page_young = test_bit(PAGE_EXT_YOUNG, &page_ext->flags); in folio_test_young()
25 page_ext_put(page_ext); in folio_test_young()
32 struct page_ext *page_ext = page_ext_get(&folio->page); in folio_set_young() local
34 if (unlikely(!page_ext)) in folio_set_young()
37 set_bit(PAGE_EXT_YOUNG, &page_ext->flags); in folio_set_young()
38 page_ext_put(page_ext); in folio_set_young()
43 struct page_ext *page_ext = page_ext_get(&folio->page); in folio_test_clear_young() local
46 if (unlikely(!page_ext)) in folio_test_clear_young()
[all …]
Dpage_ext.h35 struct page_ext { struct
64 extern struct page_ext *page_ext_get(struct page *page);
65 extern void page_ext_put(struct page_ext *page_ext);
67 static inline struct page_ext *page_ext_next(struct page_ext *curr) in page_ext_next()
75 struct page_ext;
98 static inline struct page_ext *page_ext_get(struct page *page) in page_ext_get()
103 static inline void page_ext_put(struct page_ext *page_ext) in page_ext_put() argument
Dmmzone.h1116 struct page_ext *node_page_ext;
1635 struct page_ext;
1657 struct page_ext *page_ext; member
/linux-6.1.9/mm/
Dpage_owner.c104 static inline struct page_owner *get_page_owner(struct page_ext *page_ext) in get_page_owner() argument
106 return (void *)page_ext + page_owner_ops.offset; in get_page_owner()
139 struct page_ext *page_ext; in __reset_page_owner() local
144 page_ext = page_ext_get(page); in __reset_page_owner()
145 if (unlikely(!page_ext)) in __reset_page_owner()
150 __clear_bit(PAGE_EXT_OWNER_ALLOCATED, &page_ext->flags); in __reset_page_owner()
151 page_owner = get_page_owner(page_ext); in __reset_page_owner()
154 page_ext = page_ext_next(page_ext); in __reset_page_owner()
156 page_ext_put(page_ext); in __reset_page_owner()
159 static inline void __set_page_owner_handle(struct page_ext *page_ext, in __set_page_owner_handle() argument
[all …]
Dpage_ext.c89 unsigned long page_ext_size = sizeof(struct page_ext);
92 static struct page_ext *lookup_page_ext(const struct page *page);
137 static inline struct page_ext *get_entry(void *base, unsigned long index) in get_entry()
153 struct page_ext *page_ext_get(struct page *page) in page_ext_get()
155 struct page_ext *page_ext; in page_ext_get() local
158 page_ext = lookup_page_ext(page); in page_ext_get()
159 if (!page_ext) { in page_ext_get()
164 return page_ext; in page_ext_get()
177 void page_ext_put(struct page_ext *page_ext) in page_ext_put() argument
179 if (unlikely(!page_ext)) in page_ext_put()
[all …]
Dpage_table_check.c49 static struct page_table_check *get_page_table_check(struct page_ext *page_ext) in get_page_table_check() argument
51 BUG_ON(!page_ext); in get_page_table_check()
52 return (void *)(page_ext) + page_table_check_ops.offset; in get_page_table_check()
62 struct page_ext *page_ext; in page_table_check_clear() local
71 page_ext = page_ext_get(page); in page_table_check_clear()
75 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_clear()
84 page_ext = page_ext_next(page_ext); in page_table_check_clear()
86 page_ext_put(page_ext); in page_table_check_clear()
98 struct page_ext *page_ext; in page_table_check_set() local
107 page_ext = page_ext_get(page); in page_table_check_set()
[all …]
DMakefile120 obj-$(CONFIG_PAGE_EXTENSION) += page_ext.o
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dpage_owner.rst47 1025 8 8 1041 411 mm/page_ext.o
/linux-6.1.9/Documentation/admin-guide/
Dkernel-parameters.txt1472 early_page_ext [KNL] Enforces page_ext initialization to earlier