Home
last modified time | relevance | path

Searched defs:Ops (Results 1 – 4 of 4) sorted by relevance

/bootable/libbootloader/gbl/libabr/src/
Dlib.rs39 pub trait Ops { interface
52 impl Ops for [u8; ABR_DATA_SIZE] { impl
458 fn save_metadata(abr_ops: &mut dyn Ops, abr_data: &mut AbrData) -> Result<()> { in save_metadata()
466 abr_ops: &mut dyn Ops, in save_metadata_if_changed()
480 pub fn get_boot_slot(abr_ops: &mut dyn Ops, update_metadata: bool) -> (SlotIndex, bool) { in get_boot_slot()
550 pub fn mark_slot_active(abr_ops: &mut dyn Ops, slot_index: SlotIndex) -> Result<()> { in mark_slot_active()
588 pub fn mark_slot_unbootable(abr_ops: &mut dyn Ops, slot_index: SlotIndex) -> Result<()> { in mark_slot_unbootable()
602 pub fn mark_slot_successful(abr_ops: &mut dyn Ops, slot_index: SlotIndex) -> Result<()> { in mark_slot_successful()
636 pub fn get_slot_info(abr_ops: &mut dyn Ops, slot_index: SlotIndex) -> Result<SlotInfo> { in get_slot_info()
660 pub fn set_one_shot_recovery(abr_ops: &mut dyn Ops, enable: bool) -> Result<()> { in set_one_shot_recovery()
[all …]
/bootable/libbootloader/gbl/efi/src/
Dops.rs154 pub struct Ops<'a, 'b> { struct
161 impl<'a, 'b> Ops<'a, 'b> { argument
251 impl Write for Ops<'_, '_> { implementation
258 impl<'a, 'b, 'd> GblOps<'b, 'd> for Ops<'a, 'b> { implementation
Dandroid_boot.rs33 ops: &mut Ops, in efi_android_load()
Dfastboot.rs241 pub fn fastboot(efi_gbl_ops: &mut Ops, bootimg_buf: &mut [u8]) -> Result<GblFastbootResult> { in fastboot()