Searched refs:lead_thread (Results 1 – 9 of 9) sorted by relevance
/openbsd/sys/dev/pci/drm/amd/amdkfd/ |
H A D | kfd_process.c | 184 mm = get_task_mm(pdd->process->lead_thread); in kfd_sdma_activity_worker() 853 (int)process->lead_thread->pid); in kfd_create_process() 1144 put_task_struct(p->lead_thread); in kfd_process_wq_release() 1472 process->lead_thread = thread->group_leader; in create_process() 1532 get_task_struct(process->lead_thread); in create_process() 1827 kfd_smi_event_queue_eviction(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_evict_queues() 1876 kfd_smi_event_queue_restore(pdd->dev, p->lead_thread->pid); in kfd_process_restore_queues() 2172 mm = get_task_mm(p->lead_thread); in send_exception_work_handler() 2261 p->lead_thread->tgid, p->pasid); in kfd_debugfs_mqds_by_process()
|
H A D | kfd_events.c | 1127 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()
|
H A 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()
|
H A D | kfd_migrate.c | 426 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() 722 kfd_smi_event_migration_start(node, p->lead_thread->pid, in svm_migrate_vma_to_ram() 758 kfd_smi_event_migration_end(node, p->lead_thread->pid, in svm_migrate_vma_to_ram()
|
H A D | kfd_svm.c | 541 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()
|
H A D | kfd_device.c | 1050 WARN(debug_evictions, "Evicting pid %d", p->lead_thread->pid); in kgd2kfd_quiesce_mm() 1119 p->lead_thread->pid, delay_jiffies); in kgd2kfd_schedule_evict_and_restore_process()
|
H A D | kfd_chardev.c | 2695 args->pid = task_pid_nr_ns(p->lead_thread, in criu_process_info() 2696 task_active_pid_ns(p->lead_thread)); in criu_process_info() 2951 && ptrace_parent(target->lead_thread) != current) { in kfd_ioctl_set_debug_trap() 3272 ptrace_parent(process->lead_thread) == current) in kfd_ioctl() 3276 if (process->lead_thread != current->group_leader in kfd_ioctl()
|
H A D | kfd_device_queue_manager.c | 1185 mm = get_task_mm(pdd->process->lead_thread); in restore_process_queues_nocpsch() 2633 WARN(debug_evictions, "Evicting pid %d", p->lead_thread->pid); in kfd_dqm_evict_pasid() 2785 mm = get_task_mm(p->lead_thread); in copy_context_work_handler()
|
H A D | kfd_priv.h | 885 struct task_struct *lead_thread; member
|