src/vmm/abi.bend checks
raw source on the hub · import 0xd595fdc5ca98e64512c8df6e3130c270/src/vmm/abi.bend as Abi
2 imports
import Base import ../lib/u64.bend as U
Types
type RawExit source · line 17 · raw
Data
A vCPU exit as Hypervisor.framework reports it, decoded no further.
Exception@esr:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @far:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @ipa:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @x0:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @x1:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @x2:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @x3:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @xt:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> RawExit
An exception to EL2. esr is ESR_EL2, far is FAR_EL2, ipa the faulting guest physical address (data and instruction aborts). x0..x3 are the guest's X0..X3 at the exit (HVC/SMC arguments). xt is the value of the register ESR.ISS.SRT names when ISV is set (a store's data), else zero.
VtimerActivatedRawExit
The guest's virtual timer fired (HV_EXIT_REASON_VTIMER_ACTIVATED).
CanceledRawExit
hv_vcpus_exit forced the exit.
UnknownExit@reason:U32 -> RawExit
Any other HV_EXIT_REASON value.
type PowerOp source · line 30 · raw
Data
PowerOffPowerOp
PowerResetPowerOp
type NetCmd source · line 37 · raw
Data
Host network commands from the NAT (src/net/nat.bend). Connections are numbered by the NAT; addresses are IPv4 as U32 (10.0.2.2 = 167772674). The host maps 10.0.2.2 to its own loopback and 10.0.2.3 to its DNS resolver.
TcpConnect@conn:U32 -> @ip:U32 -> @port:U32 -> NetCmd
TcpSend@conn:U32 -> @bytes:List<&2, U32> -> NetCmd
TcpShutdown@conn:U32 -> NetCmd
Half-close: no more data from the guest (shutdown(SHUT_WR)).
TcpClose@conn:U32 -> NetCmd
Full close: forget the connection.
UdpSend@sport:U32 -> @ip:U32 -> @port:U32 -> @bytes:List<&2, U32> -> NetCmd
A datagram from guest port sport to ip:port.
TcpSendStaged@conn:U32 -> @slot:U32 -> NetCmd
Sends the bytes staged on the host in slot (VmStage) and frees it.
StageDrop@slot:U32 -> NetCmd
Frees a staged slot unsent (its segment was out of order, or refused).
TcpRelease@conn:U32 -> NetCmd
The guest acknowledged all the host holds for the connection (TcpReady): the host may drop it and read on.
TcpAbort@conn:U32 -> NetCmd
Abort: the guest reset the connection. The host drops the data it has not sent yet and resets its socket at once (SO_LINGER 0).
TcpAccepted@conn:U32 -> NetCmd
The guest accepted a forwarded connection (TcpIncoming): the host reads its socket from now on.
LanSend@dst:List<&2, U32> -> @iovs:List<&2, Iov> -> NetCmd
A frame the guest sends on its LAN NIC (src/virtio/lan.bend): the pieces of guest memory, to the VM whose MAC is dst, or to every VM on the LAN when dst is [].
LanReleaseNetCmd
The frame the host held for the guest's LAN NIC went to the guest (VmLanToRam) or was dropped: the host may take the next.
type NetEvent source · line 68 · raw
Data
What the host reports back to the NAT.
TcpConnected@conn:U32 -> NetEvent
TcpRefused@conn:U32 -> NetEvent
TcpData@conn:U32 -> @bytes:List<&2, U32> -> NetEvent
TcpEof@conn:U32 -> NetEvent
The remote side finished sending (EOF).
UdpData@ip:U32 -> @port:U32 -> @dport:U32 -> @bytes:List<&2, U32> -> NetEvent
A datagram from ip:port to guest port dport.
TcpReady@conn:U32 -> @len:U32 -> NetEvent
len bytes from the remote side wait in the host's buffer for the connection (instead of TcpData when the guest takes big segments): they go to the guest by VmNetToRam, never through Bend.
TcpBlocked@conn:U32 -> NetEvent
The host holds more of the guest's data for the connection than its cap (its peer reads slowly): the NAT takes no more until TcpUnblocked.
TcpUnblocked@conn:U32 -> NetEvent
The host's pending data for the connection drained below its cap.
TcpReset@conn:U32 -> NetEvent
The host reset the connection (its peer took no data for too long).
TcpIncoming@conn:U32 -> @gport:U32 -> NetEvent
The host accepted a connection on a forwarded port (--forward) for guest port gport; conn is a fresh connection id, filed in the host's table.
TcpSynTimeout@conn:U32 -> NetEvent
A forwarded connection's SYN went unanswered for a while: the NAT sends it again or gives up.
type Iov source · line 96 · raw
Data
A piece of guest memory: len bytes at addr. Devices name the memory of a descriptor chain this way, and the host moves bytes in and out of it.
Iov@addr:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @len:U32 -> Iov
type FsOp source · line 111 · raw
Data
Host file operations for virtio-9p (src/fs/p9.bend). Paths are relative to the shared directory, "" being its root, components separated by "/", never "." or ".." (the 9p server builds them from names it validated; the host refuses anything else). Times are seconds since the Unix epoch.
FsStat@path:String -> FsOp
FsList@path:String -> @from:U32 -> @max:U32 -> FsOp
Entries of a directory, in a stable order, from index
fromon, at mostmaxof them.FsRead@path:String -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @len:U32 -> FsOp
FsWrite@path:String -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @bytes:List<&2, U32> -> FsOp
FsCreate@path:String -> @mode:U32 -> FsOp
Creates a regular file (mode: permission bits); fails if it exists.
FsMkdir@path:String -> @mode:U32 -> FsOp
FsRemove@path:String -> @dir:Bool -> FsOp
Removes a file, or an empty directory when dir is True.
FsRename@from:String -> @to:String -> FsOp
FsTruncate@path:String -> @size:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> FsOp
FsChmod@path:String -> @mode:U32 -> FsOp
FsSymlink@path:String -> @target:String -> FsOp
FsReadlink@path:String -> FsOp
FsStatfsFsOp
FsReadRam@path:String -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @iovs:List<&2, Iov> -> FsOp
Reads the file from offset straight into the pieces of guest memory, in order (FsCount: how many bytes; fewer at the end of the file).
FsWriteRam@path:String -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @iovs:List<&2, Iov> -> FsOp
Writes the pieces of guest memory, in order, to the file at offset (FsCount).
type FsAttr source · line 137 · raw
Data
A file's attributes (lstat): mode is st_mode (type and permission bits).
FsAttr@mode:U32 -> @uid:U32 -> @gid:U32 -> @nlink:U32 -> @size:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @ino:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @blocks:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @atime:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @mtime:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @ctime:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> FsAttr
type FsEntry source · line 141 · raw
Data
A directory entry: name, inode, and its type (DT_DIR 4, DT_REG 8, DT_LNK 10, ...).
FsEntry@name:String -> @ino:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @kind:U32 -> FsEntry
type FsResult source · line 144 · raw
Data
FsErr@errno:U32 -> FsResult
An errno (ENOENT 2, EACCES 13, EEXIST 17, ENOTDIR 20, EISDIR 21, EINVAL 22, ENOSPC 28, ENOTEMPTY 66 on macOS, ...).
FsOkFsResult
FsGotAttr@attr:FsAttr -> FsResult
FsBytes@bytes:List<&2, U32> -> FsResult
FsCount@n:U32 -> FsResult
FsEntries@entries:List<&2, FsEntry> -> FsResult
FsLink@target:String -> FsResult
FsStatfsOk@bsize:U32 -> @blocks:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @bfree:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @bavail:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @files:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @ffree:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> FsResult
statfs: block size, total, free and available blocks, total and free files.
type VsockCmd source · line 161 · raw
Data
Host commands from virtio-vsock (src/virtio/vsock.bend). Connections are numbered by the device for guest-initiated ones and by the host (from 2147483648 up) for host-initiated ones. The host maps guest port P on the host CID to the Unix socket "<--vsock path>_P" (Firecracker's convention).
VsConnect@conn:U32 -> @port:U32 -> VsockCmd
The guest connects to host port
port.VsSend@conn:U32 -> @bytes:List<&2, U32> -> VsockCmd
VsSendStaged@conn:U32 -> @slot:U32 -> VsockCmd
The guest's payload of a staged slot (VmStage) to the host, never through Bend; the slot is freed.
VsStageDrop@slot:U32 -> VsockCmd
A staged slot that goes nowhere (its packet was refused): freed.
VsRelease@conn:U32 -> VsockCmd
Every byte the host held for the connection (VsReady) reached the guest: the host may read more.
VsShutdown@conn:U32 -> VsockCmd
The guest will send no more.
VsClose@conn:U32 -> VsockCmd
VsAccepted@conn:U32 -> @port:U32 -> VsockCmd
The guest accepted a host-initiated connection; the host answers its client "OK <port>".
type VsockEvent source · line 180 · raw
Data
VsConnected@conn:U32 -> VsockEvent
VsRefused@conn:U32 -> VsockEvent
VsReady@conn:U32 -> @len:U32 -> VsockEvent
len bytes from the host program wait in the host's buffer for the connection: they go to the guest by VmVsToRam, never through Bend, and the buffer is refilled after VsRelease.
VsEof@conn:U32 -> VsockEvent
The host side will send no more.
VsIncoming@conn:U32 -> @port:U32 -> VsockEvent
A host client asks to connect to guest port
port(it sent "CONNECT port").VsBlocked@conn:U32 -> VsockEvent
The host program is not taking the guest's data as fast as it comes (Blocked: the guest gets no more credit) or has caught up (Unblocked).
VsUnblocked@conn:U32 -> VsockEvent
type FlashCmd source · line 198 · raw
Data
Host commands of the UEFI variable flash (src/dev/pflash.bend); offsets are within the bank.
FlashRead@off:U32 -> @size:U32 -> FlashCmd
Reads size bytes (a trapped read in read-array mode; little-endian).
FlashWrite@off:U32 -> @bytes:List<&2, U32> -> FlashCmd
FlashErase@off:U32 -> @len:U32 -> FlashCmd
Sets len bytes to 0xFF.
FlashMap@on:Bool -> FlashCmd
Maps the bank into the guest read-only (on) or unmaps it.
type Vm source · line 209 · raw
@-A:Type -> Type
A program of host effects that ends with a value of type A. Each effect applies to the vCPU whose exit is being handled, unless it names a cpu.
VmRet@-A:Type -> @value:A -> Vm<A>
VmRead@-A:Type -> @addr:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @len:U32 -> @k:(@_:List<&2, U32> -> Vm<A>) -> Vm<A>
Reads len bytes of guest memory at addr, continues with them.
VmWrite@-A:Type -> @addr:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @bytes:List<&2, U32> -> @next:Vm<A> -> Vm<A>
Writes bytes to guest memory at addr.
VmSetReg@-A:Type -> @reg:U32 -> @value:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @next:Vm<A> -> Vm<A>
Sets a register of the exiting vCPU (see Reg).
VmAdvancePc@-A:Type -> @next:Vm<A> -> Vm<A>
Moves the exiting vCPU's PC past the trapping instruction (PC += 4).
VmConsole@-A:Type -> @bytes:List<&2, U32> -> @next:Vm<A> -> Vm<A>
Writes bytes to the VM's console (the host's stdout).
VmIrq@-A:Type -> @intid:U32 -> @level:Bool -> @next:Vm<A> -> Vm<A>
Sets the level of a GIC SPI by its INTID (32..1019).
VmPower@-A:Type -> @op:PowerOp -> @next:Vm<A> -> Vm<A>
Powers the VM off or resets it, after the program ends.
VmCpuOn@-A:Type -> @cpu:U32 -> @entry:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @ctx:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @next:Vm<A> -> Vm<A>
PSCI CPU_ON: starts cpu at entry with X0 = ctx.
VmLog@-A:Type -> @msg:String -> @next:Vm<A> -> Vm<A>
A diagnostic line for the host's log (stderr), not the guest console.
VmDiskRead@-A:Type -> @disk:U32 -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @len:U32 -> @k:(@_:List<&2, U32> -> Vm<A>) -> Vm<A>
Reads len bytes of disk image
diskat byte offset; short at its end.VmDiskWrite@-A:Type -> @disk:U32 -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @bytes:List<&2, U32> -> @next:Vm<A> -> Vm<A>
Writes bytes to disk image
diskat byte offset.VmRandom@-A:Type -> @len:U32 -> @k:(@_:List<&2, U32> -> Vm<A>) -> Vm<A>
len bytes from the host's entropy source.
VmNow@-A:Type -> @k:(@_:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> Vm<A>) -> Vm<A>
Wall-clock time: seconds since the Unix epoch.
VmDiskFlush@-A:Type -> @disk:U32 -> @next:Vm<A> -> Vm<A>
Makes earlier writes to disk image
diskdurable (fsync).VmDiskDiscard@-A:Type -> @disk:U32 -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @len:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @next:Vm<A> -> Vm<A>
Frees the host's blocks of disk image
diskin [offset, offset+len): a hole that reads as zeros (virtio-blk DISCARD; advisory, never fails).VmNet@-A:Type -> @cmd:NetCmd -> @next:Vm<A> -> Vm<A>
A network command for the host's sockets.
VmFs@-A:Type -> @share:U32 -> @op:FsOp -> @k:(@_:FsResult -> Vm<A>) -> Vm<A>
A file operation on the shared directory (
sharenumbers the --share).VmVsock@-A:Type -> @cmd:VsockCmd -> @next:Vm<A> -> Vm<A>
A vsock command for the host's Unix sockets.
VmFlash@-A:Type -> @cmd:FlashCmd -> @k:(@_:U32 -> Vm<A>) -> Vm<A>
A flash command; continues with the value a FlashRead read (0 for the others).
VmDiskToRam@-A:Type -> @disk:U32 -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @iovs:List<&2, Iov> -> @next:Vm<A> -> Vm<A>
Copies disk image
diskfrom byte offset into the pieces of guest memory, in order (zeros past the image's end), on the host: no byte passes through Bend. The host does nothing when a piece leaves guest RAM.VmRamToDisk@-A:Type -> @disk:U32 -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @iovs:List<&2, Iov> -> @next:Vm<A> -> Vm<A>
Copies the pieces of guest memory, in order, to the disk from offset.
VmNetToRam@-A:Type -> @conn:U32 -> @off:U32 -> @iovs:List<&2, Iov> -> @next:Vm<A> -> Vm<A>
Copies the bytes from offset off of what the host holds for TCP connection conn (TcpReady) into the pieces of guest memory, in order. The hold stays until TcpRelease (the bytes may be sent again).
VmStage@-A:Type -> @iovs:List<&2, Iov> -> @k:(@_:U32 -> Vm<A>) -> Vm<A>
Copies the pieces of guest memory, in order, into a new host buffer (a staged slot, sent or freed later by a NetCmd); continues with its slot.
VmVsToRam@-A:Type -> @conn:U32 -> @off:U32 -> @iovs:List<&2, Iov> -> @next:Vm<A> -> Vm<A>
Copies the bytes from offset off of what the host holds for vsock connection conn (VsReady) into the pieces of guest memory, in order.
VmZeroRam@-A:Type -> @iovs:List<&2, Iov> -> @next:Vm<A> -> Vm<A>
Disk images by layout (src/disk): zeros over the pieces of guest memory.
VmLanToRam@-A:Type -> @iovs:List<&2, Iov> -> @next:Vm<A> -> Vm<A>
Copies the frame the host holds for the LAN NIC (V.LanRelease frees it) into the pieces of guest memory, in order.
VmDiskAlloc@-A:Type -> @disk:U32 -> @len:U32 -> @k:(@_:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> Vm<A>) -> Vm<A>
Grows disk image
diskby len zero bytes, starting at a multiple of len past its end; continues with that start.VmDiskCopy@-A:Type -> @src:U32 -> @soff:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @dst:U32 -> @doff:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @len:U32 -> @next:Vm<A> -> Vm<A>
Copies len bytes of disk image src at soff to disk image dst at doff (zeros past src's end).
VmInflateToRam@-A:Type -> @disk:U32 -> @off:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @clen:U32 -> @skip:U32 -> @iovs:List<&2, Iov> -> @next:Vm<A> -> Vm<A>
Inflates the raw-deflate stream of clen bytes at off in disk image
diskand copies its bytes from skip on over the pieces of guest memory (zeros past its end).VmInflateToDisk@-A:Type -> @disk:U32 -> @off:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @clen:U32 -> @dst:U32 -> @doff:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @skip:U32 -> @len:U32 -> @next:Vm<A> -> Vm<A>
Inflates that stream into disk image dst at doff: len of its bytes from skip on (zeros past its end).
VmDiskStatus@-A:Type -> @disk:U32 -> @k:(@_:U32 -> Vm<A>) -> Vm<A>
Whether a host operation on disk image
diskfailed since the last ask (1) or not (0); the ask clears it. The disk ops above answer nothing, so a device asks once its request is done.
type Op source · line 293 · raw
@-R:Type -> @-A:Type -> Type
Device code is written in Op, a continuation monad over Vm: its bind needs
no recursion, so do Op<R, A>: blocks pass Bend's termination check. R is
the type the whole exit handler finally returns (usually the machine).
Op@-R:Type -> @-A:Type -> @run:(@_:(@_:A -> Vm<R>) -> Vm<R>) -> Op<R, A>
Definitions
def Reg.pc source · line 13 · raw
U32
Register numbers used by VmSetReg: 0..30 are X0..X30, 31 is PC.
def Iov.total source · line 100 · raw
@xs:List<&2, Iov> -> U32
The total length of some pieces.
def Op.pure source · line 296 · raw
@-R:Type -> @-A:Type -> @x:A -> Op<R, A>
def Op.run source · line 299 · raw
@-R:Type -> @-A:Type -> @m:Op<R, A> -> @k:(@_:A -> Vm<R>) -> Vm<R>
def Op.bind source · line 304 · raw
@-R:Type -> @-A:Type -> @-B:Type -> @m:Op<R, A> -> @f:(@_:A -> Op<R, B>) -> Op<R, B>
def Op.finish source · line 308 · raw
@-R:Type -> @m:Op<R, R> -> Vm<R>
Ends an Op whose result is the final value.
def Op.read source · line 311 · raw
@-R:Type -> @addr:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @len:U32 -> Op<R, List<&2, U32>>
def Op.write source · line 314 · raw
@-R:Type -> @addr:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @bytes:List<&2, U32> -> Op<R, Unit>
def Op.set_reg source · line 317 · raw
@-R:Type -> @reg:U32 -> @value:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> Op<R, Unit>
def Op.advance_pc source · line 320 · raw
@-R:Type -> Op<R, Unit>
def Op.console source · line 323 · raw
@-R:Type -> @bytes:List<&2, U32> -> Op<R, Unit>
def Op.irq source · line 326 · raw
@-R:Type -> @intid:U32 -> @level:Bool -> Op<R, Unit>
def Op.power source · line 329 · raw
@-R:Type -> @op:PowerOp -> Op<R, Unit>
def Op.cpu_on source · line 332 · raw
@-R:Type -> @cpu:U32 -> @entry:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @ctx:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> Op<R, Unit>
def Op.log source · line 335 · raw
@-R:Type -> @msg:String -> Op<R, Unit>
def Op.disk_read source · line 338 · raw
@-R:Type -> @disk:U32 -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @len:U32 -> Op<R, List<&2, U32>>
def Op.disk_write source · line 341 · raw
@-R:Type -> @disk:U32 -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @bytes:List<&2, U32> -> Op<R, Unit>
def Op.disk_to_ram source · line 344 · raw
@-R:Type -> @disk:U32 -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @iovs:List<&2, Iov> -> Op<R, Unit>
def Op.ram_to_disk source · line 347 · raw
@-R:Type -> @disk:U32 -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @iovs:List<&2, Iov> -> Op<R, Unit>
def Op.net_to_ram source · line 350 · raw
@-R:Type -> @conn:U32 -> @off:U32 -> @iovs:List<&2, Iov> -> Op<R, Unit>
def Op.vs_to_ram source · line 353 · raw
@-R:Type -> @conn:U32 -> @off:U32 -> @iovs:List<&2, Iov> -> Op<R, Unit>
def Op.lan_to_ram source · line 356 · raw
@-R:Type -> @iovs:List<&2, Iov> -> Op<R, Unit>
def Op.stage source · line 359 · raw
@-R:Type -> @iovs:List<&2, Iov> -> Op<R, U32>
def Op.zero_ram source · line 362 · raw
@-R:Type -> @iovs:List<&2, Iov> -> Op<R, Unit>
def Op.disk_alloc source · line 365 · raw
@-R:Type -> @disk:U32 -> @len:U32 -> Op<R, 0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64>
def Op.disk_copy source · line 368 · raw
@-R:Type -> @src:U32 -> @soff:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @dst:U32 -> @doff:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @len:U32 -> Op<R, Unit>
def Op.inflate_to_ram source · line 371 · raw
@-R:Type -> @disk:U32 -> @off:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @clen:U32 -> @skip:U32 -> @iovs:List<&2, Iov> -> Op<R, Unit>
def Op.inflate_to_disk source · line 374 · raw
@-R:Type -> @disk:U32 -> @off:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @clen:U32 -> @dst:U32 -> @doff:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @skip:U32 -> @len:U32 -> Op<R, Unit>
def Op.disk_status source · line 377 · raw
@-R:Type -> @disk:U32 -> Op<R, U32>
def Op.random source · line 380 · raw
@-R:Type -> @len:U32 -> Op<R, List<&2, U32>>
def Op.now source · line 383 · raw
@-R:Type -> Op<R, 0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64>
def Op.disk_flush source · line 386 · raw
@-R:Type -> @disk:U32 -> Op<R, Unit>
def Op.disk_discard source · line 389 · raw
@-R:Type -> @disk:U32 -> @offset:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> @len:0xd595fdc5ca98e64512c8df6e3130c270/src/lib/u64.U64 -> Op<R, Unit>
def Op.net source · line 392 · raw
@-R:Type -> @cmd:NetCmd -> Op<R, Unit>
def Op.fs source · line 395 · raw
@-R:Type -> @share:U32 -> @op:FsOp -> Op<R, FsResult>
def Op.vsock source · line 398 · raw
@-R:Type -> @cmd:VsockCmd -> Op<R, Unit>
def Op.flash source · line 401 · raw
@-R:Type -> @cmd:FlashCmd -> Op<R, U32>