Searched refs:primary_process (Results 1 – 1 of 1) sorted by relevance
829 struct kfd_process *primary_process; in kfd_create_process_sysfs() local 848 primary_process = kfd_lookup_process_by_mm(process->lead_thread->mm); in kfd_create_process_sysfs() 849 if (!primary_process) in kfd_create_process_sysfs() 853 primary_process->kobj, "context_%u", in kfd_create_process_sysfs() 855 kfd_unref_process(primary_process); in kfd_create_process_sysfs() 883 struct kfd_process *primary_process; in kfd_process_alloc_id() 889 primary_process = kfd_lookup_process_by_mm(process->lead_thread->mm); in kfd_process_alloc_id() 890 if (!primary_process) in kfd_process_alloc_id() 894 ret = ida_alloc_range(&primary_process->id_table, KFD_CONTEXT_ID_MIN, in kfd_process_alloc_id() 903 kfd_unref_process(primary_process); in kfd_process_alloc_id() 882 struct kfd_process *primary_process; kfd_process_alloc_id() local 909 struct kfd_process *primary_process; kfd_process_free_id() local [all...]