Records
Functions
-
BlockServer * block_server_new (const PartitionInfo * partition_info, Callbacks callbacks)# Safety
All callbacks in `callbacks` must be safe.
-
void block_server_thread (const void * arg)# Safety
`arg` must be the value passed to the `start_thread` callback.
-
void block_server_thread_delete (const void * arg)Called to delete the thread. This *must* always be called, regardless of whether starting the
thread is successful or not.
# Safety
`arg` must be the value passed to the `start_thread` callback.
-
void block_server_delete (BlockServer * block_server)# Safety
`block_server` must be valid.
-
void block_server_delete_async (BlockServer * block_server, ShutdownCallback callback, void * arg)# Safety
`block_server` must be valid.
-
void block_server_serve (const BlockServer * block_server, zx_handle_t handle)Serves the Volume protocol for this server. `handle` is consumed.
# Safety
`block_server` and `handle` must be valid.
-
void block_server_session_run (const Session * session)# Safety
`session` must be valid.
-
void block_server_session_release (const Session * session)# Safety
`session` must be valid.
-
void block_server_send_reply (const BlockServer * block_serverRequestId request_idzx_status_t status)# Safety
`block_server` must be valid.