Lines Matching refs:kfd_process
594 struct kfd_process *process;
634 struct kfd_process *process;
735 struct kfd_process *process;
859 struct kfd_process { struct
947 struct kfd_process *debugger_process; argument
999 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p, argument
1014 struct kfd_process *kfd_create_process(struct task_struct *thread);
1015 struct kfd_process *kfd_get_process(const struct task_struct *task);
1016 struct kfd_process *kfd_lookup_process_by_pasid(u32 pasid);
1017 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm);
1019 int kfd_process_gpuidx_from_gpuid(struct kfd_process *p, uint32_t gpu_id);
1020 int kfd_process_gpuid_from_node(struct kfd_process *p, struct kfd_node *node,
1022 static inline int kfd_process_gpuid_from_gpuidx(struct kfd_process *p, in kfd_process_gpuid_from_gpuidx()
1027 struct kfd_process *p, uint32_t gpuidx) { in kfd_process_device_from_gpuidx()
1031 void kfd_unref_process(struct kfd_process *p);
1032 int kfd_process_evict_queues(struct kfd_process *p, uint32_t trigger);
1033 int kfd_process_restore_queues(struct kfd_process *p);
1037 struct kfd_process_device *kfd_process_device_data_by_id(struct kfd_process *process,
1040 int kfd_process_get_user_gpu_id(struct kfd_process *p, uint32_t actual_gpu_id);
1045 struct kfd_process *p);
1047 struct kfd_process *p);
1049 struct kfd_process *p);
1051 bool kfd_process_xnack_mode(struct kfd_process *p, bool supported);
1053 int kfd_reserved_mem_mmap(struct kfd_node *dev, struct kfd_process *process,
1063 struct kfd_process *kfd_lookup_process_by_pid(struct pid *pid);
1077 int kfd_doorbell_mmap(struct kfd_node *dev, struct kfd_process *process,
1159 int kfd_init_apertures(struct kfd_process *process);
1168 int kfd_process_init_cwsr_apu(struct kfd_process *process, struct file *filep);
1256 int kfd_process_get_queue_info(struct kfd_process *p,
1260 int kfd_criu_checkpoint_queues(struct kfd_process *p,
1264 int kfd_criu_restore_queue(struct kfd_process *p,
1269 int kfd_criu_checkpoint_events(struct kfd_process *p,
1274 struct kfd_process *p,
1311 void kfd_process_dequeue_from_all_devices(struct kfd_process *p);
1312 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p);
1435 int kfd_event_init_process(struct kfd_process *p);
1436 void kfd_event_free_process(struct kfd_process *p);
1437 int kfd_event_mmap(struct kfd_process *process, struct vm_area_struct *vma);
1438 int kfd_wait_on_events(struct kfd_process *p,
1445 int kfd_set_event(struct kfd_process *p, uint32_t event_id);
1446 int kfd_reset_event(struct kfd_process *p, uint32_t event_id);
1447 int kfd_kmap_event_page(struct kfd_process *p, uint64_t event_page_offset);
1449 int kfd_event_create(struct file *devkfd, struct kfd_process *p,
1454 int kfd_get_num_events(struct kfd_process *p);
1455 int kfd_event_destroy(struct kfd_process *p, uint32_t event_id);
1474 int kfd_send_exception_to_runtime(struct kfd_process *p,