Searched refs:page_ext (Results 1 – 9 of 9) sorted by relevance
18 struct page_ext *page_ext = page_ext_get(&folio->page); in folio_test_young() local21 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() local34 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() local46 if (unlikely(!page_ext)) in folio_test_clear_young()[all …]
35 struct page_ext { struct64 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
1116 struct page_ext *node_page_ext;1635 struct page_ext;1657 struct page_ext *page_ext; member
104 static inline struct page_owner *get_page_owner(struct page_ext *page_ext) in get_page_owner() argument106 return (void *)page_ext + page_owner_ops.offset; in get_page_owner()139 struct page_ext *page_ext; in __reset_page_owner() local144 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 …]
89 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() local158 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() argument179 if (unlikely(!page_ext)) in page_ext_put()[all …]
49 static struct page_table_check *get_page_table_check(struct page_ext *page_ext) in get_page_table_check() argument51 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() local71 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() local107 page_ext = page_ext_get(page); in page_table_check_set()[all …]
120 obj-$(CONFIG_PAGE_EXTENSION) += page_ext.o
47 1025 8 8 1041 411 mm/page_ext.o
1472 early_page_ext [KNL] Enforces page_ext initialization to earlier