Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c184 mm = get_task_mm(pdd->process->lead_thread); in kfd_sdma_activity_worker()
845 (int)process->lead_thread->pid); in kfd_create_process()
1136 put_task_struct(p->lead_thread); in kfd_process_wq_release()
1464 process->lead_thread = thread->group_leader; in create_process()
1524 get_task_struct(process->lead_thread); in create_process()
1819 kfd_smi_event_queue_eviction(pdd->dev, p->lead_thread->pid, in kfd_process_evict_queues()
1847 kfd_smi_event_queue_restore(pdd->dev, p->lead_thread->pid); in kfd_process_evict_queues()
1868 kfd_smi_event_queue_restore(pdd->dev, p->lead_thread->pid); in kfd_process_restore_queues()
2164 mm = get_task_mm(p->lead_thread); in send_exception_work_handler()
2253 p->lead_thread->tgid, p->pasid); in kfd_debugfs_mqds_by_process()
Dkfd_events.c1127 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal()
1128 send_sig(SIGSEGV, p->lead_thread, 0); in lookup_events_by_type_and_signal()
1136 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal()
1137 send_sig(SIGTERM, p->lead_thread, 0); in lookup_events_by_type_and_signal()
1141 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal()
1324 send_sig(SIGBUS, p->lead_thread, 0); in kfd_signal_poison_consumed_event()
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.c426 kfd_smi_event_migration_start(node, p->lead_thread->pid, in svm_migrate_vma_to_vram()
459 kfd_smi_event_migration_end(node, p->lead_thread->pid, in svm_migrate_vma_to_vram()
708 kfd_smi_event_migration_start(node, p->lead_thread->pid, in svm_migrate_vma_to_ram()
744 kfd_smi_event_migration_end(node, p->lead_thread->pid, in svm_migrate_vma_to_ram()
Dkfd_svm.c541 mm = get_task_mm(p->lead_thread); in svm_range_vram_node_new()
1335 kfd_smi_event_unmap_from_gpu(pdd->dev, p->lead_thread->pid, in svm_range_unmap_from_gpus()
1789 mm = get_task_mm(p->lead_thread); in svm_range_restore_work()
2933 mm = get_task_mm(p->lead_thread); in svm_range_restore_pages()
3023 kfd_smi_event_page_fault_start(node, p->lead_thread->pid, addr, in svm_range_restore_pages()
3061 kfd_smi_event_page_fault_end(node, p->lead_thread->pid, addr, in svm_range_restore_pages()
3811 mm = get_task_mm(p->lead_thread); in kfd_criu_resume_svm()
4026 mm = get_task_mm(p->lead_thread); in kfd_criu_checkpoint_svm()
Dkfd_device.c1062 WARN(debug_evictions, "Evicting pid %d", p->lead_thread->pid); in kgd2kfd_quiesce_mm()
1131 p->lead_thread->pid, delay_jiffies); in kgd2kfd_schedule_evict_and_restore_process()
Dkfd_chardev.c2689 args->pid = task_pid_nr_ns(p->lead_thread, in criu_process_info()
2690 task_active_pid_ns(p->lead_thread)); in criu_process_info()
2945 && ptrace_parent(target->lead_thread) != current) { in kfd_ioctl_set_debug_trap()
3266 ptrace_parent(process->lead_thread) == current) in kfd_ioctl()
3270 if (process->lead_thread != current->group_leader in kfd_ioctl()
Dkfd_device_queue_manager.c1185 mm = get_task_mm(pdd->process->lead_thread); in restore_process_queues_nocpsch()
2632 WARN(debug_evictions, "Evicting pid %d", p->lead_thread->pid); in kfd_dqm_evict_pasid()
2784 mm = get_task_mm(p->lead_thread); in copy_context_work_handler()
Dkfd_priv.h885 struct task_struct *lead_thread; member