pci_epf_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pci_epf_destroy β€” destroy the created PCI EPF device ✨

Okay so real talk, bestie: this is a page straight out of the Kernel API Manual (yes, the 9 section, we're in kernel-land now 🧚) and it's literally just one tiny little function that undoes a thing. Short page, big slay. Let's get into it πŸ’…


🌸 SYNOPSIS 🌸

void pci_epf_destroy (struct pci_epf *epf );

That's it. That's the whole vibe check. It returns void, so like… nothing comes back. No error code, no status, no lil receipt. It just happens 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • epf β€” the PCI EPF device that has to be destroyed. Like, this is the exact one you're sending to the shadow realm. It's a struct pci_epf *, and it's the one thing this function wants from you. No cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

Invoke this when you need to destroy the PCI EPF device that got created by invoking pci_epf_create. That's the entire story, iykyk β€” pci_epf_create makes it, pci_epf_destroy un-makes it. Creation and destruction, main character energy on both sides πŸ˜­πŸ’–

Heads up bestie: the original page doesn't say anything about what happens if you pass in something weird, so I'm not gonna invent lore. Just destroy the thing you created and we move πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file lives at ./drivers/pci/endpoint/pci-epf-core.c β€” that's where the magic is, go read it, it's giving source-of-truth ⭐

And these icons, all in the same friend group:

Like, the whole EPF cinematic universe is right there. Go binge it 🌈


That's the page, bestie πŸŽ€ This lil masterpiece comes from ./drivers/pci/endpoint and it's dated October 2026 β€” put it in your calendar, screenshot it, frame it, whatever πŸ’œβœ¨

πŸ“¦ where this page comes from