caam_drv_ctx_update(9)
π caam_drv_ctx_update(9)
okay so this is a page from the Kernel API Manual and it's literally about caam_drv_ctx_update β yeah, the QI driver context updater. stay with me bestie, it's short and it slays π
β¨ NAME β¨
caam_drv_ctx_update β Update QI driver context π₯
πΈ SYNOPSIS πΈ
int caam_drv_ctx_update (struct caam_drv_ctx *drv_ctx , u32 *sh_desc );
not me copying this exactly, but likeβ¦ character for character, no cap π
π¦ ARGUMENTS π¦
drv_ctxβ the driver context that's getting updated, bestie. this is the thing you're swapping stuff into πsh_descβ the new shared descriptor pointer, the one that gets updated in the QI driver context. fresh pointer, who dis π
π DESCRIPTION π
So here's the vibe: you call this when the shared descriptor needs to be changed in the driver context. That's it. That's the whole plot π§
And the return situation? It returns 0 on success, or a negative error code on failure. So like β zero is good, negative is giving bad news π
fr fr, check that return value. negative error code = something did NOT go how you wanted π
β SEE ALSO β
- Kernel file
./drivers/crypto/caam/qi.h caam_drv_ctx_init(9)caam_qi_enqueue(9)caam_drv_ctx_busy(9)caam_drv_ctx_rel(9)qi_cache_alloc(9)qi_cache_free(9)
like, go read those next, iykyk π«Ά
and that's the page!! it lives over in ./drivers/crypto/caam, dated October 2026, and the header said caam_drv_ctx_update(9) on both ends like a little matching set ππ so cute, we love a consistent footer. bye bestie, go update those contexts responsibly β¨π
π¦ 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