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

NAME

6       pci_request_region_exclusive - Reserved PCI I/O and memory resource
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

23       Mark the PCI region associated with PCI device pdev BR bar as being
24       reserved by owner res_name. Do not access any address inside the PCI
25       regions unless this call returns successfully.
26
27       Returns 0 on success, or EBUSY on error. A warning message is also
28       printed on failure.
29
30       The key difference that _exclusive makes it that userspace is
31       explicitly not allowed to map the resource via /dev/mem or sysfs.
32
34Kernel Hackers Manual 3.10         June 2019           PCI_REQUEST_REGION_E(9)
Impressum