qi_cache_free(9)
π qi_cache_free π
okay bestie, welcome to the Kernel API Manual entry for qi_cache_free β yes, it's giving kernel cleanup realness, and we're gonna get through it together. π«Άβ¨
β¨ NAME β¨
qi_cache_free β frees buffers allocated from CAAM-QI cache</p>. That's the whole gig, no cap. π
π¦ SYNOPSIS π¦
void qi_cache_free (void *obj );
π ARGUMENTS π
objβ the object that was previously allocated usingqi_cache_alloc. Basically: the thing you got fromqi_cache_allocearlier, now ready for its cleanup moment. πΈ
π DESCRIPTION π
So this gets invoked when a user of the CAAM-QI (i.e. caamalg-qi) no longer needs the buffer that was previously allocated by a qi_cache_alloc call. It's the "we're done with this buffer now" call. π§
π¨ No checking is being done β like, none. The call is a passthrough call to kmem_cache_free(...). Periodt. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/crypto/caam/qi.h
Also go peek at these icons: caam_drv_ctx_init(9), caam_qi_enqueue(9), caam_drv_ctx_busy(9), caam_drv_ctx_update(9), caam_drv_ctx_rel(9), and qi_cache_alloc(9). π
xoxo, your kernel bestie π β this page comes from ./drivers/crypto/caam and is dated October 2026. πβ
π¦ 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