pub type MarkDirtyRange<T> = PagerRange<T, MarkDirtyRequest>;Expand description
The requested range from a ZX_PAGER_VMO_DIRTY packet. This object must not be dropped without
calling either mark_dirty or report_failure.
Aliased Type§
pub struct MarkDirtyRange<T> { /* private fields */ }Implementations§
Source§impl<T: PagerBacked> MarkDirtyRange<T>
impl<T: PagerBacked> MarkDirtyRange<T>
Sourcepub fn new(range: Range<u64>, file: OpenedNode<T>) -> Self
pub fn new(range: Range<u64>, file: OpenedNode<T>) -> Self
Constructs a new MarkDirtyRange<T>. range must be page aligned.
Sourcepub fn dirty_pages(self) -> Result<(), Status>
pub fn dirty_pages(self) -> Result<(), Status>
Allows the kernel to dirty this range of pages. See ZX_PAGER_OP_DIRTY for more
information.