Searched refs:svm_bo (Results 1 – 5 of 5) sorted by relevance
326 if (!svm_bo || !kref_get_unless_zero(&svm_bo->kref)) in svm_bo_ref_unless_zero()367 kfree(svm_bo); in svm_range_bo_release()372 if (!svm_bo) in svm_range_bo_unref()417 svm_bo = prange->svm_bo; in svm_range_validate_svm_bo()456 svm_bo = kzalloc(sizeof(*svm_bo), GFP_KERNEL); in svm_range_bo_new()457 if (!svm_bo) in svm_range_bo_new()464 return svm_bo; in svm_range_bo_new()487 if (!svm_bo) { in svm_range_vram_node_new()538 prange->svm_bo = svm_bo; in svm_range_vram_node_new()825 new->svm_bo = svm_range_bo_ref(old->svm_bo); in svm_range_split_nodes()[all …]
121 struct svm_range_bo *svm_bo; member153 static inline struct svm_range_bo *svm_range_bo_ref(struct svm_range_bo *svm_bo) in svm_range_bo_ref() argument155 if (svm_bo) in svm_range_bo_ref()156 kref_get(&svm_bo->kref); in svm_range_bo_ref()158 return svm_bo; in svm_range_bo_ref()198 void svm_range_bo_unref(struct svm_range_bo *svm_bo);
225 svm_range_bo_ref(prange->svm_bo); in svm_migrate_get_vram_page()226 page->zone_device_data = prange->svm_bo; in svm_migrate_get_vram_page()548 struct svm_range_bo *svm_bo = page->zone_device_data; in svm_migrate_page_free() local550 if (svm_bo) { in svm_migrate_page_free()551 pr_debug_ratelimited("ref: %d\n", kref_read(&svm_bo->kref)); in svm_migrate_page_free()552 svm_range_bo_unref(svm_bo); in svm_migrate_page_free()
65 struct svm_range_bo *svm_bo) in amdgpu_amdkfd_fence_create() argument78 fence->svm_bo = svm_bo; in amdgpu_amdkfd_fence_create()129 if (!fence->svm_bo) { in amdkfd_fence_enable_signaling()
92 struct svm_range_bo *svm_bo; member169 struct svm_range_bo *svm_bo);
Completed in 14 milliseconds