1PCI_REQUEST_REGIONS_(9)       Hardware Interfaces      PCI_REQUEST_REGIONS_(9)
2
3
4

NAME

6       pci_request_regions_exclusive - Reserved PCI I/O and memory resources
7

SYNOPSIS

9       int pci_request_regions_exclusive(struct pci_dev * pdev,
10                                         const char * res_name);
11

ARGUMENTS

13       pdev
14           PCI device whose resources are to be reserved
15
16       res_name
17           Name to be associated with resource.
18

DESCRIPTION

20       Mark all PCI regions associated with PCI device pdev as being reserved
21       by owner res_name. Do not access any address inside the PCI regions
22       unless this call returns successfully.
23
24       pci_request_regions_exclusive will mark the region so that /dev/mem and
25       the sysfs MMIO access will not be allowed.
26
27       Returns 0 on success, or EBUSY on error. A warning message is also
28       printed on failure.
29
31Kernel Hackers Manual 3.10         June 2019           PCI_REQUEST_REGIONS_(9)
Impressum