class MapperSession
Defined at line 7228 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
Represents an active driver mapping session.
Public Methods
void ~MapperSession ()
void Close (CloseCallback callback)
Terminates the connection.
After calling `Close`, the client must not send any other requests.
Servers, after sending the status response, should close the connection
regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling `Close` without knowing when the close has completed or its
status.
void CreateVmo (uint64_tsize,::fuchsia::storage::block::CreateVmoOptionsoptions,CreateVmoCallbackcallback)
Creates a pager-backed VMO of `size` bytes and returns its assigned session `key`.
Page faults on this VMO are handled directly by the driver mapper.
void CloseVmo (uint64_t key)
Closes the pager-backed VMO associated with `key`.
void OpenChildSession (::fidl::InterfaceRequest< ::fuchsia::storage::block::MapperSession>session,::zx::vmomapping_vmo,uint64_tparent_key,::zx::portport,::zx::vmodelivery_queue,OpenChildSessionCallbackcallback)
Opens a child mapper session whose reads map through `parent_key` in the parent session.
When a parent session is closed, all child sessions opened from it are closed as well.
void RecordProfile (::fidl::InterfaceRequest< ::fuchsia::storage::block::Recording> recording, RecordProfileCallback callback)
Starts recording an access profile for this mapper session.
Protected Methods
void handle_unknown_method (uint64_t ordinal, bool method_has_response)
Friends
class MapperSession_Stub