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.c57 struct kfd_process *p;
60 static struct kfd_process *find_process(const struct task_struct *thread);
61 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()
116 struct kfd_process *kfd_get_process(const struct task_struct *thread) in kfd_get_process()
118 struct kfd_process *process; in kfd_get_process()
134 static struct kfd_process *find_process_by_mm(const struct mm_struct *mm) in find_process_by_mm()
136 struct kfd_process *process; in find_process_by_mm()
146 static struct kfd_process *find_process(const struct task_struct *thread) in find_process()
[all …]
Dkfd_priv.h383 struct kfd_process *process;
410 struct kfd_process *process;
476 struct kfd_process { struct
536 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p, argument
549 struct kfd_process *kfd_create_process(const struct task_struct *);
550 struct kfd_process *kfd_get_process(const struct task_struct *);
551 struct kfd_process *kfd_lookup_process_by_pasid(unsigned int pasid);
554 struct kfd_process *p);
557 struct kfd_process *p);
559 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()
200 static struct signal_page *lookup_signal_page_by_index(struct kfd_process *p, in lookup_signal_page_by_index()
220 static struct kfd_event *lookup_event_by_id(struct kfd_process *p, uint32_t id) in lookup_event_by_id()
243 static u32 make_nonsignal_event_id(struct kfd_process *p) in make_nonsignal_event_id()
282 static struct kfd_event *lookup_event_by_page_slot(struct kfd_process *p, in lookup_event_by_page_slot()
290 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()
249 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, in kfd_ioctl_create_queue()
319 static int kfd_ioctl_destroy_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_destroy_queue()
337 static int kfd_ioctl_update_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_update_queue()
385 struct kfd_process *p, void *data) in kfd_ioctl_set_memory_policy()
437 struct kfd_process *p, void *data) in kfd_ioctl_dbg_register()
491 struct kfd_process *p, void *data) in kfd_ioctl_dbg_unrgesiter()
529 struct kfd_process *p, void *data) in kfd_ioctl_dbg_address_watch()
638 struct kfd_process *p, void *data) in kfd_ioctl_dbg_wave_control()
[all …]
Dkfd_dbgmgr.h238 struct kfd_process *process;
247 struct kfd_process *process;
288 long kfd_dbgmgr_register(struct kfd_dbgmgr *pmgr, struct kfd_process *p);
289 long kfd_dbgmgr_unregister(struct kfd_dbgmgr *pmgr, struct kfd_process *p);
Dkfd_doorbell.c120 int kfd_doorbell_mmap(struct kfd_process *process, struct vm_area_struct *vma) in kfd_doorbell_mmap()
220 struct kfd_process *process, in kfd_queue_id_to_doorbell()
244 struct kfd_process *process) in kfd_get_process_doorbells()
Dkfd_dbgmgr.c97 long kfd_dbgmgr_register(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_register()
119 long kfd_dbgmgr_unregister(struct kfd_dbgmgr *pmgr, struct kfd_process *p) in kfd_dbgmgr_unregister()
DMakefile10 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.c73 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p) in pqm_init()
Dkfd_dbgdev.c795 int dbgdev_wave_reset_wavefronts(struct kfd_dev *dev, struct kfd_process *p) in dbgdev_wave_reset_wavefronts()