struct Channel

Defined at line 39 of file ../../src/devices/bin/driver_runtime/channel.h

Public Methods

zx_status_t Create (uint32_t options, fdf_handle_t * out0, fdf_handle_t * out1)

fdf_channel_t implementation

Defined at line 34 of file ../../src/devices/bin/driver_runtime/channel.cc

zx_status_t Write (uint32_t options, fdf_arena_t * arena, void * data, uint32_t num_bytes, zx_handle_t * handles, uint32_t num_handles)

Defined at line 108 of file ../../src/devices/bin/driver_runtime/channel.cc

zx_status_t Read (uint32_t options, fdf_arena_t ** out_arena, void ** out_data, uint32_t * out_num_bytes, zx_handle_t ** out_handles, uint32_t * out_num_handles)

Defined at line 179 of file ../../src/devices/bin/driver_runtime/channel.cc

zx_status_t WaitAsync (struct fdf_dispatcher * dispatcher, fdf_channel_read_t * channel_read, uint32_t options)

Defined at line 211 of file ../../src/devices/bin/driver_runtime/channel.cc

zx_status_t CancelWait ()

Defined at line 378 of file ../../src/devices/bin/driver_runtime/channel.cc

zx_status_t Call (uint32_t options, zx_time_t deadline, const fdf_channel_call_args_t * args)

Defined at line 285 of file ../../src/devices/bin/driver_runtime/channel.cc

void Close ()

We disable lock analysis here as it doesn't realize the lock is shared

when trying to access the peer's internals.

Make sure to acquire the lock before accessing class members or calling

any _Locked class methods.

Defined at line 427 of file ../../src/devices/bin/driver_runtime/channel.cc