The memory allocation and deallocation functions are:
Allocate kernel memory
Free kernel memory
Allocate zero-filled kernel memory
The following functions allocate and free memory intended to be used for DMA. See Direct Memory Access (DMA) Functions.
Allocate memory for DMA transfer
Free previously allocated DMA memory
The following functions allocate and free memory intended to be exported to user space. See User Space Access Functions.
Allocate page-aligned kernel memory
Free page-aligned kernel memory
Deprecated Function |
Replacement |
---|---|
ddi_iopb_alloc() |
ddi_dma_mem_alloc() |
ddi_iopb_free() |
ddi_dma_mem_free() |
ddi_mem_alloc() |
ddi_dma_mem_alloc() |
ddi_mem_free() |
ddi_dma_mem_free() |