Lines Matching refs:it
332 bo_va->it.start = 0; in radeon_vm_bo_add()
333 bo_va->it.last = 0; in radeon_vm_bo_add()
482 struct interval_tree_node *it; in radeon_vm_bo_set_addr() local
483 it = interval_tree_iter_first(&vm->va, soffset, eoffset); in radeon_vm_bo_set_addr()
484 if (it && it != &bo_va->it) { in radeon_vm_bo_set_addr()
486 tmp = container_of(it, struct radeon_bo_va, it); in radeon_vm_bo_set_addr()
490 soffset, tmp->bo, tmp->it.start, tmp->it.last); in radeon_vm_bo_set_addr()
497 if (bo_va->it.start || bo_va->it.last) { in radeon_vm_bo_set_addr()
506 tmp->it.start = bo_va->it.start; in radeon_vm_bo_set_addr()
507 tmp->it.last = bo_va->it.last; in radeon_vm_bo_set_addr()
511 interval_tree_remove(&bo_va->it, &vm->va); in radeon_vm_bo_set_addr()
513 bo_va->it.start = 0; in radeon_vm_bo_set_addr()
514 bo_va->it.last = 0; in radeon_vm_bo_set_addr()
522 bo_va->it.start = soffset; in radeon_vm_bo_set_addr()
523 bo_va->it.last = eoffset; in radeon_vm_bo_set_addr()
526 interval_tree_insert(&bo_va->it, &vm->va); in radeon_vm_bo_set_addr()
922 if (!bo_va->it.start) { in radeon_vm_bo_update()
966 nptes = bo_va->it.last - bo_va->it.start + 1; in radeon_vm_bo_update()
1011 r = radeon_vm_update_ptes(rdev, vm, &ib, bo_va->it.start, in radeon_vm_bo_update()
1012 bo_va->it.last + 1, addr, in radeon_vm_bo_update()
1028 radeon_vm_fence_pts(vm, bo_va->it.start, bo_va->it.last + 1, ib.fence); in radeon_vm_bo_update()
1126 if (bo_va->it.start || bo_va->it.last) in radeon_vm_bo_rmv()
1127 interval_tree_remove(&bo_va->it, &vm->va); in radeon_vm_bo_rmv()
1131 if (bo_va->it.start || bo_va->it.last) { in radeon_vm_bo_rmv()
1159 (bo_va->it.start || bo_va->it.last)) in radeon_vm_bo_invalidate()
1238 &vm->va.rb_root, it.rb) { in radeon_vm_fini()
1239 interval_tree_remove(&bo_va->it, &vm->va); in radeon_vm_fini()