Lines Matching refs:kfd_process
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()
134 static struct kfd_event *lookup_event_by_id(struct kfd_process *p, uint32_t id) in lookup_event_by_id()
157 struct kfd_process *p, uint32_t id, uint32_t bits) in lookup_signaled_event_by_partial_id()
187 static int create_signal_event(struct file *devkfd, struct kfd_process *p, in create_signal_event()
217 static int create_other_event(struct kfd_process *p, struct kfd_event *ev, const int *restore_id) in create_other_event()
241 int kfd_event_init_process(struct kfd_process *p) in kfd_event_init_process()
261 static void destroy_event(struct kfd_process *p, struct kfd_event *ev) in destroy_event()
280 static void destroy_events(struct kfd_process *p) in destroy_events()
296 static void shutdown_signal_page(struct kfd_process *p) in shutdown_signal_page()
308 void kfd_event_free_process(struct kfd_process *p) in kfd_event_free_process()
325 static int kfd_event_page_set(struct kfd_process *p, void *kernel_address, in kfd_event_page_set()
349 int kfd_kmap_event_page(struct kfd_process *p, uint64_t event_page_offset) in kfd_kmap_event_page()
395 int kfd_event_create(struct file *devkfd, struct kfd_process *p, in kfd_event_create()
445 struct kfd_process *p, in kfd_criu_restore_event()
521 int kfd_criu_checkpoint_events(struct kfd_process *p, in kfd_criu_checkpoint_events()
592 int kfd_get_num_events(struct kfd_process *p) in kfd_get_num_events()
605 int kfd_event_destroy(struct kfd_process *p, uint32_t event_id) in kfd_event_destroy()
646 int kfd_set_event(struct kfd_process *p, uint32_t event_id) in kfd_set_event()
677 int kfd_reset_event(struct kfd_process *p, uint32_t event_id) in kfd_reset_event()
703 static void acknowledge_signal(struct kfd_process *p, struct kfd_event *ev) in acknowledge_signal()
708 static void set_event_from_interrupt(struct kfd_process *p, in set_event_from_interrupt()
729 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_signal_event_interrupt()
798 static int init_event_waiter(struct kfd_process *p, in init_event_waiter()
934 int kfd_wait_on_events(struct kfd_process *p, in kfd_wait_on_events()
1050 int kfd_event_mmap(struct kfd_process *p, struct vm_area_struct *vma) in kfd_event_mmap()
1098 static void lookup_events_by_type_and_signal(struct kfd_process *p, in lookup_events_by_type_and_signal()
1155 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_signal_hw_exception_event()
1170 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_signal_vm_fault_event()
1223 struct kfd_process *p; in kfd_signal_reset_event()
1277 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_signal_poison_consumed_event()