class IobRegionIdAllocator
Defined at line 213 of file ../../zircon/kernel/object/include/object/io_buffer_dispatcher.h
Represents ZX_IOB_DISCIPLINE_TYPE_ID_ALLOCATOR.
Public Methods
ktl::span<ktl::byte> mediated_bytes ()
Returns a view into the whole kernel-mapped region.
Defined at line 224 of file ../../zircon/kernel/object/include/object/io_buffer_dispatcher.h
zx::result<> Init ()
When mediated access is requested, this initializes the ID allocator
container and pins and maps the whole region mapping for reliable future
access. This must be called before other methods, even in the
non-mediated cases.
Defined at line 502 of file ../../zircon/kernel/object/io_buffer_dispatcher.cc
zx::result<uint32_t> AllocateId (IobEndpointId id, user_in_ptr<const ktl::byte> blob_ptr, size_t blob_size)
Defined at line 525 of file ../../zircon/kernel/object/io_buffer_dispatcher.cc