fc_fcp_complete_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fc_fcp_complete_locked(9) πŸ’–

okay so welcome to the Kernel API Manual page for fc_fcp_complete_locked(9) β€” the lil function that wraps up processing of an FCP packet. pull up a chair, bestie 🫢


🌸 NAME 🌸

fc_fcp_complete_locked β€” complete processing of a fcp_pkt with the fcp_pkt lock held. literally that's the whole name vibe ✨

✨ SYNOPSIS ✨

here's the exact signature, no cap:

void fc_fcp_complete_locked (struct fc_fcp_pkt *fsp );

πŸŽ€ ARGUMENTS πŸŽ€

  • fsp β€” the FCP packet to be completed. that's the one getting wrapped up πŸ’…

πŸ’… DESCRIPTION πŸ’…

okay so here's the important stuff: this function may sleep if a timer is pending. the packet lock must be held. the host lock must not be held. that's the lock vibe check, and it is not optional 😭

⚠️ real talk: packet lock held βœ…, host lock not held ❌, and it may sleep when a timer is pending 😴. do not fumble this.

πŸ”₯ SEE ALSO πŸ”₯

go read these besties, iykyk:


xoxo, this was fc_fcp_complete_locked(9) from the Kernel API Manual, sourced from ./drivers/scsi/libfc, dated October 2026 πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from