struct SharedIobState
Defined at line 271 of file ../../zircon/kernel/object/include/object/io_buffer_dispatcher.h
Wrapper struct to allow both peers to hold a reference to the regions.
Public Members
LockDep state_lock
Array regions
Public Methods
template <typename T = const IobRegion, typename = ktl::enable_if_t<ktl::is_base_of_v<IobRegion, ktl::remove_const_t<T>>>>
T * GetRegionLocked (size_t region_index)
Reinterprets the `i`-th region as particular region type. The default
parameter `IobRegion` is always valid, and may be used to access a given
regions's discipline-agnostic interface.
Defined at line 278 of file ../../zircon/kernel/object/include/object/io_buffer_dispatcher.h
template <typename T = const IobRegion, typename = ktl::enable_if_t<ktl::is_base_of_v<IobRegion, ktl::remove_const_t<T>>>>
T * GetRegion (size_t region_index)
Defined at line 288 of file ../../zircon/kernel/object/include/object/io_buffer_dispatcher.h