Searched refs:num_prt_users (Results 1 – 2 of 2) sorted by relevance
359 atomic_t num_prt_users; member
1097 enable = !!atomic_read(&adev->vm_manager.num_prt_users); in amdgpu_vm_update_prt_state()1112 if (atomic_inc_return(&adev->vm_manager.num_prt_users) == 1) in amdgpu_vm_prt_get()1123 if (atomic_dec_return(&adev->vm_manager.num_prt_users) == 0) in amdgpu_vm_prt_put()2308 atomic_set(&adev->vm_manager.num_prt_users, 0); in amdgpu_vm_manager_init()