zpci_bus_release(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ zpci_bus_release(9) πŸ‘‘

Welcome to this Kernel API Manual page, bestie. We're talking about the function that un-initializes resources associated with the zbus and free memory. It's giving cleanup era. πŸ’…


πŸ’– NAME πŸ’–

zpci_bus_release β€” Un-initialize resources associated with the zbus and free memory.

✨ SYNOPSIS ✨

void zpci_bus_release (struct kref *kref );

No cap, that's the whole signature. ✨

πŸŽ€ ARGUMENTS πŸŽ€

  • kref β€” this is a refcount * that's part of struct zpci_bus. That's the little refcount bestie it needs. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so listen: this one MUST be called with zbus_list_lock held. But here's the plot twist β€” the lock is released during run of the function. So yeah, you come in holding the lock, and the function lets it go while it's doing its thing. Not me being dramatic, that's literally the description. πŸ’€

🌸 SEE ALSO 🌸

  • Kernel file ./arch/s390/pci/pci_bus.c β€” go peek at the source, iykyk.
  • zpci_bus_get_next(9) β€” another manual page in the lineup. πŸ¦‹

That's the whole vibe. source/version: ./arch/s390/pci Β· date: October 2026. Mwah, bestie πŸ’‹πŸŽ€

πŸ“¦ where this page comes from