Home
last modified time | relevance | path

Searched refs:amn (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mn.c75 struct amdgpu_mn *amn = container_of(work, struct amdgpu_mn, work); in amdgpu_mn_destroy() local
76 struct amdgpu_device *adev = amn->adev; in amdgpu_mn_destroy()
81 down_write(&amn->lock); in amdgpu_mn_destroy()
82 hash_del(&amn->node); in amdgpu_mn_destroy()
84 &amn->objects.rb_root, it.rb) { in amdgpu_mn_destroy()
91 up_write(&amn->lock); in amdgpu_mn_destroy()
94 hmm_mirror_unregister(&amn->mirror); in amdgpu_mn_destroy()
95 kfree(amn); in amdgpu_mn_destroy()
107 struct amdgpu_mn *amn = container_of(mirror, struct amdgpu_mn, mirror); in amdgpu_hmm_mirror_release() local
109 INIT_WORK(&amn->work, amdgpu_mn_destroy); in amdgpu_hmm_mirror_release()
[all …]