nx_walk_and_build(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 first nx_sg element to write.
  • sglen β€” max number of nx_sg entries 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 of sg_src.
  • src_len β€” number of bytes to walk in sg_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:


byeeee πŸ«ΆπŸ’– β€” source/version: ./drivers/crypto/nx; date: October 2026; page: nx_walk_and_build(9).

πŸ“¦ where this page comes from