Lines Matching refs:EfiResult

118 pub type EfiResult<T> = core::result::Result<T, EfiError>;  typedef
121 fn map_efi_err(code: EfiStatus) -> EfiResult<()> { in map_efi_err() argument
159 ) -> EfiResult<EfiEntry> { in initialize()
190 pub fn exit_boot_services(entry: EfiEntry, mmap_buffer: &mut [u8]) -> EfiResult<EfiMemoryMap> { in exit_boot_services()
232 pub fn con_out(&self) -> EfiResult<Protocol<'a, SimpleTextOutputProtocol>> { in con_out()
275 ) -> EfiResult<*mut core::ffi::c_void> { in allocate_pool()
285 fn free_pool(&self, buf: *mut core::ffi::c_void) -> EfiResult<()> { in free_pool() argument
294 ) -> EfiResult<Protocol<'a, T>> { in open_protocol()
315 fn close_protocol<T: ProtocolInfo>(&self, handle: DeviceHandle) -> EfiResult<()> { in close_protocol() argument
332 ) -> EfiResult<LocatedHandles<'a>> { in locate_handle_buffer_by_protocol()
353 pub fn find_first_and_open<T: ProtocolInfo>(&self) -> EfiResult<Protocol<'a, T>> { in find_first_and_open()
365 pub fn get_memory_map<'b>(&self, mmap_buffer: &'b mut [u8]) -> EfiResult<EfiMemoryMap<'b>> { in get_memory_map()
390 fn exit_boot_services<'b>(&self, mmap: &'b EfiMemoryMap<'b>) -> EfiResult<()> { in exit_boot_services() argument
402 pub fn stall(&self, micro: usize) -> EfiResult<()> { in stall() argument
418 ) -> EfiResult<Event<'a, 'n>> { in create_event()
450 fn close_event(&self, event: &Event) -> EfiResult<()> { in close_event() argument
458 pub fn check_event(&self, event: &Event) -> EfiResult<bool> { in check_event()
473 ) -> EfiResult<()> { in set_timer() argument
489 pub fn get_variable(&self, guid: &EfiGuid, name: &str, out: &mut [u8]) -> EfiResult<usize> { in get_variable()
1406 let res: EfiResult<()> = Err(EFI_STATUS_NOT_FOUND.into()); in test_efi_error()