| /bootable/libbootloader/gbl/libboot/src/ |
| D | aarch64.rs | 54 fn flush_dcache_range(addr: usize, len: usize); in flush_dcache_range() 76 unsafe fn jump_kernel(addr: usize, arg0: usize, arg1: usize, arg2: usize, arg3: usize) -> ! { in jump_kernel()
|
| D | x86.rs | 138 pub fn setup_sects(&self) -> usize { in setup_sects() 148 pub fn kernel_off(&self) -> usize { in kernel_off() 189 low_mem_addr: usize, in boot_linux_bzimage() 285 pub unsafe fn zbi_boot_raw(entry: usize, data: &[u8]) -> ! { in zbi_boot_raw()
|
| D | riscv64.rs | 24 pub unsafe fn jump_linux(kernel: &[u8], boot_hart_id: usize, fdt: &[u8]) -> ! { in jump_linux()
|
| /bootable/libbootloader/gbl/libefi/src/protocol/ |
| D | gbl_efi_os_configuration.rs | 64 pub fn fixup_bootconfig(&self, bootconfig: &[u8], fixup: &mut [u8]) -> Result<usize> { in fixup_bootconfig() 128 _: *mut usize, in fixup_kernel_commandline_no_op() 163 _: *mut usize, in fixup_kernel_commandline_provided() 205 _: *mut usize, in fixup_kernel_commandline_error() 234 fixup_size: *mut usize, in fixup_kernel_commandline_buffer_too_small() 266 _: usize, in fixup_bootconfig_no_op() 268 fixup_size: *mut usize, in fixup_bootconfig_no_op() 305 bootconfig_size: usize, in fixup_bootconfig_provided() 307 fixup_size: *mut usize, in fixup_bootconfig_provided() 349 _: usize, in fixup_bootconfig_error() [all …]
|
| D | gbl_efi_fastboot_usb.rs | 40 pub fn fastboot_usb_interface_start(&self) -> Result<usize> { in fastboot_usb_interface_start() 67 pub fn fastboot_usb_receive(&self, out: &mut [u8]) -> Result<usize> { in fastboot_usb_receive() 88 pub fn fastboot_usb_send(&self, data: &[u8]) -> Result<usize> { in fastboot_usb_send() 114 pub async fn receive_packet(&self, out: &mut [u8]) -> Result<usize> { in receive_packet()
|
| D | gbl_efi_avb.rs | 104 pub fn write_rollback_index(&self, index_location: usize, rollback_index: u64) -> Result<()> { in write_rollback_index() 121 pub fn read_persistent_value(&self, name: &CStr, value: &mut [u8]) -> Result<usize> { in read_persistent_value() 212 public_key_len: usize, in validate_vbmeta_public_key_status_provided() 214 _metadata_len: usize, in validate_vbmeta_public_key_status_provided() 252 _public_key_len: usize, in validate_vbmeta_public_key_error_handled() 254 _metadata_len: usize, in validate_vbmeta_public_key_error_handled() 401 index_location: usize, in read_rollback_index_returns_value() 428 _: usize, in read_rollback_index_error_handled() 450 index_location: usize, in write_rollback_index_success() 475 _: usize, in write_rollback_index_error_handled() [all …]
|
| D | simple_network.rs | 55 pub fn initialize(&self, extra_rx_buf_size: usize, extra_tx_buf_size: usize) -> Result<()> { in initialize() 138 header_size: usize, in transmit() 166 header_size: Option<&mut usize>, in receive() 167 buf_size: Option<&mut usize>, in receive()
|
| D | gbl_efi_fastboot.rs | 55 ) -> Result<usize> { in get_var() 97 len: usize, in get_var_all() 139 pub fn run_oem_function(&self, cmd: &str, buffer: &mut [u8]) -> Result<usize> { in run_oem_function() 227 pub fn update_local_session(&self, ctx: &LocalSessionContext, out: &mut [u8]) -> Result<usize> { in update_local_session() 358 num_args: usize, in test_get_var() 360 out_size: *mut usize, in test_get_var()
|
| D | dt_fixup.rs | 77 buffer_size: *mut usize, in fixup_device_tree_updated() 111 buffer_size: *mut usize, in fixup_device_tree_fixup_buffer_too_small()
|
| D | riscv.rs | 34 pub fn get_boot_hartid(&self) -> Result<usize> { in get_boot_hartid()
|
| D | gbl_efi_image_loading.rs | 126 unsafe fn release(address: usize) { in release() 208 ) -> Result<usize> { in get_verify_partitions() 323 number_of_partitions: *mut usize, in test_proto_get_partitions_count() 356 _: *mut usize, in test_proto_get_partitions_count_error() 384 number_of_partitions: *mut usize, in test_proto_get_partitions_len_and_value() 435 number_of_partitions: *mut usize, in test_proto_get_partitions_zero_len() 469 number_of_partitions: *mut usize, in test_proto_get_partitions_less_than_buffer() 509 number_of_partitions: *mut usize, in test_proto_get_partitions_name_max() 573 number_of_partitions: *mut usize, in test_proto_get_partitions() 621 number_of_partitions: *mut usize, in test_proto_get_partitions_empty() [all …]
|
| /bootable/libbootloader/gbl/libc/src/ |
| D | lib.rs | 48 pub fn strlen(s: *const c_char) -> usize; in strlen() 70 pub unsafe extern "C" fn gbl_malloc(request_size: usize, alignment: usize) -> *mut c_void { in gbl_malloc() 130 pub unsafe extern "C" fn gbl_free(ptr: *mut c_void, alignment: usize) { in gbl_free() 207 pub unsafe extern "C" fn strnlen(s: *const c_char, maxlen: usize) -> usize { in strnlen()
|
| D | strchr.rs | 68 fn do_strchr(input: &str, c: char) -> Option<usize> { in do_strchr() 82 fn do_strrchr(input: &str, c: char) -> Option<usize> { in do_strrchr()
|
| /bootable/libbootloader/gbl/libfastboot/src/ |
| D | local_session.rs | 22 async fn update(&mut self, buf: &mut [u8]) -> Result<usize>; in update() 29 async fn receive_packet(&mut self, out: &mut [u8]) -> Result<usize> { in receive_packet()
|
| /bootable/libbootloader/gbl/libgbl/src/ |
| D | decompress.rs | 79 fn decompress_lz4(content: &[u8], out: &mut [u8]) -> Result<usize> { in decompress_lz4() 101 fn decompress_gzip(content: &[u8], out: &mut [u8]) -> Result<usize> { in decompress_gzip() 126 ) -> Result<usize> { in decompress_kernel()
|
| /bootable/libbootloader/gbl/smoltcp/ |
| D | heapless.rs | 41 pub fn capacity(&self) -> usize { in capacity() 88 pub fn capacity(&self) -> usize { in capacity()
|
| /bootable/libbootloader/gbl/libgbl/src/fastboot/ |
| D | pin_fut_container.rs | 49 fn size(&mut self) -> usize { in size() 59 fn poll_all(&mut self) -> usize { in poll_all()
|
| D | sparse.rs | 243 fn get_mut<L: TryInto<usize>, R: TryInto<usize>>( in get_mut() 252 fn get<L: TryInto<usize>, R: TryInto<usize>>( in get() 271 fn to_usize<T: TryInto<usize>>(val: T) -> Result<usize, Error> { in to_usize() 276 fn usize_add<L: TryInto<usize>, R: TryInto<usize>>(lhs: L, rhs: R) -> Result<usize, Error> { in usize_add()
|
| /bootable/libbootloader/gbl/libefi/mocks/ |
| D | protocol.rs | 255 _index_location: usize, in write_rollback_index() 262 pub fn read_persistent_value(&self, _name: &CStr, _value: &mut [u8]) -> Result<usize> { in read_persistent_value() 304 ) -> Result<usize> { in get_var()
|
| /bootable/libbootloader/gbl/libgbl/src/android_boot/ |
| D | load.rs | 81 ) -> Result<Range<usize>, Error> { in page_aligned_range() 631 fn slice_offset(buf: &[u8], src: &[u8]) -> usize { in slice_offset() 644 fn aligned_tail_offset(buffer: &[u8], size: usize, align: usize) -> Result<usize, Error> { in aligned_tail_offset() 654 size: usize, in split_aligned_tail() 655 align: usize, in split_aligned_tail() 709 ) -> Result<(&'c mut [u8], &'c mut [u8], usize), Error> { in relocate_kernel() argument 718 fn offset_range(lhs: Range<usize>, off: usize) -> Range<usize> { in offset_range()
|
| /bootable/libbootloader/gbl/libefi/src/ |
| D | lib.rs | 269 size: usize, in allocate_pool() 527 pub fn get_variable(&self, guid: &EfiGuid, name: &str, out: &mut [u8]) -> Result<usize> { in get_variable() 744 map_key: usize, in new() 745 descriptor_size: usize, in new() 757 pub fn map_key(&self) -> usize { in map_key() 767 pub fn len(&self) -> usize { in len() 884 pub(crate) fn new(handles: *mut EfiHandle, len: usize, efi_entry: &'a EfiEntry) -> Self { in new() 1102 num_handles: *mut usize, in locate_handle_buffer() 1138 memory_map_size: *mut usize, in get_memory_map() 1140 map_key: *mut usize, in get_memory_map() [all …]
|
| D | local_session.rs | 48 async fn update(&mut self, buf: &mut [u8]) -> Result<usize> { in update()
|
| /bootable/libbootloader/gbl/libasync/src/ |
| D | cyclic_executor.rs | 61 pub fn num_tasks(&self) -> usize { in num_tasks()
|
| /bootable/libbootloader/gbl/libbootparams/src/ |
| D | bootconfig.rs | 49 pub fn remaining_capacity(&self) -> usize { in remaining_capacity() 75 F: FnOnce(&[u8], &mut [u8]) -> Result<usize>, in add_with()
|
| /bootable/libbootloader/gbl/libefi_types/src/ |
| D | lib.rs | 43 pub fn get_str<'a>(&self, buffer_utf8: &'a mut [u8]) -> Result<&'a str, usize> { in get_str() argument
|