create_multi_sg(9)
π create_multi_sg β the Kernel API Manual, bestie edition π
okay so this is a page from the Kernel API Manual (that's the manual name, iykyk) and honestly? it's short but it ate. let's get into it β¨
β¨ NAME β¨
create_multi_sg β makes a whole bunch of sg entries for you, each one carrying buflen worth of data, pulled straight out of the source sglist π¦
πΈ SYNOPSIS πΈ
struct scatterlist * create_multi_sg (struct scatterlist *to_sg ,
struct scatterlist *from_sg ,
int buflen );
like, that's the whole vibe. one function call, three args, returns a pointer. periodt π
π ARGUMENTS π
to_sgβ the destination SG list, aka where the good stuff is going πfrom_sgβ the source SG list, aka where the good stuff is coming from π«Άbuflenβ the data length, like how much data, in length units πΈ
π DESCRIPTION π
it returns the next free entry in the destination SG list. that's literally it, that's the whole description, no cap π
like β create_multi_sg does its thing, and what you get back is the pointer to the next slot that's still up for grabs in to_sg. main character energy honestly β¨
π SEE ALSO π
so there's a lot of friends in this little friend group, and they all live in the kernel file ./drivers/crypto/cavium/nitrox/nitrox_req.h π§ β go say hi to:
struct gphdr(9)union se_req_ctrl(9)struct se_crypto_request(9)struct crypto_keys(9)struct auth_keys(9)struct flexi_crypto_context(9)struct nitrox_aead_rctx(9)struct nitrox_rfc4106_rctx(9)union pkt_instr_hdr(9)union pkt_hdr(9)union slc_store_info(9)struct nps_pkt_instr(9)struct aqmq_command_s(9)struct ctx_hdr(9)struct nitrox_softreq(9)create_single_sg(9)β the sibling!! the solo version!! the one-things π₯Ή
and that's the whole page bestie, nothing more to read π
source: ./drivers/crypto/cavium/nitrox Β· date: October 2026 β mwah, sending you off with a create_multi_sg(9) and a kiss ππβ
π¦ 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