Lines Matching refs:tlb_cb
740 struct amdgpu_vm_tlb_seq_cb *tlb_cb; in amdgpu_vm_tlb_seq_cb() local
742 tlb_cb = container_of(cb, typeof(*tlb_cb), cb); in amdgpu_vm_tlb_seq_cb()
743 atomic64_inc(&tlb_cb->vm->tlb_seq); in amdgpu_vm_tlb_seq_cb()
744 kfree(tlb_cb); in amdgpu_vm_tlb_seq_cb()
778 struct amdgpu_vm_tlb_seq_cb *tlb_cb; in amdgpu_vm_update_range() local
786 tlb_cb = kmalloc(sizeof(*tlb_cb), GFP_KERNEL); in amdgpu_vm_update_range()
787 if (!tlb_cb) { in amdgpu_vm_update_range()
891 tlb_cb->vm = vm; in amdgpu_vm_update_range()
893 !dma_fence_add_callback(*fence, &tlb_cb->cb, in amdgpu_vm_update_range()
898 amdgpu_vm_tlb_seq_cb(NULL, &tlb_cb->cb); in amdgpu_vm_update_range()
900 tlb_cb = NULL; in amdgpu_vm_update_range()
904 kfree(tlb_cb); in amdgpu_vm_update_range()