1PCI_REQUEST_REGIONS(9) Hardware Interfaces PCI_REQUEST_REGIONS(9)
2
3
4
6 pci_request_regions - Reserved PCI I/O and memory resources
7
9 int pci_request_regions(struct pci_dev * pdev, const char * res_name);
10
12 pdev
13 PCI device whose resources are to be reserved
14
15 res_name
16 Name to be associated with resource.
17
19 Mark all PCI regions associated with PCI device pdev as being reserved
20 by owner res_name. Do not access any address inside the PCI regions
21 unless this call returns successfully.
22
23 Returns 0 on success, or EBUSY on error. A warning message is also
24 printed on failure.
25
27Kernel Hackers Manual 3.10 June 2019 PCI_REQUEST_REGIONS(9)