adf_dev_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… adf_dev_put(9) β€” from the Kernel API Manual

okay bestie, so this is adf_dev_put from the Kernel API Manual, and it's lowkey the "you can leave now" friend to adf_dev_get's "stay a while" πŸŽ€

✨ NAME ✨

adf_dev_put β€” decrement the accel_dev reference count πŸ¦‹

✨ SYNOPSIS ✨

void adf_dev_put (struct adf_accel_dev *accel_dev );

✨ ARGUMENTS ✨

  • accel_dev β€” pointer to the acceleration device, aka the main character you're about to sign out πŸ‘‘

✨ DESCRIPTION ✨

So here's the vibe 🌸: adf_dev_put decrements the accel_dev refcount, and if this is the last time it gets decremented during this period the accel_dev is in use, it decrements the module refcount too. Two-for-one goodbye, periodt πŸ’…

This one is meant to be used by QAT device specific drivers, iykyk πŸ”₯

✨ RETURN ✨

void β€” it gives you literally nothing back, and that's iconic of it πŸ’€

✨ SEE ALSO ✨


and that's the whole page bestie, no cap 🫢 this one ships from ./drivers/crypto/intel/qat/qat… and it's dated October 2026, so screenshot it for the group chat and slay the day πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from