pci_request_...ns_exclusive(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 pci_request_selected_regions_exclusive(9) 🌸

okay bestie, welcome to the Kernel API Manual β€” yes that's the manual name, we're fancy here β€” and today's main character is a little function called pci_request_selected_regions_exclusive. say it with me: selected regions, exclusively. she's the type-A friend who books the whole restaurant section so nobody else can sit there πŸ’…


✨ NAME ✨

pci_request_selected_regions_exclusive β€” she requests regions exclusively. no sharing, no splitting the appetizer, no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

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

like look at her. returning an int, taking three args, living her truth ✨


πŸ’– ARGUMENTS πŸ’–

  • pdev β€” the PCI device you're requesting regions from. your little guy. your blorbo 🫢
  • bars β€” a bit mask of BARs to request. it's a mask, bestie, not a count β€” keywords, we're doing bitwise math here πŸ”₯
  • name β€” the name of the driver requesting the resources. put your name on the reservation, be proud πŸ‘‘

⭐ RETURN ⭐

0 on success, and a negative error code on failure. that's it, that's the whole vibe check 😭 zero means slay, negative means not slay.


🧚 SEE ALSO 🧚

first up, the source file herself: Kernel file ./drivers/pci/pci.c β€” that's where she lives, go say hi πŸ’œ

and now the entire extended friend group, no one gets left out of the group chat (this is a long list, hydrate before reading, i'm so serious):

that's the whole list, i counted, don't come for me 😀 every single one stayed in the group chat.

and that's the page!! πŸŽ€βœ¨ this beauty ships from ./drivers/pci, dated October 2026, and she answers to the name pci_request_...ns_exclusive(9) at the bottom of the page too (the header and footer are literally twins, obsessed πŸ’…). now go request your regions, exclusively, and slay πŸ¦‹πŸ’–

πŸ“¦ where this page comes from