fc_rport_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fc_rport_destroy(9) β€” the Kernel API Manual era ✨

okay so real talk, this is the <pink>fc_rport_destroy</pink> page from the Kernel API Manual, and it's honestly such a clean little function. no notes. πŸŽ€


✨ NAME ✨

fc_rport_destroy β€” frees a remote port once the very last reference to it has been dropped 🫢 like, the port's been through it, everybody's said their goodbyes, and now it gets to rest.


πŸ¦‹ SYNOPSIS πŸ¦‹

void fc_rport_destroy (struct kref *kref );

periodt. that's the whole signature. it returns void because it's a destroy function, babe, there's nothing to report back. πŸ’€


🌸 ARGUMENTS 🌸

  • kref β€” the remote port's kref, i.e. the reference counter that just hit zero and was like "okay bestie, I'm done." this is the thing you're handing over so the port can finally be freed. πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, no cap β€” living in the kernel file ./drivers/scsi/libfc/fc_rport.c:

that's the whole roster, iykyk. πŸ”₯


anyway, that's the page!! it lives under ./drivers/scsi/libfc, and this edition is the October 2026 one β€” so go free that remote port, king, you've earned it. πŸ’œβœ¨πŸŒΈ

πŸ“¦ where this page comes from