Lines Matching refs:kfd_process

63 static struct kfd_process *find_process(const struct task_struct *thread);
65 static struct kfd_process *create_process(const struct task_struct *thread);
66 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep);
83 struct kfd_process *p = container_of(attr, struct kfd_process, in kfd_procfs_show()
267 struct kfd_process *kfd_create_process(struct file *filep) in kfd_create_process()
269 struct kfd_process *process; in kfd_create_process()
332 struct kfd_process *kfd_get_process(const struct task_struct *thread) in kfd_get_process()
334 struct kfd_process *process; in kfd_get_process()
350 static struct kfd_process *find_process_by_mm(const struct mm_struct *mm) in find_process_by_mm()
352 struct kfd_process *process; in find_process_by_mm()
362 static struct kfd_process *find_process(const struct task_struct *thread) in find_process()
364 struct kfd_process *p; in find_process()
374 void kfd_unref_process(struct kfd_process *p) in kfd_unref_process()
381 struct kfd_process *p = pdd->process; in kfd_process_device_free_bos()
405 static void kfd_process_free_outstanding_kfd_bos(struct kfd_process *p) in kfd_process_free_outstanding_kfd_bos()
413 static void kfd_process_destroy_pdds(struct kfd_process *p) in kfd_process_destroy_pdds()
451 struct kfd_process *p = container_of(work, struct kfd_process, in kfd_process_wq_release()
483 struct kfd_process *p = container_of(ref, struct kfd_process, ref); in kfd_process_ref_release()
491 kfd_unref_process(container_of(mn, struct kfd_process, mmu_notifier)); in kfd_process_free_notifier()
497 struct kfd_process *p; in kfd_process_notifier_release()
504 p = container_of(mn, struct kfd_process, mmu_notifier); in kfd_process_notifier_release()
551 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep) in kfd_process_init_cwsr_apu()
622 static struct kfd_process *create_process(const struct task_struct *thread) in create_process()
624 struct kfd_process *process; in create_process()
716 struct kfd_process *p) in kfd_get_process_device_data()
728 struct kfd_process *p) in kfd_create_process_device_data()
776 struct kfd_process *p; in kfd_process_device_init_vm()
829 struct kfd_process *p) in kfd_bind_process_to_device()
852 struct kfd_process *p) in kfd_get_first_process_device_data()
860 struct kfd_process *p, in kfd_get_next_process_device_data()
868 bool kfd_has_process_device_data(struct kfd_process *p) in kfd_has_process_device_data()
905 struct kfd_process *kfd_lookup_process_by_pasid(unsigned int pasid) in kfd_lookup_process_by_pasid()
907 struct kfd_process *p, *ret_p = NULL; in kfd_lookup_process_by_pasid()
926 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm) in kfd_lookup_process_by_mm()
928 struct kfd_process *p; in kfd_lookup_process_by_mm()
946 int kfd_process_evict_queues(struct kfd_process *p) in kfd_process_evict_queues()
982 int kfd_process_restore_queues(struct kfd_process *p) in kfd_process_restore_queues()
1003 struct kfd_process *p; in evict_process_worker()
1011 p = container_of(dwork, struct kfd_process, eviction_work); in evict_process_worker()
1040 struct kfd_process *p; in restore_process_worker()
1048 p = container_of(dwork, struct kfd_process, restore_work); in restore_process_worker()
1082 struct kfd_process *p; in kfd_suspend_all_processes()
1101 struct kfd_process *p; in kfd_resume_all_processes()
1116 int kfd_reserved_mem_mmap(struct kfd_dev *dev, struct kfd_process *process, in kfd_reserved_mem_mmap()
1167 struct kfd_process *p; in kfd_debugfs_mqds_by_process()