Searched refs:queue_refcount (Results 1 – 5 of 5) sorted by relevance
143 atomic_inc(&prange->queue_refcount); in kfd_queue_buffer_svm_get()172 if (atomic_add_unless(&prange->queue_refcount, -1, 0)) { in kfd_queue_buffer_svm_put()174 atomic_add_unless(&pchild->queue_refcount, -1, 0); in kfd_queue_buffer_svm_put()219 mapping->bo_va->queue_refcount++; in kfd_queue_buffer_get()359 if (bo_va && bo_va->queue_refcount) in kfd_queue_unref_bo_va()360 bo_va->queue_refcount--; in kfd_queue_unref_bo_va()
140 atomic_t queue_refcount; member
1081 atomic_set(&new->queue_refcount, atomic_read(&old->queue_refcount)); in svm_range_split_adjust()2023 atomic_set(&new->queue_refcount, atomic_read(&old->queue_refcount)); in svm_range_clone()2460 if (atomic_read(&prange->queue_refcount)) { in svm_range_unmap_from_cpu()
98 unsigned int queue_refcount; member
1257 if (bo_va->queue_refcount) { in unmap_bo_from_gpuvm()1258 pr_debug("bo_va->queue_refcount %d\n", bo_va->queue_refcount); in unmap_bo_from_gpuvm()