zpci_iov_find_parent_pf(9)
okay bestie, welcome to the zpci_iov_find_parent_pf(9) page from the Kernel API Manual π
this one is literally about finding a parent PF, no cap. letβs get into it π«Ά
πΈ NAME πΈ
zpci_iov_find_parent_pf β Find the parent PF, if any, of the given function
β¨ SYNOPSIS β¨
struct pci_dev * zpci_iov_find_parent_pf (struct zpci_bus *zbus , struct
zpci_dev *zdev );
π ARGUMENTS π
zbusβ The bus that the PCI function is on, or would be added on.zdevβ The PCI function.
π¦ DESCRIPTION π¦
okay so this function finds the parent PF, if it exists and is configured, of the given PCI function β and then it increments its refcount. iconic behavior honestly β¨
the PF is searched for on the provided bus, so the caller has to ensure that this is the correct bus to search. lowkey important, bestie π
this function may be used before adding the PCI function to a zbus. yes queen, it works pre-add π
π RETURN π
pointer to the struct pci_dev of the parent PF, or NULL if it not found. if the function is not a VF or has no RequesterID information, NULL is returned as well. so yeah β no parent PF, no VF, or no RequesterID info means you get NULL π«Ά
π SEE ALSO π
Kernel file ./arch/s390/pci/pci_iov.c
thatβs the whole vibe π source: ./arch/s390/pci, dated October 2026. stay slay, bestie π§π
π¦ 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