Lines Matching refs:refd
755 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vma_new()
774 new->refd = vma->refd; in nvkm_vma_tail()
960 vma->refd != NVKM_VMA_PAGE_NONE ? '0' + vma->refd : '-', in nvkm_vma_dump()
1190 nvkm_vmm_ptes_unmap_put(vmm, &vmm->func->page[vma->refd], in nvkm_vmm_pfn_unmap()
1196 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_pfn_unmap()
1283 tmp->refd = page - vmm->func->page; in nvkm_vmm_pfn_map()
1285 tmp->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_pfn_map()
1352 const struct nvkm_vmm_page *page = &vmm->func->page[vma->refd]; in nvkm_vmm_unmap_locked()
1356 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_unmap_locked()
1439 vma->refd == NVKM_VMA_PAGE_NONE) { in nvkm_vmm_map_locked()
1452 if (vma->refd != NVKM_VMA_PAGE_NONE) in nvkm_vmm_map_locked()
1453 map->page = &vmm->func->page[vma->refd]; in nvkm_vmm_map_locked()
1490 if (vma->refd == NVKM_VMA_PAGE_NONE) { in nvkm_vmm_map_locked()
1495 vma->refd = map->page - vmm->func->page; in nvkm_vmm_map_locked()
1551 const u8 refd = next->refd; in nvkm_vmm_put_locked() local
1559 (next->refd == refd)) in nvkm_vmm_put_locked()
1567 nvkm_vmm_ptes_unmap_put(vmm, &page[refd], addr, in nvkm_vmm_put_locked()
1571 if (refd != NVKM_VMA_PAGE_NONE) { in nvkm_vmm_put_locked()
1573 nvkm_vmm_ptes_put(vmm, &page[refd], addr, size); in nvkm_vmm_put_locked()
1597 nvkm_vmm_ptes_sparse_put(vmm, &page[vma->refd], vma->addr, vma->size); in nvkm_vmm_put_locked()
1616 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_put_locked()
1765 vma->refd = getref ? vma->page : NVKM_VMA_PAGE_NONE; in nvkm_vmm_get_locked()