Lines Matching refs:refd

755 		vma->refd = NVKM_VMA_PAGE_NONE;  in nvkm_vma_new()
774 new->refd = vma->refd; in nvkm_vma_tail()
959 vma->refd != NVKM_VMA_PAGE_NONE ? '0' + vma->refd : '-', in nvkm_vma_dump()
1187 nvkm_vmm_ptes_unmap_put(vmm, &vmm->func->page[vma->refd], in nvkm_vmm_pfn_unmap()
1193 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_pfn_unmap()
1280 tmp->refd = page - vmm->func->page; in nvkm_vmm_pfn_map()
1282 tmp->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_pfn_map()
1349 const struct nvkm_vmm_page *page = &vmm->func->page[vma->refd]; in nvkm_vmm_unmap_locked()
1353 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_unmap_locked()
1436 vma->refd == NVKM_VMA_PAGE_NONE) { in nvkm_vmm_map_locked()
1449 if (vma->refd != NVKM_VMA_PAGE_NONE) in nvkm_vmm_map_locked()
1450 map->page = &vmm->func->page[vma->refd]; in nvkm_vmm_map_locked()
1487 if (vma->refd == NVKM_VMA_PAGE_NONE) { in nvkm_vmm_map_locked()
1492 vma->refd = map->page - vmm->func->page; in nvkm_vmm_map_locked()
1548 const u8 refd = next->refd; in nvkm_vmm_put_locked() local
1556 (next->refd == refd)) in nvkm_vmm_put_locked()
1564 nvkm_vmm_ptes_unmap_put(vmm, &page[refd], addr, in nvkm_vmm_put_locked()
1568 if (refd != NVKM_VMA_PAGE_NONE) { in nvkm_vmm_put_locked()
1570 nvkm_vmm_ptes_put(vmm, &page[refd], addr, size); in nvkm_vmm_put_locked()
1594 nvkm_vmm_ptes_sparse_put(vmm, &page[vma->refd], vma->addr, vma->size); in nvkm_vmm_put_locked()
1613 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_put_locked()
1761 vma->refd = getref ? vma->page : NVKM_VMA_PAGE_NONE; in nvkm_vmm_get_locked()