spu_sg_at_offset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to spu_sg_at_offset(9) from the Kernel API Manual πŸ’– this one is lowkey a scatterlist detective: it finds the scatterlist entry at a given distance from the start of a scatterlist. no cap.

✨ SYNOPSIS ✨

int spu_sg_at_offset (struct scatterlist *sg , unsigned int skip ,
       struct scatterlist **sge , unsigned int *sge_offset );

🌸 ARGUMENTS 🌸

  • sg [in] β€” start of a scatterlist. this is the homie you're searching through 🫢
  • skip [in] β€” distance from the start of the scatterlist, in bytes. like how far into the vibe you're looking πŸ‘€
  • sge [out] β€” scatterlist entry at skip bytes from start. the result goes here ✨
  • sge_offset [out] β€” number of bytes from start of sge buffer to get to requested distance. basically the tiny offset receipt 🧾

πŸ’… RETURN πŸ’…

0 if entry found at requested distance; < 0 otherwise. that's it, that's the whole mood 😌

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ source/version: ./drivers/crypto/bcm, dated October 2026. periodt πŸŽ€

πŸ“¦ where this page comes from