pci_iov_bus_range(9)
π pci_iov_bus_range(9) β like, the Kernel API Manual, bestie β¨
Okay so real talk, this is pci_iov_bus_range from the Kernel API Manual and it's lowkey one of those tiny helper functions that eats π
πΈ NAME πΈ
pci_iov_bus_range β find the bus range used by a Virtual Function, no cap π¦
β¨ SYNOPSIS β¨
int pci_iov_bus_range (struct pci_bus *bus );
That's it. That's the whole vibe check. π
π«Ά ARGUMENTS π«Ά
busβ the PCI bus, bestie. That's the one. Literally the PCI bus. π
π DESCRIPTION π
So what it does is: it returns the max number of buses used by Virtual Functions β and yeah, that count excludes the current one, so don't come for me when the number's one less than you expected πβ¨
That's genuinely the whole function. Short king behavior fr fr. π§
π₯ SEE ALSO π₯
Kernel file ./drivers/pci/iov.c β go read it, iykyk π
pci_iov_get_pf_drvdata(9)pci_iov_init(9)pci_iov_release(9)pci_iov_remove(9)pci_iov_update_resource(9)pci_sriov_resource_alignment(9)pci_restore_iov_state(9)pci_vf_drivers_autoprobe(9)pci_enable_sriov(9)pci_disable_sriov(9)pci_num_vf(9)pci_vfs_assigned(9)pci_sriov_set_totalvfs(9)pci_sriov_get_totalvfs(9)pci_sriov_configure_simple(9)pci_iov_vf_bar_set_size(9)pci_iov_vf_bar_get_sizes(9)
That's the whole friend group, go say hi to all of them π«Άπ
mwah π this page lives in ./drivers/pci, dated October 2026 β iconic of it, honestly. stay hydrated, read your manpages, and slay β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms