Home
last modified time | relevance | path

Searched refs:gbl_fb (Results 1 – 3 of 3) sorted by relevance

/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dmod.rs274 fn check_var(gbl_fb: &mut GblFastboot, var: &str, args: &str, expected: &str) { in check_var()
279 gbl_fb.get_var_as_str(var, args.split(':'), &mut out[..], &mut utils).unwrap(), in check_var()
291 let mut gbl_fb = GblFastboot::new(&mut devs); in test_get_var_partition_info() localVariable
294 check_var(&mut gbl_fb, "partition-size", "boot_a", "0x2000"); in test_get_var_partition_info()
295 check_var(&mut gbl_fb, "partition-size", "boot_a:", "0x2000"); in test_get_var_partition_info()
296 check_var(&mut gbl_fb, "partition-size", "boot_a::", "0x2000"); in test_get_var_partition_info()
297 check_var(&mut gbl_fb, "partition-size", "boot_a:::", "0x2000"); in test_get_var_partition_info()
298 check_var(&mut gbl_fb, "partition-size", "boot_a:0", "0x2000"); in test_get_var_partition_info()
299 check_var(&mut gbl_fb, "partition-size", "boot_a:0:", "0x2000"); in test_get_var_partition_info()
300 check_var(&mut gbl_fb, "partition-size", "boot_a::0", "0x2000"); in test_get_var_partition_info()
[all …]
Dvars.rs30 gbl_fb: &mut GblFastboot, in get()
39 gbl_fb: &mut GblFastboot, in get_all()
76 gbl_fb: &mut GblFastboot, in get()
81 let part = gbl_fb.parse_partition(args)?; in get()
83 PARTITION_SIZE => Some(snprintf!(out, "{:#x}", gbl_fb.partition_io(part).size()).len()), in get()
91 gbl_fb: &mut GblFastboot, in get_all()
99 gbl_fb.storage().for_each_until(&mut |mut v, id| { in get_all()
133 gbl_fb: &mut GblFastboot, in get()
143 TOTAL_BLOCKS => gbl_fb.storage().get(id)?.num_blocks()?, in get()
144 BLOCK_SIZE => gbl_fb.storage().get(id)?.block_size()?, in get()
[all …]
/bootable/libbootloader/gbl/efi/src/
Dfastboot.rs130 gbl_fb: &mut GblFastboot, in fastboot_loop()
154 if fastboot.process_next_command(*usb, gbl_fb).is_err() { in fastboot_loop()
167 let _ = fastboot.run_tcp_session(&mut transport, gbl_fb); in fastboot_loop()
209 let mut gbl_fb = GblFastboot::new(&mut gpt_devices); in run_fastboot() localVariable
223 fastboot_loop(efi_entry, &mut gbl_fb, &mut fastboot, Some(socket), usb.as_mut()) in run_fastboot()
227 fastboot_loop(efi_entry, &mut gbl_fb, &mut fastboot, None, usb.as_mut()) in run_fastboot()