---
name: "dmam_pool_create"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/dmam_pool_create"
---

# dmam\_pool\_create(9)

Managed dma\_pool\_create

## NAME

dmam\_pool\_create - Managed **dma\_pool\_create**

## SYNOPSIS

**struct dma\_pool \* dmam\_pool\_create(const char \*** *name***, struct device \*** *dev***, size\_t** *size***, size\_t** *align***, size\_t** *allocation***);**

## ARGUMENTS

*name*

name of pool, for diagnostics

*dev*

device that will be doing the DMA

*size*

size of the blocks in this pool.

*align*

alignment requirement for blocks; must be a power of two

*allocation*

returned blocks won't cross this boundary (or zero)

## DESCRIPTION

Managed **dma\_pool\_create**. DMA pool created with this function is automatically destroyed on driver detach.

## COPYRIGHT
