pci_request_...cted_regions(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ pci_request_...cted_regions(9) β€” Kernel API Manual πŸŽ€

okay bestie, this is the pci_request_...cted_regions(9) page from the Kernel API Manual, and yes the title is doing its own little truncated thing. iykyk. lowkey iconic PCI resource-reservation business ahead. πŸ’–

✨ NAME ✨

pci_request_selected_regions β€” Reserve selected PCI I/O and memory resources. no cap, that's the whole vibe: selected resources get reserved. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

int pci_request_selected_regions (struct pci_dev *pdev , int bars ,
       const char *name );

🌸 ARGUMENTS 🌸

  • pdev β€” PCI device whose resources are to be reserved. this is the main-character device you're doing all this for. πŸ‘‘
  • bars β€” Bitmask of BARs to be requested. literally a bitmask, so please treat it with the respect a bitmask deserves. πŸŽ€
  • name β€” Name of the driver requesting the resources. put your driver's name here so everyone knows who's asking. πŸ’…

πŸ’œ RETURN πŸ’œ

0 on success, negative error code on failure. that's it: success is 0, failure is a negative error code. periodt. ✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/pci/pci.c

here's the full SEE ALSO roll call, every single one, no skips, fr fr:


and that's the page, bestie πŸ’… this one comes from ./drivers/pci, dated October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from