Lines Matching refs:page
182 struct anon_vma_t *__anon_vma_create_alloc(struct Page *page, bool lock_page) in __anon_vma_create_alloc() argument
193 if (page != NULL) in __anon_vma_create_alloc()
198 spin_lock(&page->op_lock); in __anon_vma_create_alloc()
199 page->anon_vma = anon_vma; in __anon_vma_create_alloc()
200 spin_unlock(&page->op_lock); in __anon_vma_create_alloc()
203 page->anon_vma = anon_vma; in __anon_vma_create_alloc()
205 anon_vma->page = page; in __anon_vma_create_alloc()
235 if (anon_vma->page != NULL) in __anon_vma_free()
237 spin_lock(&anon_vma->page->op_lock); in __anon_vma_free()
238 anon_vma->page->anon_vma = NULL; in __anon_vma_free()
239 spin_unlock(&anon_vma->page->op_lock); in __anon_vma_free()
265 if (vma->anon_vma->page->attr & PAGE_DEVICE) in __anon_vma_del()
266 kfree(vma->anon_vma->page); in __anon_vma_del()
268 free_pages(vma->anon_vma->page, 1); in __anon_vma_del()