i3c_dev_free_ibi_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i3c_dev_free_ibi_locked(9) πŸ’…

okay so this is a page straight out of the Kernel API Manual, and honestly? she's a little cleanup queen and we stan her for it 🧹✨


✨ NAME ✨

i3c_dev_free_ibi_locked β€” frees up all the resources you need for IBI handling πŸŽ€


🌸 SYNOPSIS 🌸

void i3c_dev_free_ibi_locked (struct i3c_dev_desc *dev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device you wanna release the IBI resources on, bestie. that's the whole vibe check 🫢

πŸ’– DESCRIPTION πŸ’–

so this function's whole job β€” her main character moment β€” is de-allocating the resources that were previously allocated by i3c_device_request_ibi 😌✨

and like, important: you should call her after you've disabled IBIs with i3c_device_disable_ibi. order matters, no cap πŸ”₯


πŸ‘‘ CONTEXT πŸ‘‘

ngl this one's non-negotiable: must be called with mutex_lock(dev->desc->ibi_lock) held. held! as in already locked by you. don't come in here unlocked, that's giving undefined behaviour energy πŸ’€πŸ”’

🌈 SEE ALSO 🌈


and that's the whole page, bestie πŸ’œ this one lives in ./drivers/i3c, dated October 2026 β€” mwah, go free those IBIs responsibly πŸŽ€βœ¨

πŸ“¦ where this page comes from