adf_dev_put(9)
π 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 β¨
- Kernel file
./drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c adf_clean_vf_map(9)adf_devmgr_update_class_index(9)adf_devmgr_add_dev(9)adf_devmgr_rm_dev(9)adf_devmgr_pci_to_accel_dev(9)adf_dev_in_use(9)adf_dev_get(9)adf_devmgr_in_reset(9)adf_dev_started(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms