class KernelAspaceAllocator
Defined at line 19 of file ../../zircon/kernel/lib/percpu_writer/include/lib/percpu_writer/kernel_aspace_allocator.h
SpscBuffer requires us to specify how the underlying memory is managed -- it abstracts over a
buffer provided by userspace or the kernel. Since we're writing to buffers in the kernel, we
provide an allocator backed by a VmAspace.
Public Methods
ktl::byte * Allocate (uint32_t size, const char * buffer_name)
Defined at line 12 of file ../../zircon/kernel/lib/percpu_writer/allocator.cc
void Free (ktl::byte * ptr)
Defined at line 23 of file ../../zircon/kernel/lib/percpu_writer/allocator.cc