Searched refs:lead_thread (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
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_events.c | 1109 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal() 1110 send_sig(SIGSEGV, p->lead_thread, 0); in lookup_events_by_type_and_signal() 1118 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal() 1119 send_sig(SIGTERM, p->lead_thread, 0); in lookup_events_by_type_and_signal() 1123 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal() 1153 mm = get_task_mm(p->lead_thread); in kfd_signal_iommu_event() 1380 send_sig(SIGBUS, p->lead_thread, 0); in kfd_signal_poison_consumed_event()
|
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() 1368 process->lead_thread = thread->group_leader; in create_process() 1423 get_task_struct(process->lead_thread); in create_process() 1753 kfd_smi_event_queue_eviction(pdd->dev, p->lead_thread->pid, in kfd_process_evict_queues() 1781 kfd_smi_event_queue_restore(pdd->dev, p->lead_thread->pid); in kfd_process_evict_queues() 1802 kfd_smi_event_queue_restore(pdd->dev, p->lead_thread->pid); in kfd_process_restore_queues() 2059 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 | 436 kfd_smi_event_migration_start(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_vram() 469 kfd_smi_event_migration_end(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_vram() 703 kfd_smi_event_migration_start(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_ram() 739 kfd_smi_event_migration_end(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_ram()
|
D | kfd_svm.c | 538 mm = get_task_mm(p->lead_thread); in svm_range_vram_node_new() 1266 kfd_smi_event_unmap_from_gpu(pdd->dev, p->lead_thread->pid, in svm_range_unmap_from_gpus() 1707 mm = get_task_mm(p->lead_thread); in svm_range_restore_work() 2826 mm = get_task_mm(p->lead_thread); in svm_range_restore_pages() 2909 kfd_smi_event_page_fault_start(adev->kfd.dev, p->lead_thread->pid, addr, in svm_range_restore_pages() 2947 kfd_smi_event_page_fault_end(adev->kfd.dev, p->lead_thread->pid, addr, in svm_range_restore_pages() 3694 mm = get_task_mm(p->lead_thread); in kfd_criu_resume_svm() 3909 mm = get_task_mm(p->lead_thread); in kfd_criu_checkpoint_svm()
|
D | kfd_device.c | 864 WARN(debug_evictions, "Evicting pid %d", p->lead_thread->pid); in kgd2kfd_quiesce_mm() 933 p->lead_thread->pid, delay_jiffies); in kgd2kfd_schedule_evict_and_restore_process()
|
D | kfd_chardev.c | 2588 args->pid = task_pid_nr_ns(p->lead_thread, in criu_process_info() 2589 task_active_pid_ns(p->lead_thread)); in criu_process_info() 2795 ptrace_parent(process->lead_thread) == current) in kfd_ioctl() 2799 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()
|