Lines Matching refs:kfd_process
564 struct kfd_process *process;
604 struct kfd_process *process;
702 struct kfd_process *process;
815 struct kfd_process { struct
917 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p, argument
931 struct kfd_process *kfd_create_process(struct file *filep);
932 struct kfd_process *kfd_get_process(const struct task_struct *task);
933 struct kfd_process *kfd_lookup_process_by_pasid(u32 pasid);
934 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm);
936 int kfd_process_gpuidx_from_gpuid(struct kfd_process *p, uint32_t gpu_id);
937 int kfd_process_gpuid_from_adev(struct kfd_process *p,
940 static inline int kfd_process_gpuid_from_gpuidx(struct kfd_process *p, in kfd_process_gpuid_from_gpuidx()
945 struct kfd_process *p, uint32_t gpuidx) { in kfd_process_device_from_gpuidx()
949 void kfd_unref_process(struct kfd_process *p);
950 int kfd_process_evict_queues(struct kfd_process *p, uint32_t trigger);
951 int kfd_process_restore_queues(struct kfd_process *p);
955 struct kfd_process_device *kfd_process_device_data_by_id(struct kfd_process *process,
958 int kfd_process_get_user_gpu_id(struct kfd_process *p, uint32_t actual_gpu_id);
963 struct kfd_process *p);
965 struct kfd_process *p);
967 struct kfd_process *p);
969 bool kfd_process_xnack_mode(struct kfd_process *p, bool supported);
971 int kfd_reserved_mem_mmap(struct kfd_dev *dev, struct kfd_process *process,
981 struct kfd_process *kfd_lookup_process_by_pid(struct pid *pid);
995 int kfd_doorbell_mmap(struct kfd_dev *dev, struct kfd_process *process,
1052 int kfd_init_apertures(struct kfd_process *process);
1144 int kfd_process_get_queue_info(struct kfd_process *p,
1148 int kfd_criu_checkpoint_queues(struct kfd_process *p,
1152 int kfd_criu_restore_queue(struct kfd_process *p,
1157 int kfd_criu_checkpoint_events(struct kfd_process *p,
1162 struct kfd_process *p,
1203 void kfd_process_dequeue_from_all_devices(struct kfd_process *p);
1204 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p);
1315 int kfd_event_init_process(struct kfd_process *p);
1316 void kfd_event_free_process(struct kfd_process *p);
1317 int kfd_event_mmap(struct kfd_process *process, struct vm_area_struct *vma);
1318 int kfd_wait_on_events(struct kfd_process *p,
1328 int kfd_set_event(struct kfd_process *p, uint32_t event_id);
1329 int kfd_reset_event(struct kfd_process *p, uint32_t event_id);
1330 int kfd_kmap_event_page(struct kfd_process *p, uint64_t event_page_offset);
1332 int kfd_event_create(struct file *devkfd, struct kfd_process *p,
1337 int kfd_get_num_events(struct kfd_process *p);
1338 int kfd_event_destroy(struct kfd_process *p, uint32_t event_id);