Lines Matching refs:kfd_process
618 struct kfd_process *process;
658 struct kfd_process *process;
760 struct kfd_process *process;
896 struct kfd_process { struct
982 struct kfd_process *debugger_process; argument
1047 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p, argument
1059 struct kfd_process *create_process(const struct task_struct *thread, bool primary);
1063 struct kfd_process *kfd_create_process(struct task_struct *thread);
1064 int kfd_create_process_sysfs(struct kfd_process *process);
1065 struct kfd_process *kfd_lookup_process_by_pasid(u32 pasid,
1067 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm);
1068 struct kfd_process *kfd_lookup_process_by_id(const struct mm_struct *mm, u16 id);
1070 int kfd_process_gpuidx_from_gpuid(struct kfd_process *p, uint32_t gpu_id);
1071 int kfd_process_gpuid_from_node(struct kfd_process *p, struct kfd_node *node,
1073 static inline int kfd_process_gpuid_from_gpuidx(struct kfd_process *p, in kfd_process_gpuid_from_gpuidx()
1078 struct kfd_process *p, uint32_t gpuidx) { in kfd_process_device_from_gpuidx()
1082 void kfd_unref_process(struct kfd_process *p);
1083 int kfd_process_evict_queues(struct kfd_process *p, uint32_t trigger);
1084 int kfd_process_restore_queues(struct kfd_process *p);
1088 struct kfd_process_device *kfd_process_device_data_by_id(struct kfd_process *process,
1091 int kfd_process_get_user_gpu_id(struct kfd_process *p, uint32_t actual_gpu_id);
1096 struct kfd_process *p);
1098 struct kfd_process *p);
1100 struct kfd_process *p);
1102 bool kfd_process_xnack_mode(struct kfd_process *p, bool supported);
1104 int kfd_reserved_mem_mmap(struct kfd_node *dev, struct kfd_process *process,
1106 void kfd_process_notifier_release_internal(struct kfd_process *p);
1115 struct kfd_process *kfd_lookup_process_by_pid(struct pid *pid);
1127 int kfd_doorbell_mmap(struct kfd_node *dev, struct kfd_process *process,
1213 int kfd_init_apertures(struct kfd_process *process);
1222 int kfd_process_init_cwsr_apu(struct kfd_process *process, struct file *filep);
1310 int kfd_process_get_queue_info(struct kfd_process *p,
1314 int kfd_criu_checkpoint_queues(struct kfd_process *p,
1318 int kfd_criu_restore_queue(struct kfd_process *p,
1323 int kfd_criu_checkpoint_events(struct kfd_process *p,
1328 struct kfd_process *p,
1379 void kfd_process_dequeue_from_all_devices(struct kfd_process *p);
1380 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p);
1520 int kfd_event_init_process(struct kfd_process *p);
1521 void kfd_event_free_process(struct kfd_process *p);
1522 int kfd_event_mmap(struct kfd_process *process, struct vm_area_struct *vma);
1523 int kfd_wait_on_events(struct kfd_process *p,
1530 int kfd_set_event(struct kfd_process *p, uint32_t event_id);
1531 int kfd_reset_event(struct kfd_process *p, uint32_t event_id);
1532 int kfd_kmap_event_page(struct kfd_process *p, uint64_t event_page_offset);
1534 int kfd_event_create(struct file *devkfd, struct kfd_process *p,
1539 int kfd_get_num_events(struct kfd_process *p);
1540 int kfd_event_destroy(struct kfd_process *p, uint32_t event_id);
1542 void kfd_signal_vm_fault_event_with_userptr(struct kfd_process *p, uint64_t gpu_va);
1551 void kfd_signal_process_terminate_event(struct kfd_process *p);
1569 int kfd_send_exception_to_runtime(struct kfd_process *p,
1619 void kfd_debugfs_add_process(struct kfd_process *p);
1620 void kfd_debugfs_remove_process(struct kfd_process *p);
1626 static inline void kfd_debugfs_add_process(struct kfd_process *p) {} in kfd_debugfs_add_process()
1627 static inline void kfd_debugfs_remove_process(struct kfd_process *p) {} in kfd_debugfs_remove_process()