Lines Matching refs:evt

289 		struct efi_event *evt;  in efi_signal_event()  local
295 list_for_each_entry(evt, &efi_events, link) { in efi_signal_event()
296 if (!evt->group || guidcmp(evt->group, event->group)) in efi_signal_event()
298 if (evt->is_signaled) in efi_signal_event()
300 evt->is_signaled = true; in efi_signal_event()
302 list_for_each_entry(evt, &efi_events, link) { in efi_signal_event()
303 if (!evt->group || guidcmp(evt->group, event->group)) in efi_signal_event()
305 efi_queue_event(evt); in efi_signal_event()
632 const struct efi_event *evt; in efi_is_event() local
636 list_for_each_entry(evt, &efi_events, link) { in efi_is_event()
637 if (evt == event) in efi_is_event()
667 struct efi_event *evt; in efi_create_event() local
703 (void **)&evt); in efi_create_event()
706 memset(evt, 0, sizeof(struct efi_event)); in efi_create_event()
707 evt->type = type; in efi_create_event()
708 evt->notify_tpl = notify_tpl; in efi_create_event()
709 evt->notify_function = notify_function; in efi_create_event()
710 evt->notify_context = notify_context; in efi_create_event()
711 evt->group = group; in efi_create_event()
713 evt->trigger_next = -1ULL; in efi_create_event()
714 list_add_tail(&evt->link, &efi_events); in efi_create_event()
715 *event = evt; in efi_create_event()
804 struct efi_event *evt; in efi_timer_check() local
807 list_for_each_entry(evt, &efi_events, link) { in efi_timer_check()
810 if (!(evt->type & EVT_TIMER) || now < evt->trigger_next) in efi_timer_check()
812 switch (evt->trigger_type) { in efi_timer_check()
814 evt->trigger_type = EFI_TIMER_STOP; in efi_timer_check()
817 evt->trigger_next += evt->trigger_time; in efi_timer_check()
822 evt->is_signaled = false; in efi_timer_check()
823 efi_signal_event(evt); in efi_timer_check()
1637 struct efi_event *evt; in efi_install_configuration_table() local
1671 list_for_each_entry(evt, &efi_events, link) { in efi_install_configuration_table()
1672 if (evt->group && !guidcmp(evt->group, guid)) { in efi_install_configuration_table()
1673 efi_signal_event(evt); in efi_install_configuration_table()
2123 struct efi_event *evt, *next_event; in efi_exit_boot_services() local
2142 list_for_each_entry(evt, &efi_events, link) { in efi_exit_boot_services()
2143 if (evt->type == EVT_SIGNAL_EXIT_BOOT_SERVICES) in efi_exit_boot_services()
2144 evt->group = &efi_guid_event_group_exit_boot_services; in efi_exit_boot_services()
2147 list_for_each_entry(evt, &efi_events, link) { in efi_exit_boot_services()
2148 if (evt->group && in efi_exit_boot_services()
2149 !guidcmp(evt->group, in efi_exit_boot_services()
2151 efi_signal_event(evt); in efi_exit_boot_services()
2163 list_for_each_entry_safe(evt, next_event, &efi_events, link) { in efi_exit_boot_services()
2164 if (evt->type != EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE) in efi_exit_boot_services()
2165 list_del(&evt->link); in efi_exit_boot_services()