pci_pri_supported(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pci_pri_supported β€” the kernel API manual, bestie edition

okay so this one's from the Kernel API Manual, and honestly? it's a little one-function wonder. short, sweet, and it eats. let's get into it ✨


🌸 NAME

pci_pri_supported β€” check if PRI is supported. that's it. that's the whole job. she's got one task and she slays it πŸ’…


πŸ¦‹ SYNOPSIS

bool pci_pri_supported (struct pci_dev *pdev );

literally one argument, one bool. no drama, no cap.


πŸŽ€ ARGUMENTS

  • pdev β€” the PCI device structure. this is your girl right here, the struct pci_dev you're asking about 🫢

✨ DESCRIPTION

returns true if the PRI capability is present, and false otherwise. that's the entire vibe check πŸ’–

no side quests, no hidden behaviour, no little surprises β€” she looks, she tells you yes or no, she moves on. iconic behaviour honestly πŸ‘‘


🌈 SEE ALSO

okay this is where it gets good, because there is a whole friend group of these in the kernel file ./drivers/pci/ats.c and you should absolutely know them all:

that's the whole squad fr fr β€” ATS girlies, PRI girlies, and PASID girlies all living in the same file πŸ§šβ€β™€οΈ


quick heads up bestie: this page lives under ./drivers/pci, it's dated October 2026, and it's part of the Kernel API Manual. go off, read the source, stan a PCI capability πŸ’œβ­

stay hydrated, read your kernel docs, and remember β€” true means PRI is present πŸ˜­πŸ’–

mwah πŸ’‹

πŸ“¦ where this page comes from