__scmi_xfer_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __scmi_xfer_put β€” NAME πŸ’–

okay so this is from the Kernel API Manual and it's genuinely just… the cleanup girlie of the SCMI driver world. __scmi_xfer_put β€” Release a message. that's the whole vibe. u give it back, it goes home. πŸŽ€


✨ SYNOPSIS ✨

void __scmi_xfer_put (struct scmi_xfers_info *minfo , struct scmi_xfer
*xfer );

like literally two args, no return value, she just does her thing and dips. πŸ’…


🌸 ARGUMENTS 🌸

  • minfo β€” pointer to the Tx/Rx Message management info, based on channel type. bestie this is the little bookkeeping hub that knows where all the messages live, depends on what kind of channel u got πŸ¦‹
  • xfer β€” the message that was reserved by scmi_xfer_get. yes, the one u borrowed earlier. time to give it back, no keeping it, that's not cute πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜• β€” after it does a refcount check, it possibly releases an xfer. "possibly" is doing a lot of work there and honestly iconic of her: she's not gonna free something that's still being held by somebody else, that would be a whole mess.

when she does go through with it, here's the full routine:

  • clearing the token slot ✨
  • removing xfer from pending_xfers β€” ur not pending anymore bestie, u graduated πŸŽ“
  • putting it back into free_xfers β€” home again, home again 🏠

and the important technical bit, no cap: this holds a spinlock to maintain integrity of internal data structures. so like, don't be weird about it, the lock is load-bearing fr fr. πŸ”’


πŸ¦‹ SEE ALSO πŸ¦‹

okay this list is LONG, like genuinely a whole group chat of related functions, but we're listing every single one because we don't skip people in this house πŸ’–


ngl the fact that there's both scmi_xfer_put energy AND scmi_xfer_raw_put energy in that list… sisters are doing it for themselves πŸ’…

and that's the whole page bestie!! no notes, she ate, periodt 🫢 this lil masterpiece lives over in ./drivers/firmware/arm_scmi and dated October 2026 β€” yeah, future girlie behaviour, we love to see it πŸ‘‘β­

πŸ“¦ where this page comes from