Lines Matching refs:vpgt
227 struct nvkm_vm_pgt *vpgt; in nvkm_vm_unmap_pgt() local
232 vpgt = &vm->pgt[pde - vm->fpde]; in nvkm_vm_unmap_pgt()
233 if (--vpgt->refcount[big]) in nvkm_vm_unmap_pgt()
236 pgt = vpgt->mem[big]; in nvkm_vm_unmap_pgt()
237 vpgt->mem[big] = NULL; in nvkm_vm_unmap_pgt()
240 mmu->func->map_pgt(vpgd->obj, pde, vpgt->mem); in nvkm_vm_unmap_pgt()
251 struct nvkm_vm_pgt *vpgt = &vm->pgt[pde - vm->fpde]; in nvkm_vm_map_pgt() local
261 pgt_size, 0x1000, true, &vpgt->mem[big]); in nvkm_vm_map_pgt()
266 mmu->func->map_pgt(vpgd->obj, pde, vpgt->mem); in nvkm_vm_map_pgt()
269 vpgt->refcount[big]++; in nvkm_vm_map_pgt()
295 struct nvkm_vm_pgt *vpgt = &vm->pgt[pde - vm->fpde]; in nvkm_vm_get() local
298 if (likely(vpgt->refcount[big])) { in nvkm_vm_get()
299 vpgt->refcount[big]++; in nvkm_vm_get()