Lines Matching refs:kfd_process
605 struct kfd_process *process;
645 struct kfd_process *process;
746 struct kfd_process *process;
880 struct kfd_process { struct
968 struct kfd_process *debugger_process; argument
1020 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p, argument
1035 struct kfd_process *kfd_create_process(struct task_struct *thread);
1036 struct kfd_process *kfd_get_process(const struct task_struct *task);
1037 struct kfd_process *kfd_lookup_process_by_pasid(u32 pasid);
1038 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm);
1040 int kfd_process_gpuidx_from_gpuid(struct kfd_process *p, uint32_t gpu_id);
1041 int kfd_process_gpuid_from_node(struct kfd_process *p, struct kfd_node *node,
1043 static inline int kfd_process_gpuid_from_gpuidx(struct kfd_process *p, in kfd_process_gpuid_from_gpuidx()
1048 struct kfd_process *p, uint32_t gpuidx) { in kfd_process_device_from_gpuidx()
1052 void kfd_unref_process(struct kfd_process *p);
1053 int kfd_process_evict_queues(struct kfd_process *p, uint32_t trigger);
1054 int kfd_process_restore_queues(struct kfd_process *p);
1058 struct kfd_process_device *kfd_process_device_data_by_id(struct kfd_process *process,
1061 int kfd_process_get_user_gpu_id(struct kfd_process *p, uint32_t actual_gpu_id);
1066 struct kfd_process *p);
1068 struct kfd_process *p);
1070 struct kfd_process *p);
1072 bool kfd_process_xnack_mode(struct kfd_process *p, bool supported);
1074 int kfd_reserved_mem_mmap(struct kfd_node *dev, struct kfd_process *process,
1084 struct kfd_process *kfd_lookup_process_by_pid(struct pid *pid);
1098 int kfd_doorbell_mmap(struct kfd_node *dev, struct kfd_process *process,
1181 int kfd_init_apertures(struct kfd_process *process);
1190 int kfd_process_init_cwsr_apu(struct kfd_process *process, struct file *filep);
1278 int kfd_process_get_queue_info(struct kfd_process *p,
1282 int kfd_criu_checkpoint_queues(struct kfd_process *p,
1286 int kfd_criu_restore_queue(struct kfd_process *p,
1291 int kfd_criu_checkpoint_events(struct kfd_process *p,
1296 struct kfd_process *p,
1345 void kfd_process_dequeue_from_all_devices(struct kfd_process *p);
1346 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p);
1468 int kfd_event_init_process(struct kfd_process *p);
1469 void kfd_event_free_process(struct kfd_process *p);
1470 int kfd_event_mmap(struct kfd_process *process, struct vm_area_struct *vma);
1471 int kfd_wait_on_events(struct kfd_process *p,
1478 int kfd_set_event(struct kfd_process *p, uint32_t event_id);
1479 int kfd_reset_event(struct kfd_process *p, uint32_t event_id);
1480 int kfd_kmap_event_page(struct kfd_process *p, uint64_t event_page_offset);
1482 int kfd_event_create(struct file *devkfd, struct kfd_process *p,
1487 int kfd_get_num_events(struct kfd_process *p);
1488 int kfd_event_destroy(struct kfd_process *p, uint32_t event_id);
1514 int kfd_send_exception_to_runtime(struct kfd_process *p,