don't need to assign anything to cbuf when we make it
hold a reference to the memmap
Check return values when getting buffers