Lines Matching refs:next_vaddr
749 u64 next_vaddr = vaddr, paddr, mapped_pg_cnt = 0, i; in map_phys_page_pack() local
756 rc = hl_mmu_map(ctx, next_vaddr, paddr, page_size); in map_phys_page_pack()
766 next_vaddr += page_size; in map_phys_page_pack()
772 next_vaddr = vaddr; in map_phys_page_pack()
774 if (hl_mmu_unmap(ctx, next_vaddr, page_size)) in map_phys_page_pack()
777 phys_pg_pack->handle, next_vaddr, in map_phys_page_pack()
780 next_vaddr += page_size; in map_phys_page_pack()
980 u64 next_vaddr, i; in unmap_device_va() local
1035 next_vaddr = vaddr; in unmap_device_va()
1039 for (i = 0 ; i < phys_pg_pack->npages ; i++, next_vaddr += page_size) { in unmap_device_va()
1040 if (hl_mmu_unmap(ctx, next_vaddr, page_size)) in unmap_device_va()
1042 "unmap failed for vaddr: 0x%llx\n", next_vaddr); in unmap_device_va()