Lines Matching refs:EFI_SUCCESS
268 return EFI_SUCCESS; in is_valid_tpl()
336 EFI_EXIT(EFI_SUCCESS); in efi_raise_tpl()
364 EFI_EXIT(EFI_SUCCESS); in efi_restore_tpl()
523 return EFI_SUCCESS; in efi_create_handle()
553 return EFI_SUCCESS; in efi_search_protocol()
575 if (ret != EFI_SUCCESS) in efi_remove_protocol()
581 return EFI_SUCCESS; in efi_remove_protocol()
604 if (ret != EFI_SUCCESS) in efi_remove_all_protocols()
607 return EFI_SUCCESS; in efi_remove_all_protocols()
638 return EFI_SUCCESS; in efi_is_event()
698 (!notify_function || is_valid_tpl(notify_tpl) != EFI_SUCCESS || in efi_create_event()
704 if (ret != EFI_SUCCESS) in efi_create_event()
716 return EFI_SUCCESS; in efi_create_event()
844 if (efi_is_event(event) != EFI_SUCCESS || !(event->type & EVT_TIMER)) in efi_set_timer()
867 return EFI_SUCCESS; in efi_set_timer()
921 if (efi_is_event(event[i]) != EFI_SUCCESS) in efi_wait_for_event()
948 return EFI_EXIT(EFI_SUCCESS); in efi_wait_for_event()
968 if (efi_is_event(event) != EFI_SUCCESS) in efi_signal_event_ext()
971 return EFI_EXIT(EFI_SUCCESS); in efi_signal_event_ext()
990 if (efi_is_event(event) != EFI_SUCCESS) in efi_close_event()
1015 return EFI_EXIT(EFI_SUCCESS); in efi_close_event()
1036 if (efi_is_event(event) != EFI_SUCCESS || in efi_check_event()
1043 return EFI_EXIT(EFI_SUCCESS); in efi_check_event()
1100 return EFI_SUCCESS; in efi_delete_open_info()
1154 return EFI_SUCCESS; in efi_add_protocol()
1190 if (r != EFI_SUCCESS) in efi_install_protocol_interface()
1236 return EFI_SUCCESS; in efi_get_drivers()
1268 return EFI_SUCCESS; in efi_get_drivers()
1295 if (ret != EFI_SUCCESS) in efi_disconnect_all_drivers()
1298 return EFI_SUCCESS; in efi_disconnect_all_drivers()
1305 if (r == EFI_SUCCESS) in efi_disconnect_all_drivers()
1341 if (r != EFI_SUCCESS) in efi_uninstall_protocol()
1384 if (ret != EFI_SUCCESS) in efi_uninstall_protocol_interface()
1415 efi_status_t ret = EFI_SUCCESS; in efi_register_protocol_notify()
1462 return (ret != EFI_SUCCESS); in efi_search()
1577 return EFI_SUCCESS; in efi_locate_handle()
1678 return EFI_SUCCESS; in efi_install_configuration_table()
1760 if (ret != EFI_SUCCESS) in efi_setup_loaded_image()
1769 if (ret != EFI_SUCCESS) in efi_setup_loaded_image()
1825 if (ret != EFI_SUCCESS) in efi_locate_device_path()
1832 if (ret != EFI_SUCCESS) in efi_locate_device_path()
1857 ret = EFI_SUCCESS; in efi_locate_device_path()
1903 if (ret != EFI_SUCCESS) in efi_load_image_from_file()
1916 if (ret != EFI_SUCCESS) { in efi_load_image_from_file()
1923 if (ret != EFI_SUCCESS) in efi_load_image_from_file()
1965 if (ret == EFI_SUCCESS) in efi_load_image_from_path()
1970 if (ret == EFI_SUCCESS) { in efi_load_image_from_path()
1976 if (ret != EFI_SUCCESS) in efi_load_image_from_path()
1980 if (ret != EFI_SUCCESS) in efi_load_image_from_path()
1991 if (ret != EFI_SUCCESS) { in efi_load_image_from_path()
1998 if (ret != EFI_SUCCESS) in efi_load_image_from_path()
2002 if (ret == EFI_SUCCESS) { in efi_load_image_from_path()
2054 if (ret != EFI_SUCCESS) in efi_load_image()
2062 if (ret == EFI_SUCCESS) in efi_load_image()
2068 if (ret == EFI_SUCCESS || ret == EFI_SECURITY_VIOLATION) { in efi_load_image()
2124 efi_status_t ret = EFI_SUCCESS; in efi_exit_boot_services()
2225 ret = EFI_SUCCESS; in efi_get_next_monotonic_count()
2251 return EFI_EXIT(EFI_SUCCESS); in efi_stall()
2311 if (r != EFI_SUCCESS) in efi_close_protocol()
2319 r = EFI_SUCCESS; in efi_close_protocol()
2361 if (r != EFI_SUCCESS) in efi_open_protocol_information()
2373 r = EFI_SUCCESS; in efi_open_protocol_information()
2381 if (r != EFI_SUCCESS) in efi_open_protocol_information()
2438 if (r != EFI_SUCCESS) in efi_protocols_per_handle()
2450 return EFI_EXIT(EFI_SUCCESS); in efi_protocols_per_handle()
2491 if (r != EFI_SUCCESS) in efi_locate_handle_buffer()
2495 if (r == EFI_SUCCESS) in efi_locate_handle_buffer()
2555 if (ret == EFI_SUCCESS) in efi_locate_protocol()
2560 if (ret == EFI_SUCCESS) in efi_locate_protocol()
2569 return EFI_EXIT(EFI_SUCCESS); in efi_locate_protocol()
2595 efi_status_t r = EFI_SUCCESS; in efi_install_multiple_protocol_interfaces()
2613 if (r == EFI_SUCCESS && in efi_install_multiple_protocol_interfaces()
2625 if (r != EFI_SUCCESS) in efi_install_multiple_protocol_interfaces()
2630 if (r == EFI_SUCCESS) in efi_install_multiple_protocol_interfaces()
2668 efi_status_t r = EFI_SUCCESS; in efi_uninstall_multiple_protocol_interfaces()
2682 if (r != EFI_SUCCESS) in efi_uninstall_multiple_protocol_interfaces()
2687 if (r == EFI_SUCCESS) { in efi_uninstall_multiple_protocol_interfaces()
2728 efi_status_t ret = EFI_SUCCESS; in efi_calculate_crc32()
2756 EFI_EXIT(EFI_SUCCESS); in efi_copy_mem()
2774 EFI_EXIT(EFI_SUCCESS); in efi_set_mem()
2846 if (ret == EFI_SUCCESS) in efi_protocol_open()
2886 return EFI_SUCCESS; in efi_protocol_open()
2949 case EFI_SUCCESS: in efi_open_protocol()
3004 if (ret != EFI_SUCCESS) in efi_start_image()
3066 efi_status_t r, ret = EFI_SUCCESS; in efi_delete_image()
3084 if (r != EFI_SUCCESS) in efi_delete_image()
3116 efi_status_t ret = EFI_SUCCESS; in efi_unload_image()
3132 if (ret != EFI_SUCCESS) { in efi_unload_image()
3144 if (ret != EFI_SUCCESS) in efi_unload_image()
3178 return EFI_SUCCESS; in efi_update_exit_data()
3185 if (ret != EFI_SUCCESS) in efi_update_exit_data()
3191 return EFI_SUCCESS; in efi_update_exit_data()
3231 if (ret != EFI_SUCCESS) { in efi_exit()
3242 ret = EFI_SUCCESS; in efi_exit()
3256 if (exit_status != EFI_SUCCESS) { in efi_exit()
3260 if (ret != EFI_SUCCESS) in efi_exit()
3267 exit_status != EFI_SUCCESS) in efi_exit()
3328 if (r != EFI_SUCCESS) in efi_bind_controller()
3333 if (r == EFI_SUCCESS) in efi_bind_controller()
3366 if (r != EFI_SUCCESS) in efi_connect_single_controller()
3384 if (r == EFI_SUCCESS) in efi_connect_single_controller()
3404 if (r == EFI_SUCCESS) in efi_connect_single_controller()
3412 return EFI_SUCCESS; in efi_connect_single_controller()
3455 if (r == EFI_SUCCESS) in efi_connect_controller()
3456 ret = EFI_SUCCESS; in efi_connect_controller()
3470 if (r == EFI_SUCCESS) in efi_connect_controller()
3471 ret = EFI_SUCCESS; in efi_connect_controller()
3477 if (ret != EFI_SUCCESS && remain_device_path && in efi_connect_controller()
3479 ret = EFI_SUCCESS; in efi_connect_controller()
3512 if (ret != EFI_SUCCESS) in efi_reinstall_protocol_interface()
3522 if (ret != EFI_SUCCESS) in efi_reinstall_protocol_interface()
3570 return EFI_SUCCESS; in efi_get_child_controllers()
3596 return EFI_SUCCESS; in efi_get_child_controllers()
3649 if (r != EFI_SUCCESS) in efi_disconnect_controller()
3665 if (r != EFI_SUCCESS) { in efi_disconnect_controller()
3675 if (r != EFI_SUCCESS) { in efi_disconnect_controller()
3685 if (r != EFI_SUCCESS) { in efi_disconnect_controller()
3693 r = EFI_SUCCESS; in efi_disconnect_controller()