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

# pci\_request\_regions(9)

Reserved PCI I/O and memory resources

## NAME

pci\_request\_regions - Reserved PCI I/O and memory resources

## SYNOPSIS

**int pci\_request\_regions(struct pci\_dev \*** *pdev***, const char \*** *res\_name***);**

## ARGUMENTS

*pdev*

PCI device whose resources are to be reserved

*res\_name*

Name to be associated with resource.

## DESCRIPTION

Mark all PCI regions associated with PCI device *pdev* as being reserved by owner *res\_name*. Do not access any address inside the PCI regions unless this call returns successfully.

Returns 0 on success, or **EBUSY** on error. A warning message is also printed on failure.

## COPYRIGHT
