Lines Matching refs:page
161 struct page *page, bool to_user)
165 struct page *endpage;
191 /* Is the object wholly within one base page? */
196 /* Allow if fully inside the same compound (__GFP_COMP) page. */
198 if (likely(endpage == page))
206 is_reserved = PageReserved(page);
207 is_cma = is_migrate_cma_page(page);
212 page = virt_to_head_page(ptr);
213 if (is_reserved && !PageReserved(page))
216 if (is_cma && !is_migrate_cma_page(page))
226 struct page *page;
233 * highmem page or fallback to virt_to_page(). The following
236 page = compound_head(kmap_to_page((void *)ptr));
238 if (PageSlab(page)) {
240 __check_heap_object(ptr, n, page, to_user);
243 check_page_span(ptr, n, page, to_user);