acomp_request_set_src_sg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… acomp_request_set_src_sg(9) β€” straight outta the Kernel API Manual

okay so real talk, bestie, this whole page lives in the Kernel API Manual and it's about one tiny little function that does one tiny little thing, and honestly? she serves. let's get into it. πŸŽ€


✨ NAME ✨

acomp_request_set_src_sg β€” sets source scatterlist. that's it. that's the whole job. she sets the source scatterlist and she goes home. πŸ’…


🌸 SYNOPSIS 🌸

void acomp_request_set_src_sg (struct acomp_req *req , struct
       scatterlist *src , unsigned int slen );

literally just three lil params and no return value. no cap, she's a void. she gives nothing back because she's too booked and busy giving you a configured request. πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • req β€” the asynchronous compress request. this is the main character right here, the request object you're about to decorate with a source scatterlist. πŸ‘‘
  • src β€” pointer to input buffer scatterlist. yeah, the actual scatterlist, the pointer to it, the whole vibe. 🧚
  • slen β€” size of the input buffer. an unsigned int, as one does. don't forget her, she matters. ⭐

πŸ’– DESCRIPTION πŸ’–

so what does she actually do? she sets the source scatterlist required by an acomp operation. that's the whole tea. β˜•

if you've got an acomp operation that needs to know where its input source scatterlist lives, this is the function that tells it. your req gets the src with slen bytes' worth of intent, and then you can go off and actually run the compress. it's giving setup-era, it's giving preparation, it's giving "i'm not doing the work, i'm just making the work possible." πŸ™ˆ

ngl bestie, this is a setup function β€” it doesn't compress anything by itself. pair it with the rest of the acomp squad (scroll down, there are like twenty of them) before you expect any output. πŸ’€

🌈 SEE ALSO 🌈

everything is in the kernel file ./include/crypto/acompress.h β€” and the whole friend group is tagged below, fr fr:


that's the whole page, bestie. source directory ./include/crypto, dated October 2026 β€” mwah, take care of her, and remember: set your scatterlist before you compress. πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from