Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c659 struct task_struct *usertask; member
1070 if (gtt->usertask) in amdgpu_ttm_backend_destroy()
1071 put_task_struct(gtt->usertask); in amdgpu_ttm_backend_destroy()
1247 if (gtt->usertask) in amdgpu_ttm_tt_set_userptr()
1248 put_task_struct(gtt->usertask); in amdgpu_ttm_tt_set_userptr()
1249 gtt->usertask = current->group_leader; in amdgpu_ttm_tt_set_userptr()
1250 get_task_struct(gtt->usertask); in amdgpu_ttm_tt_set_userptr()
1265 if (gtt->usertask == NULL) in amdgpu_ttm_tt_get_usermm()
1268 return gtt->usertask->mm; in amdgpu_ttm_tt_get_usermm()
H A Damdgpu_amdkfd_gpuvm.c2676 struct task_struct *usertask; in amdgpu_amdkfd_restore_userptr_worker() local
2687 usertask = get_pid_task(process_info->pid, PIDTYPE_PID); in amdgpu_amdkfd_restore_userptr_worker()
2688 if (!usertask) in amdgpu_amdkfd_restore_userptr_worker()
2690 mm = get_task_mm(usertask); in amdgpu_amdkfd_restore_userptr_worker()
2692 put_task_struct(usertask); in amdgpu_amdkfd_restore_userptr_worker()
2744 put_task_struct(usertask); in amdgpu_amdkfd_restore_userptr_worker()