nx_walk_and_build(9)
π nx_walk_and_build(9) π
okay bestie, this page lives in the Kernel API Manual, and it's giving βwalk a linux scatterlist and build an nx scatterlistβ energy π β¨ no cap.
πΈ NAME πΈ
nx_walk_and_build β walk a linux scatterlist and build an nx scatterlist. That's literally its whole job, and it ate.
β¨ SYNOPSIS β¨
the signature, verbatim, because we do not mess with function signatures in this house:
struct nx_sg * nx_walk_and_build (struct nx_sg *nx_dst , unsigned int
sglen , struct scatterlist *sg_src , unsigned int start , unsigned int
*src_len );
π ARGUMENTS π
okay so here's the cast of parameters β every one of them matters, no skipping:
nx_dstβ pointer to the firstnx_sgelement to write.sglenβ max number ofnx_sgentries we're allowed to write.sg_srcβ pointer to the source linux scatterlist to walk.startβ number of bytes to fast-forward past at the beginning ofsg_src.src_lenβ number of bytes to walk insg_src.
π¦ SEE ALSO π¦
if you wanna keep reading, the manual points you at Kernel file ./drivers/crypto/nx/nx.c plus this whole friend group:
nx_hcall_sync(9)nx_build_sg_list(9)trim_sg_list(9)nx_build_sg_lists(9)nx_ctx_init(9)nx_of_init(9)nx_register_algs(9)nx_crypto_ctx_init(9)nx_crypto_ctx_exit(9)
byeeee π«Άπ β source/version: ./drivers/crypto/nx; date: October 2026; page: nx_walk_and_build(9).
π¦ 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