Lines Matching refs:it
331 bo_va->it.start = 0; in radeon_vm_bo_add()
332 bo_va->it.last = 0; in radeon_vm_bo_add()
481 struct interval_tree_node *it; in radeon_vm_bo_set_addr() local
482 it = interval_tree_iter_first(&vm->va, soffset, eoffset); in radeon_vm_bo_set_addr()
483 if (it && it != &bo_va->it) { in radeon_vm_bo_set_addr()
485 tmp = container_of(it, struct radeon_bo_va, it); in radeon_vm_bo_set_addr()
489 soffset, tmp->bo, tmp->it.start, tmp->it.last); in radeon_vm_bo_set_addr()
496 if (bo_va->it.start || bo_va->it.last) { in radeon_vm_bo_set_addr()
505 tmp->it.start = bo_va->it.start; in radeon_vm_bo_set_addr()
506 tmp->it.last = bo_va->it.last; in radeon_vm_bo_set_addr()
510 interval_tree_remove(&bo_va->it, &vm->va); in radeon_vm_bo_set_addr()
512 bo_va->it.start = 0; in radeon_vm_bo_set_addr()
513 bo_va->it.last = 0; in radeon_vm_bo_set_addr()
521 bo_va->it.start = soffset; in radeon_vm_bo_set_addr()
522 bo_va->it.last = eoffset; in radeon_vm_bo_set_addr()
525 interval_tree_insert(&bo_va->it, &vm->va); in radeon_vm_bo_set_addr()
923 if (!bo_va->it.start) { in radeon_vm_bo_update()
967 nptes = bo_va->it.last - bo_va->it.start + 1; in radeon_vm_bo_update()
1012 r = radeon_vm_update_ptes(rdev, vm, &ib, bo_va->it.start, in radeon_vm_bo_update()
1013 bo_va->it.last + 1, addr, in radeon_vm_bo_update()
1029 radeon_vm_fence_pts(vm, bo_va->it.start, bo_va->it.last + 1, ib.fence); in radeon_vm_bo_update()
1127 if (bo_va->it.start || bo_va->it.last) in radeon_vm_bo_rmv()
1128 interval_tree_remove(&bo_va->it, &vm->va); in radeon_vm_bo_rmv()
1132 if (bo_va->it.start || bo_va->it.last) { in radeon_vm_bo_rmv()
1161 (bo_va->it.start || bo_va->it.last)) in radeon_vm_bo_invalidate()
1240 &vm->va.rb_root, it.rb) { in radeon_vm_fini()
1241 interval_tree_remove(&bo_va->it, &vm->va); in radeon_vm_fini()