Home
last modified time | relevance | path

Searched refs:kfd_process (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_priv.h474 struct kfd_process *process;
501 struct kfd_process *process;
592 struct kfd_process *process;
626 struct kfd_process { struct
714 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p, argument
727 struct kfd_process *kfd_create_process(struct file *filep);
728 struct kfd_process *kfd_get_process(const struct task_struct *);
729 struct kfd_process *kfd_lookup_process_by_pasid(unsigned int pasid);
730 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm);
731 void kfd_unref_process(struct kfd_process *p);
[all …]
Dkfd_process.c62 static struct kfd_process *find_process(const struct task_struct *thread);
64 static struct kfd_process *create_process(const struct task_struct *thread,
204 struct kfd_process *kfd_create_process(struct file *filep) in kfd_create_process()
206 struct kfd_process *process; in kfd_create_process()
235 struct kfd_process *kfd_get_process(const struct task_struct *thread) in kfd_get_process()
237 struct kfd_process *process; in kfd_get_process()
253 static struct kfd_process *find_process_by_mm(const struct mm_struct *mm) in find_process_by_mm()
255 struct kfd_process *process; in find_process_by_mm()
265 static struct kfd_process *find_process(const struct task_struct *thread) in find_process()
267 struct kfd_process *p; in find_process()
[all …]
Dkfd_events.c64 static struct kfd_signal_page *allocate_signal_page(struct kfd_process *p) in allocate_signal_page()
94 static int allocate_event_notification_slot(struct kfd_process *p, in allocate_event_notification_slot()
128 static struct kfd_event *lookup_event_by_id(struct kfd_process *p, uint32_t id) in lookup_event_by_id()
151 struct kfd_process *p, uint32_t id, uint32_t bits) in lookup_signaled_event_by_partial_id()
182 struct kfd_process *p, in create_signal_event()
212 static int create_other_event(struct kfd_process *p, struct kfd_event *ev) in create_other_event()
230 void kfd_event_init_process(struct kfd_process *p) in kfd_event_init_process()
238 static void destroy_event(struct kfd_process *p, struct kfd_event *ev) in destroy_event()
255 static void destroy_events(struct kfd_process *p) in destroy_events()
269 static void shutdown_signal_page(struct kfd_process *p) in shutdown_signal_page()
[all …]
Dkfd_chardev.c105 struct kfd_process *process; in kfd_open()
134 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p, in kfd_ioctl_get_version()
253 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, in kfd_ioctl_create_queue()
330 static int kfd_ioctl_destroy_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_destroy_queue()
348 static int kfd_ioctl_update_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_update_queue()
395 static int kfd_ioctl_set_cu_mask(struct file *filp, struct kfd_process *p, in kfd_ioctl_set_cu_mask()
451 struct kfd_process *p, void *data) in kfd_ioctl_set_memory_policy()
503 struct kfd_process *p, void *data) in kfd_ioctl_set_trap_handler()
535 struct kfd_process *p, void *data) in kfd_ioctl_dbg_register()
589 struct kfd_process *p, void *data) in kfd_ioctl_dbg_unregister()
[all …]
Dkfd_doorbell.c129 int kfd_doorbell_mmap(struct kfd_dev *dev, struct kfd_process *process, in kfd_doorbell_mmap()
229 struct kfd_process *process, in kfd_doorbell_id_to_offset()
255 struct kfd_process *process) in kfd_get_process_doorbells()
261 int kfd_alloc_process_doorbells(struct kfd_process *process) in kfd_alloc_process_doorbells()
271 void kfd_free_process_doorbells(struct kfd_process *process) in kfd_free_process_doorbells()
Dkfd_dbgmgr.h237 struct kfd_process *process;
246 struct kfd_process *process;
287 long kfd_dbgmgr_register(struct kfd_dbgmgr *pmgr, struct kfd_process *p);
288 long kfd_dbgmgr_unregister(struct kfd_dbgmgr *pmgr, struct kfd_process *p);
Dkfd_iommu.c120 struct kfd_process *p = pdd->process; in kfd_iommu_bind_process_to_device()
143 void kfd_iommu_unbind_process(struct kfd_process *p) in kfd_iommu_unbind_process()
156 struct kfd_process *p; in iommu_pasid_shutdown_callback()
228 struct kfd_process *p; in kfd_bind_processes_to_device()
269 struct kfd_process *p; in kfd_unbind_processes_from_device()
Dkfd_iommu.h34 void kfd_iommu_unbind_process(struct kfd_process *p);
57 static inline void kfd_iommu_unbind_process(struct kfd_process *p) in kfd_iommu_unbind_process()
Dkfd_dbgmgr.c96 long kfd_dbgmgr_register(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_register()
116 long kfd_dbgmgr_unregister(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_unregister()
DMakefile31 kfd_process.o kfd_queue.o kfd_mqd_manager.o \
Dkfd_flat_memory.c364 int kfd_init_apertures(struct kfd_process *process) in kfd_init_apertures()
Dkfd_device.c681 struct kfd_process *p; in kgd2kfd_quiesce_mm()
700 struct kfd_process *p; in kgd2kfd_resume_mm()
728 struct kfd_process *p; in kgd2kfd_schedule_evict_and_restore_process()
Dkfd_process_queue_manager.c77 void kfd_process_dequeue_from_all_devices(struct kfd_process *p) in kfd_process_dequeue_from_all_devices()
85 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p) in pqm_init()
Dkfd_dbgdev.c760 int dbgdev_wave_reset_wavefronts(struct kfd_dev *dev, struct kfd_process *p) in dbgdev_wave_reset_wavefronts()
Dkfd_device_queue_manager.c1746 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_process_vm_fault()