kmb_ocs_aead_dma_prepare(9)
π NAME
okay so kmb_ocs_aead_dma_prepare(9) is a Kernel API Manual girlie whose whole thing is: Do DMA mapping for AEAD processing. Thatβs the vibe. She handles the DMA mapping setup and the linked-list init for AEAD processing, and honestly? iconic. β¨
β¨ SYNOPSIS
hereβs the signature, bestie β keep it exactly like this:
int kmb_ocs_aead_dma_prepare (struct aead_request *req , u32
*src_dll_size );
No renaming, no vibing your way into a different parameter. π
π ARGUMENTS
reqβ The AEAD request being processed. Thatβs the request main character.src_dll_sizeβ Where to store the length of the data mapped into thesrc_dllOCS DMA list. Basically the spot for that length number. π
π¦ DESCRIPTION
k so this function does the following, fr fr:
- DMA map
req->srcandreq->dst - Initialize the following OCS DMA linked lists:
rctx->src_dll,rctx->dst_dll,rctx->aad_src_dllandrxtc->aad_dst_dll
yes bestie, that last one says rxtc β keep it exactly as written, donβt auto-correct it π
πΈ RETURN
0 on success, negative error code otherwise.
So: zero = she ate and left no crumbs π½οΈβ¨, negative = something went off π. Either way, thatβs the return contract.
π SEE ALSO
go read these, iykyk:
- Kernel file
./drivers/crypto/intel/keembay/keembay-ocs-aes-core.c struct ocs_aes_tctx(9)struct ocs_aes_rctx(9)
okay bye bestie π«Ά source: ./drivers/crypto/intel/keembay Β· date: October 2026 β periodt. π
π¦ 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