lpfc_bsg_event_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

lpfc_bsg_event_free(9) β€” Kernel API Manual energy ✨

Okay bestie, welcome to the Kernel API Manual corner for lpfc_bsg_event_free(9). It's giving tiny cleanup-function main character energy, and we're gonna read it together. 🫢


✨ NAME ✨

lpfc_bsg_event_free β€” the cleanup bestie that frees an allocated event structure. Slay, but make it teardown. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

void lpfc_bsg_event_free (struct kref *kref );

🌸 ARGUMENTS 🌸

  • kref β€” a pointer to a kref. That's literally it. That's the whole argument. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

So this one is called from kref_put. It back-casts the kref into an event structure address, then handles the cleanup: it frees any events to get, deletes associated nodes, frees any events to see, frees any data, and then frees the event itself. No cap, it's a whole little cleanup chain. πŸ§ΉπŸ’–

The wording here is doing its own thing β€” events to get and events to see are part of the original description, so we're keeping them exactly like that. Periodt.

🌈 SEE ALSO 🌈

Kernel file: ./drivers/scsi/lpfc/lpfc_bsg.c

Related-function besties, in the original order:

Catch you later, bestie β€” this page is brought to you by the ./drivers/scsi/lpfc source, dated October 2026, and the manual page name is lpfc_bsg_event_free(9). πŸ’…πŸ«Ά

πŸ“¦ where this page comes from