Home
last modified time | relevance | path

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

/linux-6.6.21/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.h52 struct page_ext { struct
81 extern struct page_ext *page_ext_get(struct page *page);
82 extern void page_ext_put(struct page_ext *page_ext);
84 static inline void *page_ext_data(struct page_ext *page_ext, in page_ext_data() argument
87 return (void *)(page_ext) + ops->offset; in page_ext_data()
90 static inline struct page_ext *page_ext_next(struct page_ext *curr) in page_ext_next()
98 struct page_ext;
121 static inline struct page_ext *page_ext_get(struct page *page) in page_ext_get()
126 static inline void page_ext_put(struct page_ext *page_ext) in page_ext_put() argument
Dmmzone.h1284 struct page_ext *node_page_ext;
1788 struct page_ext;
1810 struct page_ext *page_ext; member
/linux-6.6.21/mm/
Dpage_owner.c105 static inline struct page_owner *get_page_owner(struct page_ext *page_ext) in get_page_owner() argument
107 return page_ext_data(page_ext, &page_owner_ops); in get_page_owner()
140 struct page_ext *page_ext; in __reset_page_owner() local
145 page_ext = page_ext_get(page); in __reset_page_owner()
146 if (unlikely(!page_ext)) in __reset_page_owner()
151 __clear_bit(PAGE_EXT_OWNER_ALLOCATED, &page_ext->flags); in __reset_page_owner()
152 page_owner = get_page_owner(page_ext); in __reset_page_owner()
155 page_ext = page_ext_next(page_ext); in __reset_page_owner()
157 page_ext_put(page_ext); in __reset_page_owner()
160 static inline void __set_page_owner_handle(struct page_ext *page_ext, in __set_page_owner_handle() argument
[all …]
Dpage_table_check.c51 static struct page_table_check *get_page_table_check(struct page_ext *page_ext) in get_page_table_check() argument
53 BUG_ON(!page_ext); in get_page_table_check()
54 return page_ext_data(page_ext, &page_table_check_ops); in get_page_table_check()
63 struct page_ext *page_ext; in page_table_check_clear() local
72 page_ext = page_ext_get(page); in page_table_check_clear()
78 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_clear()
87 page_ext = page_ext_next(page_ext); in page_table_check_clear()
89 page_ext_put(page_ext); in page_table_check_clear()
100 struct page_ext *page_ext; in page_table_check_set() local
109 page_ext = page_ext_get(page); in page_table_check_set()
[all …]
Dpage_ext.c111 page_ext_size = sizeof(struct page_ext); in invoke_need_callbacks()
139 static inline struct page_ext *get_entry(void *base, unsigned long index) in get_entry()
155 static struct page_ext *lookup_page_ext(const struct page *page) in lookup_page_ext()
159 struct page_ext *base; in lookup_page_ext()
178 struct page_ext *base; in alloc_node_page_ext()
229 static bool page_ext_invalid(struct page_ext *page_ext) in page_ext_invalid() argument
231 return !page_ext || (((unsigned long)page_ext & PAGE_EXT_INVALID) == PAGE_EXT_INVALID); in page_ext_invalid()
234 static struct page_ext *lookup_page_ext(const struct page *page) in lookup_page_ext()
238 struct page_ext *page_ext = READ_ONCE(section->page_ext); in lookup_page_ext() local
247 if (page_ext_invalid(page_ext)) in lookup_page_ext()
[all …]
DMakefile119 obj-$(CONFIG_PAGE_EXTENSION) += page_ext.o
/linux-6.6.21/scripts/gdb/linux/
Dpage_owner.py69 def page_ext_invalid(self, page_ext): argument
70 if page_ext == gdb.Value(0):
72 if page_ext.cast(utils.get_ulong_type()) & PAGE_EXT_INVALID == PAGE_EXT_INVALID:
82 page_ext = section["page_ext"]
83 if self.page_ext_invalid(page_ext):
85 return self.get_entry(page_ext, pfn)
88 page_ext = self.lookup_page_ext(page)
89 if page_ext != gdb.Value(0):
90 return page_ext
94 def get_page_owner(self, page_ext): argument
[all …]
Dconstants.py.in21 #include <linux/page_ext.h>
103 /* linux/page_ext.h */
/linux-6.6.21/Documentation/admin-guide/
Dkernel-parameters.txt1491 early_page_ext [KNL] Enforces page_ext initialization to earlier