class VmObjectDispatcher
Defined at line 27 of file ../../zircon/kernel/object/include/object/vm_object_dispatcher.h
Public Methods
zx::result<CreateStats> parse_create_syscall_flags (uint32_t flags, size_t size)
Defined at line 33 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_obj_type_t get_type ()
SoloDispatcher implementation.
Defined at line 53 of file ../../zircon/kernel/object/include/object/vm_object_dispatcher.h
zx_status_t CreateWithSsm (fbl::RefPtr<VmObject>vmo,fbl::RefPtr<StreamSizeManager>stream_size_manager,InitialMutabilityinitial_mutability,KernelHandle<VmObjectDispatcher> *handle,zx_rights_t *rights)
Defined at line 64 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
const fbl::RefPtr<VmObject> & vmo ()
Defined at line 85 of file ../../zircon/kernel/object/include/object/vm_object_dispatcher.h
zx_status_t Create (fbl::RefPtr<VmObject>vmo,uint64_tstream_size,InitialMutabilityinitial_mutability,KernelHandle<VmObjectDispatcher> *handle,zx_rights_t *rights)
Defined at line 85 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_koid_t pager_koid ()
Defined at line 86 of file ../../zircon/kernel/object/include/object/vm_object_dispatcher.h
void ~VmObjectDispatcher ()
Defined at line 126 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
void OnZeroChild ()
VmObjectChildObserver implementation.
Defined at line 133 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_status_t get_name (char (&)[32] out_name)
Defined at line 145 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_status_t set_name (const char * name, size_t len)
Defined at line 151 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
void on_zero_handles ()
Dispatcher implementation.
Defined at line 156 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx::result<fbl::RefPtr<StreamSizeManager>> stream_size_manager ()
Defined at line 568 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
ktl::pair<zx_status_t, size_t> Read (user_out_ptr<char>user_data,uint64_toffset,size_tlength)
VmObjectDispatcher own methods.
Defined at line 162 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
ktl::pair<zx_status_t, size_t> Write (user_in_ptr<const char>user_data,uint64_toffset,size_tlength,VmObject::OnWriteBytesTransferredCallbackon_bytes_transferred)
Defined at line 169 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_status_t SetSize (uint64_t )
Defined at line 178 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_status_t GetSize (uint64_t * size)
Defined at line 227 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_status_t RangeOp (uint32_top,uint64_toffset,uint64_tsize,user_inout_ptr<void>buffer,size_tbuffer_size,zx_rights_trights)
Defined at line 381 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_status_t CreateChild (uint32_toptions,uint64_toffset,uint64_tsize,boolcopy_name,fbl::RefPtr<VmObject> *child_vmo)
Defined at line 549 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_status_t SetMappingCachePolicy (arch_mmu_flags_t cache_policy)
Defined at line 489 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_info_vmo_t GetVmoInfo (zx_rights_t rights)
Defined at line 288 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
zx_status_t SetStreamSize (uint64_t )
Defined at line 296 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
uint64_t GetStreamSize ()
Returns the number of bytes in the data stream stored within the VMO.
This returns the property previously known as the content size.
Defined at line 359 of file ../../zircon/kernel/object/vm_object_dispatcher.cc
Enumerations
enum class InitialMutability
| Name | Value |
|---|---|
| kMutable | 0 |
| kImmutable | 1 |
Defined at line 30 of file ../../zircon/kernel/object/include/object/vm_object_dispatcher.h