Lines Matching refs:pt_pages
166 pt_vaddr = kmap_atomic(ppgtt->pt_pages[act_pt]); in gen6_ppgtt_clear_range()
189 pt_vaddr = kmap_atomic(ppgtt->pt_pages[act_pt]); in gen6_ppgtt_insert_entries()
199 pt_vaddr = kmap_atomic(ppgtt->pt_pages[act_pt]); in gen6_ppgtt_insert_entries()
220 __free_page(ppgtt->pt_pages[i]); in gen6_ppgtt_cleanup()
221 kfree(ppgtt->pt_pages); in gen6_ppgtt_cleanup()
243 ppgtt->pt_pages = kzalloc(sizeof(struct page *)*ppgtt->num_pd_entries, in gen6_ppgtt_init()
245 if (!ppgtt->pt_pages) in gen6_ppgtt_init()
249 ppgtt->pt_pages[i] = alloc_page(GFP_KERNEL); in gen6_ppgtt_init()
250 if (!ppgtt->pt_pages[i]) in gen6_ppgtt_init()
262 pt_addr = pci_map_page(dev->pdev, ppgtt->pt_pages[i], 0, 4096, in gen6_ppgtt_init()
289 if (ppgtt->pt_pages[i]) in gen6_ppgtt_init()
290 __free_page(ppgtt->pt_pages[i]); in gen6_ppgtt_init()
292 kfree(ppgtt->pt_pages); in gen6_ppgtt_init()