Mapping for buffer management