Searched refs:OperationProhibited (Results 1 – 6 of 6) sorted by relevance
/bootable/libbootloader/gbl/libgbl/src/slots/ |
D | fuchsia.rs | 217 BootTarget::Recovery(RecoveryTarget::Slotted(_)) => Err(Error::OperationProhibited)?, in mark_boot_attempt() 221 return self.take_boot_token().ok_or(Error::OperationProhibited); in mark_boot_attempt() 228 Bootability::Unbootable(_) => Err(Error::OperationProhibited), in mark_boot_attempt() 235 let token = self.take_boot_token().ok_or(Error::OperationProhibited)?; in mark_boot_attempt() 239 let token = self.take_boot_token().ok_or(Error::OperationProhibited)?; in mark_boot_attempt() 271 OneShot::Continue(RecoveryTarget::Slotted(_)) => Error::OperationProhibited, in set_oneshot_status() 383 assert_eq!(sb.mark_boot_attempt(), Err(Error::OperationProhibited)); in test_slot_mark_boot_attempt() 439 assert_eq!(sb.mark_boot_attempt(), Err(Error::OperationProhibited)); in test_slot_mark_tried_recovery() 567 Err(Error::OperationProhibited) in test_set_oneshot_mistaken_recovery_slotted()
|
D | android.rs | 322 BootTarget::Recovery(RecoveryTarget::Dedicated) => Err(Error::OperationProhibited)?, in mark_boot_attempt() 327 return self.take_boot_token().ok_or(Error::OperationProhibited); in mark_boot_attempt() 337 Bootability::Unbootable(_) => Err(Error::OperationProhibited), in mark_boot_attempt() 341 let token = self.take_boot_token().ok_or(Error::OperationProhibited)?; in mark_boot_attempt() 345 let token = self.take_boot_token().ok_or(Error::OperationProhibited)?; in mark_boot_attempt() 375 Err(Error::OperationProhibited) in set_oneshot_status() 533 assert_eq!(sb.mark_boot_attempt(), Err(Error::OperationProhibited)); in test_slot_mark_boot_attempt() 591 assert_eq!(sb.set_oneshot_status(oneshot), Err(Error::OperationProhibited)); in test_set_oneshot_status_unsupported()
|
/bootable/libbootloader/gbl/libgbl/src/ |
D | error.rs | 39 OperationProhibited, enumerator 57 Error::OperationProhibited => write!(f, "Operation is prohibited"), in fmt()
|
D | slots.rs | 275 OperationProhibited, enumerator 395 Err(Error::OperationProhibited) in set_oneshot_status()
|
D | lib.rs | 255 let boot_token = BOOT_TOKEN.lock().take().ok_or(Error::OperationProhibited)?; in load_slot_interface() 258 .map_err(|_| Error::OperationProhibited.into()) in load_slot_interface() 532 let token = slot_cursor.ctx.mark_boot_attempt().map_err(|_| Error::OperationProhibited)?; in lvb_inner()
|
D | ops.rs | 123 Err(Error::OperationProhibited.into()) in load_slot_interface()
|