Lines Matching refs:kfd_process

68 static struct kfd_process *find_process(const struct task_struct *thread,
71 static struct kfd_process *create_process(const struct task_struct *thread);
72 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep);
273 struct kfd_process *proc = NULL; in kfd_get_cu_occupancy()
304 struct kfd_process *p = container_of(attr, struct kfd_process, in kfd_procfs_show()
497 struct kfd_process *proc; in kfd_procfs_add_queue()
536 static void kfd_procfs_add_sysfs_stats(struct kfd_process *p) in kfd_procfs_add_sysfs_stats()
583 static void kfd_procfs_add_sysfs_counters(struct kfd_process *p) in kfd_procfs_add_sysfs_counters()
628 static void kfd_procfs_add_sysfs_files(struct kfd_process *p) in kfd_procfs_add_sysfs_files()
801 struct kfd_process *kfd_create_process(struct file *filep) in kfd_create_process()
803 struct kfd_process *process; in kfd_create_process()
879 struct kfd_process *kfd_get_process(const struct task_struct *thread) in kfd_get_process()
881 struct kfd_process *process; in kfd_get_process()
897 static struct kfd_process *find_process_by_mm(const struct mm_struct *mm) in find_process_by_mm()
899 struct kfd_process *process; in find_process_by_mm()
909 static struct kfd_process *find_process(const struct task_struct *thread, in find_process()
912 struct kfd_process *p; in find_process()
924 void kfd_unref_process(struct kfd_process *p) in kfd_unref_process()
930 struct kfd_process *kfd_lookup_process_by_pid(struct pid *pid) in kfd_lookup_process_by_pid()
933 struct kfd_process *p = NULL; in kfd_lookup_process_by_pid()
952 struct kfd_process *p = pdd->process; in kfd_process_device_free_bos()
982 static void kfd_process_kunmap_signal_bo(struct kfd_process *p) in kfd_process_kunmap_signal_bo()
1009 static void kfd_process_free_outstanding_kfd_bos(struct kfd_process *p) in kfd_process_free_outstanding_kfd_bos()
1017 static void kfd_process_destroy_pdds(struct kfd_process *p) in kfd_process_destroy_pdds()
1064 static void kfd_process_remove_sysfs(struct kfd_process *p) in kfd_process_remove_sysfs()
1115 struct kfd_process *p = container_of(work, struct kfd_process, in kfd_process_wq_release()
1149 struct kfd_process *p = container_of(ref, struct kfd_process, ref); in kfd_process_ref_release()
1158 struct kfd_process *p = find_process_by_mm(mm); in kfd_process_alloc_notifier()
1167 kfd_unref_process(container_of(mn, struct kfd_process, mmu_notifier)); in kfd_process_free_notifier()
1173 struct kfd_process *p; in kfd_process_notifier_release()
1179 p = container_of(mn, struct kfd_process, mmu_notifier); in kfd_process_notifier_release()
1203 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep) in kfd_process_init_cwsr_apu()
1302 bool kfd_process_xnack_mode(struct kfd_process *p, bool supported) in kfd_process_xnack_mode()
1355 static struct kfd_process *create_process(const struct task_struct *thread) in create_process()
1357 struct kfd_process *process; in create_process()
1479 struct kfd_process *p) in kfd_get_process_device_data()
1491 struct kfd_process *p) in kfd_create_process_device_data()
1566 struct kfd_process *p; in kfd_process_device_init_vm()
1622 struct kfd_process *p) in kfd_bind_process_to_device()
1703 struct kfd_process *kfd_lookup_process_by_pasid(u32 pasid) in kfd_lookup_process_by_pasid()
1705 struct kfd_process *p, *ret_p = NULL; in kfd_lookup_process_by_pasid()
1724 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm) in kfd_lookup_process_by_mm()
1726 struct kfd_process *p; in kfd_lookup_process_by_mm()
1744 int kfd_process_evict_queues(struct kfd_process *p, uint32_t trigger) in kfd_process_evict_queues()
1794 int kfd_process_restore_queues(struct kfd_process *p) in kfd_process_restore_queues()
1816 int kfd_process_gpuidx_from_gpuid(struct kfd_process *p, uint32_t gpu_id) in kfd_process_gpuidx_from_gpuid()
1827 kfd_process_gpuid_from_adev(struct kfd_process *p, struct amdgpu_device *adev, in kfd_process_gpuid_from_adev()
1844 struct kfd_process *p; in evict_process_worker()
1852 p = container_of(dwork, struct kfd_process, eviction_work); in evict_process_worker()
1881 struct kfd_process *p; in restore_process_worker()
1889 p = container_of(dwork, struct kfd_process, restore_work); in restore_process_worker()
1923 struct kfd_process *p; in kfd_suspend_all_processes()
1943 struct kfd_process *p; in kfd_resume_all_processes()
1958 int kfd_reserved_mem_mmap(struct kfd_dev *dev, struct kfd_process *process, in kfd_reserved_mem_mmap()
2016 struct kfd_process_device *kfd_process_device_data_by_id(struct kfd_process *p, uint32_t gpu_id) in kfd_process_device_data_by_id()
2031 int kfd_process_get_user_gpu_id(struct kfd_process *p, uint32_t actual_gpu_id) in kfd_process_get_user_gpu_id()
2051 struct kfd_process *p; in kfd_debugfs_mqds_by_process()