Lines Matching refs:next_vaddr
946 u64 next_vaddr = vaddr, paddr, mapped_pg_cnt = 0, i; in map_phys_pg_pack() local
954 rc = hl_mmu_map_page(ctx, next_vaddr, paddr, page_size, in map_phys_pg_pack()
965 next_vaddr += page_size; in map_phys_pg_pack()
973 next_vaddr = vaddr; in map_phys_pg_pack()
975 if (hl_mmu_unmap_page(ctx, next_vaddr, page_size, in map_phys_pg_pack()
979 phys_pg_pack->handle, next_vaddr, in map_phys_pg_pack()
982 next_vaddr += page_size; in map_phys_pg_pack()
1009 u64 next_vaddr, i; in unmap_phys_pg_pack() local
1015 next_vaddr = vaddr; in unmap_phys_pg_pack()
1017 for (i = 0 ; i < phys_pg_pack->npages ; i++, next_vaddr += page_size) { in unmap_phys_pg_pack()
1018 if (hl_mmu_unmap_page(ctx, next_vaddr, page_size, in unmap_phys_pg_pack()
1021 "unmap failed for vaddr: 0x%llx\n", next_vaddr); in unmap_phys_pg_pack()