Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c58 struct kfd_process *p;
61 static struct kfd_process *find_process(const struct task_struct *thread);
62 static struct kfd_process *create_process(const struct task_struct *thread);
78 struct kfd_process *kfd_create_process(const struct task_struct *thread) in kfd_create_process()
80 struct kfd_process *process; in kfd_create_process()
114 struct kfd_process *kfd_get_process(const struct task_struct *thread) in kfd_get_process()
116 struct kfd_process *process; in kfd_get_process()
132 static struct kfd_process *find_process_by_mm(const struct mm_struct *mm) in find_process_by_mm()
134 struct kfd_process *process; in find_process_by_mm()
144 static struct kfd_process *find_process(const struct task_struct *thread) in find_process()
[all …]
Dkfd_priv.h379 struct kfd_process *process;
406 struct kfd_process *process;
473 struct kfd_process { struct
534 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p, argument
547 struct kfd_process *kfd_create_process(const struct task_struct *);
548 struct kfd_process *kfd_get_process(const struct task_struct *);
549 struct kfd_process *kfd_lookup_process_by_pasid(unsigned int pasid);
552 struct kfd_process *p);
555 struct kfd_process *p);
557 struct kfd_process *p);
[all …]
Dkfd_events.c93 static bool allocate_free_slot(struct kfd_process *process, in allocate_free_slot()
129 static bool allocate_signal_page(struct file *devkfd, struct kfd_process *p) in allocate_signal_page()
173 struct kfd_process *p, in allocate_event_notification_slot()
201 static struct signal_page *lookup_signal_page_by_index(struct kfd_process *p, in lookup_signal_page_by_index()
221 static struct kfd_event *lookup_event_by_id(struct kfd_process *p, uint32_t id) in lookup_event_by_id()
244 static u32 make_nonsignal_event_id(struct kfd_process *p) in make_nonsignal_event_id()
283 static struct kfd_event *lookup_event_by_page_slot(struct kfd_process *p, in lookup_event_by_page_slot()
291 struct kfd_process *p, in create_signal_event()
328 static int create_other_event(struct kfd_process *p, struct kfd_event *ev) in create_other_event()
337 void kfd_event_init_process(struct kfd_process *p) in kfd_event_init_process()
[all …]
Dkfd_chardev.c104 struct kfd_process *process; in kfd_open()
130 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p, in kfd_ioctl_get_version()
248 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, in kfd_ioctl_create_queue()
318 static int kfd_ioctl_destroy_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_destroy_queue()
336 static int kfd_ioctl_update_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_update_queue()
384 struct kfd_process *p, void *data) in kfd_ioctl_set_memory_policy()
436 struct kfd_process *p, void *data) in kfd_ioctl_dbg_register()
490 struct kfd_process *p, void *data) in kfd_ioctl_dbg_unregister()
528 struct kfd_process *p, void *data) in kfd_ioctl_dbg_address_watch()
628 struct kfd_process *p, void *data) in kfd_ioctl_dbg_wave_control()
[all …]
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_doorbell.c129 int kfd_doorbell_mmap(struct kfd_process *process, struct vm_area_struct *vma) in kfd_doorbell_mmap()
226 struct kfd_process *process, in kfd_queue_id_to_doorbell()
250 struct kfd_process *process) in kfd_get_process_doorbells()
Dkfd_dbgmgr.c95 long kfd_dbgmgr_register(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_register()
115 long kfd_dbgmgr_unregister(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_unregister()
DMakefile11 kfd_process.o kfd_queue.o kfd_mqd_manager.o \
Dkfd_flat_memory.c296 int kfd_init_apertures(struct kfd_process *process) in kfd_init_apertures()
Dkfd_process_queue_manager.c66 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p) in pqm_init()
Dkfd_dbgdev.c764 int dbgdev_wave_reset_wavefronts(struct kfd_dev *dev, struct kfd_process *p) in dbgdev_wave_reset_wavefronts()