Searched refs:usertask (Results 1 – 2 of 2) sorted by relevance
677 struct task_struct *usertask; member1081 if (gtt->usertask) in amdgpu_ttm_backend_destroy()1082 put_task_struct(gtt->usertask); in amdgpu_ttm_backend_destroy()1258 if (gtt->usertask) in amdgpu_ttm_tt_set_userptr()1259 put_task_struct(gtt->usertask); in amdgpu_ttm_tt_set_userptr()1260 gtt->usertask = current->group_leader; in amdgpu_ttm_tt_set_userptr()1261 get_task_struct(gtt->usertask); in amdgpu_ttm_tt_set_userptr()1276 if (gtt->usertask == NULL) in amdgpu_ttm_tt_get_usermm()1279 return gtt->usertask->mm; in amdgpu_ttm_tt_get_usermm()
2791 struct task_struct *usertask; in amdgpu_amdkfd_restore_userptr_worker() local2802 usertask = get_pid_task(process_info->pid, PIDTYPE_PID); in amdgpu_amdkfd_restore_userptr_worker()2803 if (!usertask) in amdgpu_amdkfd_restore_userptr_worker()2805 mm = get_task_mm(usertask); in amdgpu_amdkfd_restore_userptr_worker()2807 put_task_struct(usertask); in amdgpu_amdkfd_restore_userptr_worker()2860 put_task_struct(usertask); in amdgpu_amdkfd_restore_userptr_worker()