zx::vmo
Summary
Inheritance
Inherits from:
zx::object< vmo >
Public static attributes
|
TYPE = ZX_OBJ_TYPE_VMO
|
constexpr zx_obj_type_t
|
Public functions
|
create_child(uint32_t options, uint64_t offset, uint64_t size, vmo *result)
|
zx_status_t
|
get_prop_content_size(uint64_t *size)
|
zx_status_t
|
get_size(uint64_t *size)
|
zx_status_t
|
get_stream_size(uint64_t *size)
|
zx_status_t
|
op_range(uint32_t op, uint64_t offset, uint64_t size, void *buffer, size_t buffer_size)
|
zx_status_t
|
operator=(vmo && other)
|
|
read(void *data, uint64_t offset, size_t len)
|
zx_status_t
|
replace_as_executable(const resource & vmex, vmo *result)
|
zx_status_t
|
set_cache_policy(uint32_t cache_policy)
|
zx_status_t
|
set_prop_content_size(uint64_t size)
|
zx_status_t
|
set_size(uint64_t size)
|
zx_status_t
|
set_stream_size(uint64_t size)
|
zx_status_t
|
transfer_data(uint32_t options, uint64_t offset, uint64_t length, vmo *src_vmo, uint64_t src_offset)
|
zx_status_t
|
write(const void *data, uint64_t offset, size_t len)
|
zx_status_t
|
Public static attributes
TYPE
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_VMO
Public functions
create_child
zx_status_t create_child(
uint32_t options,
uint64_t offset,
uint64_t size,
vmo *result
)
get_prop_content_size
zx_status_t get_prop_content_size(
uint64_t *size
)
get_size
zx_status_t get_size(
uint64_t *size
)
get_stream_size
zx_status_t get_stream_size(
uint64_t *size
)
op_range
zx_status_t op_range(
uint32_t op,
uint64_t offset,
uint64_t size,
void *buffer,
size_t buffer_size
)
operator=
vmo & operator=(
vmo && other
)
read
zx_status_t read(
void *data,
uint64_t offset,
size_t len
)
replace_as_executable
zx_status_t replace_as_executable(
const resource & vmex,
vmo *result
)
set_cache_policy
zx_status_t set_cache_policy(
uint32_t cache_policy
)
set_prop_content_size
zx_status_t set_prop_content_size(
uint64_t size
)
set_size
zx_status_t set_size(
uint64_t size
)
set_stream_size
zx_status_t set_stream_size(
uint64_t size
)
transfer_data
zx_status_t transfer_data(
uint32_t options,
uint64_t offset,
uint64_t length,
vmo *src_vmo,
uint64_t src_offset
)
vmo
constexpr vmo()=default
vmo
vmo(
zx_handle_t value
)
write
zx_status_t write(
const void *data,
uint64_t offset,
size_t len
)
Public static functions
create
zx_status_t create(
uint64_t size,
uint32_t options,
vmo *result
)
create_contiguous
zx_status_t create_contiguous(
const bti & bti,
size_t size,
uint32_t alignment_log2,
vmo *result
)
create_physical
zx_status_t create_physical(
const resource & resource,
zx_paddr_t paddr,
size_t size,
vmo *result
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-27 UTC."],[],[]]