Structsยง
- Balloon
- Virtio device for memory balloon inflation/deflation.
- Balloon
Queues ๐ - Represents queues & events for the balloon device.
- Balloon
Snapshot ๐ - Snapshot of the Balloon state.
- Balloon
Stat ๐ - Balloon
State ๐ - Paused
Queues ๐ - When the worker is stopped, the queues are preserved here.
- Worker
Return ๐ - Stores data from the worker when it stops so that data can be re-used when the worker is restarted.
- virtio_
balloon_ ๐config - virtio_
balloon_ ๐op - virtio_
balloon_ ๐ws
Enumsยง
Constantsยง
- DEFLATEQ ๐
- INFLATEQ ๐
- QUEUE_
SIZE ๐ - VIRTIO_
BALLOON_ ๐F_ DEFLATE_ ON_ OOM - VIRTIO_
BALLOON_ ๐F_ MUST_ TELL_ HOST - VIRTIO_
BALLOON_ ๐F_ PAGE_ REPORTING - VIRTIO_
BALLOON_ ๐F_ STATS_ VQ - VIRTIO_
BALLOON_ ๐F_ WS_ REPORTING - VIRTIO_
BALLOON_ ๐PFN_ SHIFT - VIRTIO_
BALLOON_ ๐PF_ SIZE - VIRTIO_
BALLOON_ ๐S_ AVAIL - VIRTIO_
BALLOON_ ๐S_ CACHES - VIRTIO_
BALLOON_ ๐S_ HTLB_ PGALLOC - VIRTIO_
BALLOON_ ๐S_ HTLB_ PGFAIL - VIRTIO_
BALLOON_ ๐S_ MAJFLT - VIRTIO_
BALLOON_ ๐S_ MEMFREE - VIRTIO_
BALLOON_ ๐S_ MEMTOT - VIRTIO_
BALLOON_ ๐S_ MINFLT - VIRTIO_
BALLOON_ ๐S_ NONSTANDARD_ SHMEM - VIRTIO_
BALLOON_ ๐S_ NONSTANDARD_ UNEVICTABLE - VIRTIO_
BALLOON_ ๐S_ SWAP_ IN - VIRTIO_
BALLOON_ ๐S_ SWAP_ OUT - VIRTIO_
BALLOON_ ๐WS_ OP_ CONFIG - VIRTIO_
BALLOON_ ๐WS_ OP_ REQUEST - _VIRTIO_
BALLOON_ ๐WS_ OP_ DISCARD - _VIRTIO_
BALLOON_ ๐WS_ OP_ INVALID
Functionsยง
- apply_
if_ ๐some - free_
memory ๐ - handle_
address_ ๐chain - handle_
command_ ๐tube - handle_
pending_ ๐adjusted_ responses - handle_
queue ๐ - handle_
reported_ ๐buffer - handle_
reporting_ ๐queue - handle_
stats_ ๐queue - handle_
target_ ๐reached - handle_
ws_ ๐data_ queue - handle_
ws_ ๐op_ queue - invoke_
desc_ ๐handler - parse_
balloon_ ๐stats - parse_
balloon_ ๐ws - reclaim_
memory ๐ - release_
ranges ๐ - run_
worker ๐ - send_
adjusted_ ๐response