Lines Matching refs:signal_page
100 if (!p->signal_page) { in allocate_event_notification_slot()
101 p->signal_page = allocate_signal_page(p); in allocate_event_notification_slot()
102 if (!p->signal_page) in allocate_event_notification_slot()
125 page_slots(p->signal_page)[id] = UNSIGNALED_EVENT_SLOT; in allocate_event_notification_slot()
161 if (!p->signal_page || id >= KFD_SIGNAL_EVENT_LIMIT) in lookup_signaled_event_by_partial_id()
168 if (page_slots(p->signal_page)[id] == UNSIGNALED_EVENT_SLOT) in lookup_signaled_event_by_partial_id()
178 if (page_slots(p->signal_page)[id] == UNSIGNALED_EVENT_SLOT) in lookup_signaled_event_by_partial_id()
209 ev->user_signal_address = &p->signal_page->user_address[ev->event_id]; in create_signal_event()
247 p->signal_page = NULL; in kfd_event_init_process()
298 struct kfd_signal_page *page = p->signal_page; in shutdown_signal_page()
330 if (p->signal_page) in kfd_event_page_set()
343 p->signal_page = page; in kfd_event_page_set()
357 if (p->signal_page) { in kfd_kmap_event_page()
553 if (i == 0 && p->signal_page) in kfd_criu_checkpoint_events()
705 WRITE_ONCE(page_slots(p->signal_page)[ev->event_id], UNSIGNALED_EVENT_SLOT); in acknowledge_signal()
741 } else if (p->signal_page) { in kfd_signal_event_interrupt()
747 uint64_t *slots = page_slots(p->signal_page); in kfd_signal_event_interrupt()
1063 page = p->signal_page; in kfd_event_mmap()