Searched refs:primary_process (Results 1 – 1 of 1) sorted by relevance
829 struct kfd_process *primary_process; in kfd_create_process_sysfs() 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() 882 struct kfd_process *primary_process; in kfd_process_alloc_id() 888 primary_process = kfd_lookup_process_by_mm(process->lead_thread->mm); in kfd_process_alloc_id() 889 if (!primary_process) in kfd_process_alloc_id() 893 ret = ida_alloc_range(&primary_process->id_table, KFD_CONTEXT_ID_MIN, in kfd_process_alloc_id() 902 kfd_unref_process(primary_process); in kfd_process_alloc_id() 830 struct kfd_process *primary_process; kfd_create_process_sysfs() local 883 struct kfd_process *primary_process; kfd_process_alloc_id() local 910 struct kfd_process *primary_process; kfd_process_free_id() local [all...]