Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c643 struct task_struct *usertask; member
1020 if (gtt->usertask) in amdgpu_ttm_backend_destroy()
1021 put_task_struct(gtt->usertask); in amdgpu_ttm_backend_destroy()
1179 if (gtt->usertask) in amdgpu_ttm_tt_set_userptr()
1180 put_task_struct(gtt->usertask); in amdgpu_ttm_tt_set_userptr()
1181 gtt->usertask = current->group_leader; in amdgpu_ttm_tt_set_userptr()
1182 get_task_struct(gtt->usertask); in amdgpu_ttm_tt_set_userptr()
1197 if (gtt->usertask == NULL) in amdgpu_ttm_tt_get_usermm()
1200 return gtt->usertask->mm; in amdgpu_ttm_tt_get_usermm()
Damdgpu_amdkfd_gpuvm.c2561 struct task_struct *usertask; in amdgpu_amdkfd_restore_userptr_worker() local
2570 usertask = get_pid_task(process_info->pid, PIDTYPE_PID); in amdgpu_amdkfd_restore_userptr_worker()
2571 if (!usertask) in amdgpu_amdkfd_restore_userptr_worker()
2573 mm = get_task_mm(usertask); in amdgpu_amdkfd_restore_userptr_worker()
2575 put_task_struct(usertask); in amdgpu_amdkfd_restore_userptr_worker()
2621 put_task_struct(usertask); in amdgpu_amdkfd_restore_userptr_worker()