Skip to main content

Module pager

Module pager 

Source

Structs§

MarkDirtyRequest
A requested generated from a ZX_PAGER_VMO_DIRTY packet.
PageInRequest
A request generated from a ZX_PAGER_VMO_READ packet.
Pager
PagerPacketReceiver
A fuchsia_async::PacketReceiver that handles pager packets and the VMO_ZERO_CHILDREN signal.
PagerPacketReceiverLock
A returnable lock held on the receiver.
PagerRange
The requested range from a pager packet. This object ensures that all pager requests receive a response.
PagerRangeChunksIter
An iterator similar to std::slice::Chunks which yields PagerRange objects. PagerRangeChunksIter will panic if it’s dropped without being fully consumed.
PagerVmoStats
Pager related statistic for a VMO.
PagerVmoStatsOptions
Options for Pager::query_vmo_stats.
VmoDirtyRange
Represents a dirty range of page aligned bytes within a pager backed VMO.

Statics§

STRONG_FILE_REFS

Traits§

PagerBacked
This is a trait for objects (files/blobs) that expose a pager backed VMO.
PagerRequestType
A trait for specializing PagerRange for different request types.

Functions§

default_page_in
A generic page_in implementation that supplies pages using block-aligned reads.

Type Aliases§

MarkDirtyRange
The requested range from a ZX_PAGER_VMO_DIRTY packet. This object must not be dropped without calling either mark_dirty or report_failure.
PageInRange
The requested range from a ZX_PAGER_VMO_READ packet. This object must not be dropped without calling either supply_pages or report_failure.
PagerPacketReceiverRegistration