sg_set_buf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the sg_set_buf(9) page from the Kernel API Manual β€” it's highkey giving tiny iconic kernel-helper energy, and we're gonna get you comfy with it πŸ’–

✨ NAME ✨

sg_set_buf - Set sg entry to point at given data. periodt, we're obsessed πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

the signature is literally this, no cap:

void sg_set_buf (struct scatterlist *sg , const void *buf , unsigned int buflen );

πŸŽ€ ARGUMENTS πŸŽ€

  • sg β€” SG entry. the main character entry we're working with πŸ‘‘
  • buf β€” Data. the actual data vibes, the whole point πŸ“
  • buflen β€” Data length. how long the data is, fr fr πŸ“

🌈 SEE ALSO 🌈

Kernel file ./include/linux/scatterlist.h β€” that's the spot, iykyk 🧚

the related-reference squad, all here and accounted for:


sign-off time 🫢 this page's source/version is ./include/linux, the date is October 2026, and it's still out here serving sg_set_buf(9) energy ✨

πŸ“¦ where this page comes from