• Home
  • Raw
  • Download

Lines Matching defs:p

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()
119 page_slots(p->signal_page)[id] = UNSIGNALED_EVENT_SLOT; in allocate_event_notification_slot() local
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()
162 if (page_slots(p->signal_page)[id] == UNSIGNALED_EVENT_SLOT) in lookup_signaled_event_by_partial_id() local
172 if (page_slots(p->signal_page)[id] == UNSIGNALED_EVENT_SLOT) in lookup_signaled_event_by_partial_id() local
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()
281 void kfd_event_free_process(struct kfd_process *p) in kfd_event_free_process()
298 int kfd_event_page_set(struct kfd_process *p, void *kernel_address, in kfd_event_page_set()
322 int kfd_event_create(struct file *devkfd, struct kfd_process *p, in kfd_event_create()
370 int kfd_event_destroy(struct kfd_process *p, uint32_t event_id) in kfd_event_destroy()
406 int kfd_set_event(struct kfd_process *p, uint32_t event_id) in kfd_set_event()
430 int kfd_reset_event(struct kfd_process *p, uint32_t event_id) in kfd_reset_event()
449 static void acknowledge_signal(struct kfd_process *p, struct kfd_event *ev) in acknowledge_signal()
451 page_slots(p->signal_page)[ev->event_id] = UNSIGNALED_EVENT_SLOT; in acknowledge_signal() local
454 static void set_event_from_interrupt(struct kfd_process *p, in set_event_from_interrupt()
473 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_signal_event_interrupt() local
542 static int init_event_waiter_get_status(struct kfd_process *p, in init_event_waiter_get_status()
663 int kfd_wait_on_events(struct kfd_process *p, in kfd_wait_on_events()
780 int kfd_event_mmap(struct kfd_process *p, struct vm_area_struct *vma) in kfd_event_mmap()
829 static void lookup_events_by_type_and_signal(struct kfd_process *p, in lookup_events_by_type_and_signal()
886 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_signal_iommu_event() local
959 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_signal_hw_exception_event() local
978 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_signal_vm_fault_event() local
1014 struct kfd_process *p; in kfd_signal_reset_event() local
1055 struct kfd_process *p = kfd_lookup_process_by_pasid(pasid); in kfd_signal_poison_consumed_event() local