Lines Matching refs:kfd_process

69 static inline struct kfd_process_device *kfd_lock_pdd_by_id(struct kfd_process *p, __u32 gpu_id)  in kfd_lock_pdd_by_id()
129 struct kfd_process *process; in kfd_open()
165 struct kfd_process *process = filep->private_data; in kfd_release()
178 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p, in kfd_ioctl_get_version()
318 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, in kfd_ioctl_create_queue()
429 static int kfd_ioctl_destroy_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_destroy_queue()
447 static int kfd_ioctl_update_queue(struct file *filp, struct kfd_process *p, in kfd_ioctl_update_queue()
505 static int kfd_ioctl_set_cu_mask(struct file *filp, struct kfd_process *p, in kfd_ioctl_set_cu_mask()
554 struct kfd_process *p, void *data) in kfd_ioctl_get_queue_wave_state()
572 struct kfd_process *p, void *data) in kfd_ioctl_set_memory_policy()
627 struct kfd_process *p, void *data) in kfd_ioctl_set_trap_handler()
657 struct kfd_process *p, void *data) in kfd_ioctl_dbg_register()
663 struct kfd_process *p, void *data) in kfd_ioctl_dbg_unregister()
669 struct kfd_process *p, void *data) in kfd_ioctl_dbg_address_watch()
676 struct kfd_process *p, void *data) in kfd_ioctl_dbg_wave_control()
682 struct kfd_process *p, void *data) in kfd_ioctl_get_clock_counters()
709 struct kfd_process *p, void *data) in kfd_ioctl_get_process_apertures()
760 struct kfd_process *p, void *data) in kfd_ioctl_get_process_apertures_new()
838 static int kfd_ioctl_create_event(struct file *filp, struct kfd_process *p, in kfd_ioctl_create_event()
866 static int kfd_ioctl_destroy_event(struct file *filp, struct kfd_process *p, in kfd_ioctl_destroy_event()
874 static int kfd_ioctl_set_event(struct file *filp, struct kfd_process *p, in kfd_ioctl_set_event()
882 static int kfd_ioctl_reset_event(struct file *filp, struct kfd_process *p, in kfd_ioctl_reset_event()
890 static int kfd_ioctl_wait_events(struct file *filp, struct kfd_process *p, in kfd_ioctl_wait_events()
901 struct kfd_process *p, void *data) in kfd_ioctl_set_scratch_backing_va()
940 struct kfd_process *p, void *data) in kfd_ioctl_get_tile_config()
983 static int kfd_ioctl_acquire_vm(struct file *filep, struct kfd_process *p, in kfd_ioctl_acquire_vm()
1045 struct kfd_process *p, void *data) in kfd_ioctl_get_available_memory()
1059 struct kfd_process *p, void *data) in kfd_ioctl_alloc_memory_of_gpu()
1208 struct kfd_process *p, void *data) in kfd_ioctl_free_memory_of_gpu()
1260 struct kfd_process *p, void *data) in kfd_ioctl_map_memory_to_gpu()
1378 struct kfd_process *p, void *data) in kfd_ioctl_unmap_memory_from_gpu()
1479 struct kfd_process *p, void *data) in kfd_ioctl_alloc_queue_gws()
1524 struct kfd_process *p, void *data) in kfd_ioctl_get_dmabuf_info()
1577 struct kfd_process *p, void *data) in kfd_ioctl_import_dmabuf()
1627 struct kfd_process *p, void *data) in kfd_ioctl_export_dmabuf()
1680 struct kfd_process *p, void *data) in kfd_ioctl_smi_events()
1698 struct kfd_process *p, void *data) in kfd_ioctl_set_xnack_mode()
1730 static int kfd_ioctl_svm(struct file *filep, struct kfd_process *p, void *data) in kfd_ioctl_svm()
1756 struct kfd_process *p, void *data) in kfd_ioctl_set_xnack_mode()
1760 static int kfd_ioctl_svm(struct file *filep, struct kfd_process *p, void *data) in kfd_ioctl_svm()
1766 static int criu_checkpoint_process(struct kfd_process *p, in criu_checkpoint_process()
1794 static int criu_checkpoint_devices(struct kfd_process *p, in criu_checkpoint_devices()
1850 static uint32_t get_process_num_bos(struct kfd_process *p) in get_process_num_bos()
1918 static int criu_checkpoint_bos(struct kfd_process *p, in criu_checkpoint_bos()
2046 static int criu_get_process_object_info(struct kfd_process *p, in criu_get_process_object_info()
2082 struct kfd_process *p, in criu_checkpoint()
2170 static int criu_restore_process(struct kfd_process *p, in criu_restore_process()
2211 static int criu_restore_devices(struct kfd_process *p, in criu_restore_devices()
2388 static int criu_restore_bo(struct kfd_process *p, in criu_restore_bo()
2453 static int criu_restore_bos(struct kfd_process *p, in criu_restore_bos()
2528 struct kfd_process *p, in criu_restore_objects()
2584 struct kfd_process *p, in criu_restore()
2640 struct kfd_process *p, in criu_unpause()
2664 struct kfd_process *p, in criu_resume()
2667 struct kfd_process *target = NULL; in criu_resume()
2709 struct kfd_process *p, in criu_process_info()
2749 static int kfd_ioctl_criu(struct file *filep, struct kfd_process *p, void *data) in kfd_ioctl_criu()
2783 static int runtime_enable(struct kfd_process *p, uint64_t r_debug, in runtime_enable()
2856 static int runtime_disable(struct kfd_process *p) in runtime_disable()
2918 static int kfd_ioctl_runtime_enable(struct file *filep, struct kfd_process *p, void *data) in kfd_ioctl_runtime_enable()
2936 static int kfd_ioctl_set_debug_trap(struct file *filep, struct kfd_process *p, void *data) in kfd_ioctl_set_debug_trap()
2942 struct kfd_process *target = NULL; in kfd_ioctl_set_debug_trap()
3168 static int kfd_ioctl_create_process(struct file *filep, struct kfd_process *p, void *data) in kfd_ioctl_create_process()
3170 struct kfd_process *process; in kfd_ioctl_create_process()
3334 struct kfd_process *process; in kfd_ioctl()
3452 static int kfd_mmio_mmap(struct kfd_node *dev, struct kfd_process *process, in kfd_mmio_mmap()
3488 struct kfd_process *process; in kfd_mmap()