struct VmoCreateInfo

Defined at line 93 of file ../../src/storage/lib/vfs/cpp/paged_vfs.h

Allocates a VMO of the given size associated with the given PagedVnode. VMOs for use with

the pager must be allocated by this method so the page requests are routed to the correct

PagedVnode.

This will register the PagedVnode for pager requests. A non-owning reference will be taken to

it. The PagedVnode is responsible for notifying this class when it is destroyed via

FreePagedVmo() to free this reference.

This function is for internal use by PagedVnode. Most callers should use

PagedVnode::EnsureCreateVmo().

|options| must be zero or a combination of ZX_VMO_RESIZABLE and ZX_VMO_TRAP_DIRTY.

Public Members

vmo vmo
uint64_t id