Lines Matching refs:kfd_process
66 static struct kfd_process *find_process(const struct task_struct *thread);
68 static struct kfd_process *create_process(const struct task_struct *thread);
69 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep);
271 struct kfd_process *proc = NULL; in kfd_get_cu_occupancy()
302 struct kfd_process *p = container_of(attr, struct kfd_process, in kfd_procfs_show()
466 struct kfd_process *proc; in kfd_procfs_add_queue()
488 static int kfd_sysfs_create_file(struct kfd_process *p, struct attribute *attr, in kfd_sysfs_create_file()
505 static int kfd_procfs_add_sysfs_stats(struct kfd_process *p) in kfd_procfs_add_sysfs_stats()
571 static int kfd_procfs_add_sysfs_files(struct kfd_process *p) in kfd_procfs_add_sysfs_files()
748 struct kfd_process *kfd_create_process(struct file *filep) in kfd_create_process()
750 struct kfd_process *process; in kfd_create_process()
831 struct kfd_process *kfd_get_process(const struct task_struct *thread) in kfd_get_process()
833 struct kfd_process *process; in kfd_get_process()
849 static struct kfd_process *find_process_by_mm(const struct mm_struct *mm) in find_process_by_mm()
851 struct kfd_process *process; in find_process_by_mm()
861 static struct kfd_process *find_process(const struct task_struct *thread) in find_process()
863 struct kfd_process *p; in find_process()
873 void kfd_unref_process(struct kfd_process *p) in kfd_unref_process()
880 struct kfd_process *p = pdd->process; in kfd_process_device_free_bos()
904 static void kfd_process_free_outstanding_kfd_bos(struct kfd_process *p) in kfd_process_free_outstanding_kfd_bos()
912 static void kfd_process_destroy_pdds(struct kfd_process *p) in kfd_process_destroy_pdds()
962 struct kfd_process *p = container_of(work, struct kfd_process, in kfd_process_wq_release()
1008 struct kfd_process *p = container_of(ref, struct kfd_process, ref); in kfd_process_ref_release()
1016 kfd_unref_process(container_of(mn, struct kfd_process, mmu_notifier)); in kfd_process_free_notifier()
1022 struct kfd_process *p; in kfd_process_notifier_release()
1029 p = container_of(mn, struct kfd_process, mmu_notifier); in kfd_process_notifier_release()
1081 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep) in kfd_process_init_cwsr_apu()
1152 static struct kfd_process *create_process(const struct task_struct *thread) in create_process()
1154 struct kfd_process *process; in create_process()
1245 struct kfd_process *p) in kfd_get_process_device_data()
1257 struct kfd_process *p) in kfd_create_process_device_data()
1318 struct kfd_process *p; in kfd_process_device_init_vm()
1371 struct kfd_process *p) in kfd_bind_process_to_device()
1422 struct kfd_process *p) in kfd_get_first_process_device_data()
1430 struct kfd_process *p, in kfd_get_next_process_device_data()
1438 bool kfd_has_process_device_data(struct kfd_process *p) in kfd_has_process_device_data()
1475 struct kfd_process *kfd_lookup_process_by_pasid(u32 pasid) in kfd_lookup_process_by_pasid()
1477 struct kfd_process *p, *ret_p = NULL; in kfd_lookup_process_by_pasid()
1496 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm) in kfd_lookup_process_by_mm()
1498 struct kfd_process *p; in kfd_lookup_process_by_mm()
1516 int kfd_process_evict_queues(struct kfd_process *p) in kfd_process_evict_queues()
1552 int kfd_process_restore_queues(struct kfd_process *p) in kfd_process_restore_queues()
1573 struct kfd_process *p; in evict_process_worker()
1581 p = container_of(dwork, struct kfd_process, eviction_work); in evict_process_worker()
1610 struct kfd_process *p; in restore_process_worker()
1618 p = container_of(dwork, struct kfd_process, restore_work); in restore_process_worker()
1652 struct kfd_process *p; in kfd_suspend_all_processes()
1672 struct kfd_process *p; in kfd_resume_all_processes()
1687 int kfd_reserved_mem_mmap(struct kfd_dev *dev, struct kfd_process *process, in kfd_reserved_mem_mmap()
1739 struct kfd_process *p; in kfd_debugfs_mqds_by_process()