class vmo

Defined at line 17 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

Inherits from object<vmo>

Functions

create

public zx_status_t create(uint64_t size, uint32_t options, vmo * result)

Defined at line 12 of file ../../zircon/system/ulib/zx/vmo.cc

create_contiguous

public zx_status_t create_contiguous(const bti & bti, size_t size, uint32_t alignment_log2, vmo * result)

Defined at line 16 of file ../../zircon/system/ulib/zx/vmo.cc

vmo

public void vmo()

Defined at line 21 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

create_physical

public zx_status_t create_physical(const resource & resource, zx_paddr_t paddr, size_t size, vmo * result)

Defined at line 21 of file ../../zircon/system/ulib/zx/vmo.cc

vmo

public void vmo(zx_handle_t value)

Defined at line 23 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

vmo

public void vmo(handle && h)

Defined at line 25 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

vmo

public void vmo(vmo && other)

Defined at line 27 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

operator=

public vmo & operator=(vmo && other)

Defined at line 29 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

read

public zx_status_t read(void * data, uint64_t offset, size_t len)

Defined at line 40 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

write

public zx_status_t write(const void * data, uint64_t offset, size_t len)

Defined at line 44 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

transfer_data

public zx_status_t transfer_data(uint32_t options, uint64_t offset, uint64_t length, vmo * src_vmo, uint64_t src_offset)

Defined at line 48 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

get_size

public zx_status_t get_size(uint64_t * size)

Defined at line 53 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

get_stream_size

public zx_status_t get_stream_size(uint64_t * size)

Defined at line 57 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

set_size

public zx_status_t set_size(uint64_t size)

Defined at line 61 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

set_stream_size

public zx_status_t set_stream_size(uint64_t size)

Defined at line 65 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

set_prop_content_size

public zx_status_t set_prop_content_size(uint64_t size)

Defined at line 69 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

get_prop_content_size

public zx_status_t get_prop_content_size(uint64_t * size)

Defined at line 73 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

create_child

public zx_status_t create_child(uint32_t options, uint64_t offset, uint64_t size, vmo * result)

Defined at line 77 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

op_range

public zx_status_t op_range(uint32_t op, uint64_t offset, uint64_t size, void * buffer, size_t buffer_size)

Defined at line 87 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

set_cache_policy

public zx_status_t set_cache_policy(uint32_t cache_policy)

Defined at line 92 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h

replace_as_executable

public zx_status_t replace_as_executable(const resource & vmex, vmo * result)

Defined at line 96 of file ../../zircon/system/ulib/zx/include/lib/zx/vmo.h