---
name: "pci_find_bus"
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_find_bus"
---

# pci\_find\_bus(9)

locate PCI bus from a given domain and bus number

## NAME

pci\_find\_bus - locate PCI bus from a given domain and bus number

## SYNOPSIS

**struct pci\_bus \* pci\_find\_bus(int** *domain***, int** *busnr***);**

## ARGUMENTS

*domain*

number of PCI domain to search

*busnr*

number of desired PCI bus

## DESCRIPTION

Given a PCI bus number and domain number, the desired PCI bus is located in the global list of PCI buses. If the bus is found, a pointer to its data structure is returned. If no bus is found, **NULL** is returned.

## COPYRIGHT
