Searched refs:lead_thread (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_events.c | 1106 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()
|
D | kfd_iommu.c | 124 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()
|
D | kfd_process.c | 186 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()
|
D | kfd_smi_events.c | 319 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()
|
D | kfd_migrate.c | 430 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()
|
D | kfd_svm.c | 533 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()
|
D | kfd_device.c | 875 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()
|
D | kfd_chardev.c | 2597 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()
|
D | kfd_priv.h | 841 struct task_struct *lead_thread; member
|
D | kfd_device_queue_manager.c | 1058 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()
|