Searched refs:usertask (Results 1 – 2 of 2) sorted by relevance
818 struct task_struct *usertask; member1282 if (gtt->usertask) in amdgpu_ttm_backend_destroy()1283 put_task_struct(gtt->usertask); in amdgpu_ttm_backend_destroy()1441 if (gtt->usertask) in amdgpu_ttm_tt_set_userptr()1442 put_task_struct(gtt->usertask); in amdgpu_ttm_tt_set_userptr()1443 gtt->usertask = current->group_leader; in amdgpu_ttm_tt_set_userptr()1444 get_task_struct(gtt->usertask); in amdgpu_ttm_tt_set_userptr()1459 if (gtt->usertask == NULL) in amdgpu_ttm_tt_get_usermm()1462 return gtt->usertask->mm; in amdgpu_ttm_tt_get_usermm()
1948 struct task_struct *usertask; in amdgpu_amdkfd_restore_userptr_worker() local1957 usertask = get_pid_task(process_info->pid, PIDTYPE_PID); in amdgpu_amdkfd_restore_userptr_worker()1958 if (!usertask) in amdgpu_amdkfd_restore_userptr_worker()1960 mm = get_task_mm(usertask); in amdgpu_amdkfd_restore_userptr_worker()1962 put_task_struct(usertask); in amdgpu_amdkfd_restore_userptr_worker()2000 put_task_struct(usertask); in amdgpu_amdkfd_restore_userptr_worker()