Lines Matching refs:page_ext
70 unsigned long page_ext_size = sizeof(struct page_ext);
102 static inline struct page_ext *get_entry(void *base, unsigned long index) in get_entry()
115 struct page_ext *lookup_page_ext(const struct page *page) in lookup_page_ext()
119 struct page_ext *base; in lookup_page_ext()
137 struct page_ext *base; in alloc_node_page_ext()
190 struct page_ext *lookup_page_ext(const struct page *page) in lookup_page_ext()
200 if (!section->page_ext) in lookup_page_ext()
202 return get_entry(section->page_ext, pfn); in lookup_page_ext()
224 struct page_ext *base; in init_section_page_ext()
229 if (section->page_ext) in init_section_page_ext()
252 section->page_ext = (void *)base - page_ext_size * pfn; in init_section_page_ext()
276 struct page_ext *base; in __free_page_ext()
279 if (!ms || !ms->page_ext) in __free_page_ext()
281 base = get_entry(ms->page_ext, pfn); in __free_page_ext()
283 ms->page_ext = NULL; in __free_page_ext()