class VmCompressionStrategy
Defined at line 91 of file ../../zircon/kernel/vm/include/vm/compression.h
Defines the interface for different compression algorithms.
Instances of this class may be accessed concurrently.
Public Methods
CompressResult Compress (const void * src, void * dst, size_t dst_limit)
void Decompress (const void * src, size_t src_len, void * dst)
Decompress the data at |src| into |dst|. The input is assumed to have been produced by
|Compress| and this method cannot fail. Similar to the input of |Compress| being assumed to be
a page size, the |dst| output here is assumed to be of page size and will be exactly filled.
No guarantee on the alignment of |src| or |dst| is provided, and the caller is free to provide
pointers with arbitrary byte alignment.
TODO(https://fxbug.dev/42138396): Consider requiring an alignment if needed by decompressors.
void Dump ()
Perform an information dump of the internal state to the debuglog.
void VmCompressionStrategy ()
Defined at line 93 of file ../../zircon/kernel/vm/include/vm/compression.h
void ~VmCompressionStrategy ()
Defined at line 94 of file ../../zircon/kernel/vm/include/vm/compression.h