Searched refs:kfd_process (Results 1 – 15 of 15) sorted by relevance
| /Linux-v5.10/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_priv.h | 524 struct kfd_process *process; 558 struct kfd_process *process; 660 struct kfd_process *process; 738 struct kfd_process { struct 829 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p, argument 843 struct kfd_process *kfd_create_process(struct file *filep); 844 struct kfd_process *kfd_get_process(const struct task_struct *); 845 struct kfd_process *kfd_lookup_process_by_pasid(u32 pasid); 846 struct kfd_process *kfd_lookup_process_by_mm(const struct mm_struct *mm); 847 void kfd_unref_process(struct kfd_process *p); [all …]
|
| D | kfd_process.c | 66 static struct kfd_process *find_process(const struct task_struct *thread); 68 static struct kfd_process *create_process(const struct task_struct *thread); 69 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep); 271 struct kfd_process *proc = NULL; in kfd_get_cu_occupancy() 302 struct kfd_process *p = container_of(attr, struct kfd_process, in kfd_procfs_show() 466 struct kfd_process *proc; in kfd_procfs_add_queue() 488 static int kfd_sysfs_create_file(struct kfd_process *p, struct attribute *attr, in kfd_sysfs_create_file() 505 static int kfd_procfs_add_sysfs_stats(struct kfd_process *p) in kfd_procfs_add_sysfs_stats() 571 static int kfd_procfs_add_sysfs_files(struct kfd_process *p) in kfd_procfs_add_sysfs_files() 748 struct kfd_process *kfd_create_process(struct file *filep) in kfd_create_process() [all …]
|
| D | kfd_events.c | 64 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 …]
|
| D | kfd_chardev.c | 111 struct kfd_process *process; in kfd_open() 149 struct kfd_process *process = filep->private_data; in kfd_release() 157 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p, in kfd_ioctl_get_version() 274 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, in kfd_ioctl_create_queue() 350 static int kfd_ioctl_destroy_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_destroy_queue() 368 static int kfd_ioctl_update_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_update_queue() 414 static int kfd_ioctl_set_cu_mask(struct file *filp, struct kfd_process *p, in kfd_ioctl_set_cu_mask() 470 struct kfd_process *p, void *data) in kfd_ioctl_get_queue_wave_state() 488 struct kfd_process *p, void *data) in kfd_ioctl_set_memory_policy() 540 struct kfd_process *p, void *data) in kfd_ioctl_set_trap_handler() [all …]
|
| D | kfd_dbgmgr.h | 237 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);
|
| D | kfd_iommu.c | 109 struct kfd_process *p = pdd->process; in kfd_iommu_bind_process_to_device() 132 void kfd_iommu_unbind_process(struct kfd_process *p) in kfd_iommu_unbind_process() 145 struct kfd_process *p; in iommu_pasid_shutdown_callback() 217 struct kfd_process *p; in kfd_bind_processes_to_device() 258 struct kfd_process *p; in kfd_unbind_processes_from_device()
|
| D | kfd_iommu.h | 34 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()
|
| D | kfd_dbgmgr.c | 96 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()
|
| D | Makefile | 33 $(AMDKFD_PATH)/kfd_process.o \
|
| D | kfd_flat_memory.c | 364 int kfd_init_apertures(struct kfd_process *process) in kfd_init_apertures()
|
| D | kfd_doorbell.c | 126 int kfd_doorbell_mmap(struct kfd_dev *dev, struct kfd_process *process, in kfd_doorbell_mmap()
|
| D | kfd_process_queue_manager.c | 127 void kfd_process_dequeue_from_all_devices(struct kfd_process *p) in kfd_process_dequeue_from_all_devices() 135 int pqm_init(struct process_queue_manager *pqm, struct kfd_process *p) in pqm_init()
|
| D | kfd_device.c | 969 struct kfd_process *p; in kgd2kfd_quiesce_mm() 989 struct kfd_process *p; in kgd2kfd_resume_mm() 1017 struct kfd_process *p; in kgd2kfd_schedule_evict_and_restore_process()
|
| D | kfd_dbgdev.c | 760 int dbgdev_wave_reset_wavefronts(struct kfd_dev *dev, struct kfd_process *p) in dbgdev_wave_reset_wavefronts()
|
| D | kfd_device_queue_manager.c | 1970 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_process_vm_fault()
|