Home
last modified time | relevance | path

Searched refs:lead_thread (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c1106 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal()
1107 send_sig(SIGSEGV, p->lead_thread, 0); in lookup_events_by_type_and_signal()
1115 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal()
1116 send_sig(SIGTERM, p->lead_thread, 0); in lookup_events_by_type_and_signal()
1120 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal()
1150 mm = get_task_mm(p->lead_thread); in kfd_signal_iommu_event()
1377 send_sig(SIGBUS, p->lead_thread, 0); in kfd_signal_poison_consumed_event()
Dkfd_iommu.c124 err = amd_iommu_bind_pasid(dev->pdev, p->pasid, p->lead_thread); in kfd_iommu_bind_process_to_device()
226 p->lead_thread); in kfd_bind_processes_to_device()
Dkfd_process.c186 mm = get_task_mm(pdd->process->lead_thread); in kfd_sdma_activity_worker()
844 (int)process->lead_thread->pid); in kfd_create_process()
1142 put_task_struct(p->lead_thread); in kfd_process_wq_release()
1421 process->lead_thread = thread->group_leader; in create_process()
1476 get_task_struct(process->lead_thread); in create_process()
1806 kfd_smi_event_queue_eviction(pdd->dev, p->lead_thread->pid, in kfd_process_evict_queues()
1834 kfd_smi_event_queue_restore(pdd->dev, p->lead_thread->pid); in kfd_process_evict_queues()
1855 kfd_smi_event_queue_restore(pdd->dev, p->lead_thread->pid); in kfd_process_restore_queues()
2112 p->lead_thread->tgid, p->pasid); in kfd_debugfs_mqds_by_process()
Dkfd_smi_events.c319 kfd_smi_event_add(p->lead_thread->pid, pdd->dev, in kfd_smi_event_queue_restore_rescheduled()
322 p->lead_thread->pid, pdd->dev->id, 'R'); in kfd_smi_event_queue_restore_rescheduled()
Dkfd_migrate.c430 kfd_smi_event_migration_start(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_vram()
463 kfd_smi_event_migration_end(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_vram()
708 kfd_smi_event_migration_start(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_ram()
744 kfd_smi_event_migration_end(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_ram()
Dkfd_svm.c533 mm = get_task_mm(p->lead_thread); in svm_range_vram_node_new()
1268 kfd_smi_event_unmap_from_gpu(pdd->dev, p->lead_thread->pid, in svm_range_unmap_from_gpus()
1709 mm = get_task_mm(p->lead_thread); in svm_range_restore_work()
2830 mm = get_task_mm(p->lead_thread); in svm_range_restore_pages()
2913 kfd_smi_event_page_fault_start(adev->kfd.dev, p->lead_thread->pid, addr, in svm_range_restore_pages()
2951 kfd_smi_event_page_fault_end(adev->kfd.dev, p->lead_thread->pid, addr, in svm_range_restore_pages()
3697 mm = get_task_mm(p->lead_thread); in kfd_criu_resume_svm()
3912 mm = get_task_mm(p->lead_thread); in kfd_criu_checkpoint_svm()
Dkfd_device.c875 WARN(debug_evictions, "Evicting pid %d", p->lead_thread->pid); in kgd2kfd_quiesce_mm()
944 p->lead_thread->pid, delay_jiffies); in kgd2kfd_schedule_evict_and_restore_process()
Dkfd_chardev.c2597 args->pid = task_pid_nr_ns(p->lead_thread, in criu_process_info()
2598 task_active_pid_ns(p->lead_thread)); in criu_process_info()
2804 ptrace_parent(process->lead_thread) == current) in kfd_ioctl()
2808 if (process->lead_thread != current->group_leader in kfd_ioctl()
Dkfd_priv.h841 struct task_struct *lead_thread; member
Dkfd_device_queue_manager.c1058 mm = get_task_mm(pdd->process->lead_thread); in restore_process_queues_nocpsch()
2412 WARN(debug_evictions, "Evicting pid %d", p->lead_thread->pid); in kfd_dqm_evict_pasid()