---
name: "hcd_buffer_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/hcd_buffer_create"
---

# hcd\_buffer\_create(9)

initialize buffer pools

## NAME

hcd\_buffer\_create - initialize buffer pools

## SYNOPSIS

**int hcd\_buffer\_create(struct usb\_hcd \*** *hcd***);**

## ARGUMENTS

*hcd*

the bus whose buffer pools are to be initialized

## CONTEXT

!**in\_interrupt**

## DESCRIPTION

Call this as part of initializing a host controller that uses the dma memory allocators. It initializes some pools of dma-coherent memory that will be shared by all drivers using that controller.

Call **hcd\_buffer\_destroy** to clean up after using those pools.

## RETURN

0 if successful. A negative errno value otherwise.

## COPYRIGHT
