Searched refs:usize (Results 1 – 2 of 2) sorted by relevance
20 unsafe extern "C" fn efi_relocate(ldbase: u64, elf_dyn: *mut c_void) -> usize { in efi_relocate() argument22 return do_relocate(ldbase, elf_dyn).0 as usize; in efi_relocate()45 item = (item as usize + core::mem::size_of::<Dyn>()) as *mut Dyn; in do_relocate()71 rel = (rel as usize + relent as usize) as *mut elf::relocation::Elf64_Rela; in do_relocate()
29 ) -> usize { in efi_main() argument31 .map(|_| uefi::Status::SUCCESS.0 as usize) in efi_main()32 .unwrap_or_else(|e| e.0 as usize) in efi_main()