Trait guestmem::LockedRange
source · pub trait LockedRange {
// Required methods
fn push_sub_range(&mut self, sub_range: &[AtomicU8]);
fn pop_sub_range(&mut self) -> Option<(*const AtomicU8, usize)>;
}
Expand description
Represents a range of locked guest pages as an ordered list of the VA sub-ranges to which the guest pages are mapped. The range may only partially span the first and last page and must fully span all intermediate pages.
Required Methods§
sourcefn push_sub_range(&mut self, sub_range: &[AtomicU8])
fn push_sub_range(&mut self, sub_range: &[AtomicU8])
Adds a sub-range to this range.