finish_req(9)
π finish_req(9) β Kernel API Manual π
okay so bestie, welcome to finish_req, straight out of the Kernel API Manual. this one is lowkey short but it's iconic, trust. β¨
πΈ NAME πΈ
finish_req β the little function that's used to invoke the complete callback from the requester when a request has been handled asynchronously. she's the "ok we're done here, go tell 'em" girlie π«Ά
β¨ SYNOPSIS β¨
void finish_req (struct iproc_reqctx_s *rctx , int err );
like, that's the whole signature. no notes. π
π¦ ARGUMENTS π¦
rctxβ the request context. that's her. that's the main character. πerrβ tells you whether the request was successful or not. yes ma'am, this is the vibe check for success vs. not-success. π₯
π DESCRIPTION π
Ensures that cleanup has been done for request. periodt. that's literally the whole job β making sure the cleanup already happened before we move on. π
ngl this description is short but she said what she said β cleanup = handled. don't skip it. π
π§ SEE ALSO π§
all the besties in the same kernel file, ./drivers/crypto/bcm/cipher.c β go say hi to them:
select_channel(9)spu_skcipher_rx_sg_create(9)spu_skcipher_tx_sg_create(9)handle_skcipher_req(9)handle_skcipher_resp(9)spu_ahash_rx_sg_create(9)spu_ahash_tx_sg_create(9)handle_ahash_req(9)spu_hmac_outer_hash(9)ahash_req_done(9)handle_ahash_resp(9)spu_aead_rx_sg_create(9)spu_aead_tx_sg_create(9)handle_aead_req(9)handle_aead_resp(9)spu_chunk_cleanup(9)spu_rx_callback(9)skcipher_enqueue(9)spu_no_incr_hash(9)aead_gcm_esp_setkey(9)rfc4543_gcm_esp_setkey(9)aead_ccm_esp_setkey(9)spu_functions_register(9)spu_mb_init(9)
and that's the page, bestie!! π this one's from ./drivers/crypto/bcm, dated October 2026, and yes the footer still says finish_req(9) because she's consistent like that. mwah πβ¨
π¦ 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