Space or buffer allocation for DMA transfers