rpmsg_sg_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to rpmsg_sg_init(9) from the Kernel API Manual ✨ this one is literally: rpmsg_sg_init β€” initialize scatterlist according to cpu address location. periodt πŸ’…

🌸 SYNOPSIS 🌸

the whole call is giving one-liner energy:

void rpmsg_sg_init (struct scatterlist *sg , void *cpu_addr , unsigned int len );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • sg β€” scatterlist to fill 🫢
  • cpu_addr β€” virtual address of the buffer ✨
  • len β€” buffer length πŸ’œ

✨ DESCRIPTION ✨

okay so this is an internal function, and what it does is fill the scatterlist according to the virtual address location β€” in vmalloc or in kernel. no cap, that’s the vibe: it’s looking at where the virtual address lives and filling sg accordingly πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


source/version: ./drivers/rpmsg Β· date: October 2026 β€” byeee bestie, go fill those scatterlists responsibly πŸ«Άβœ¨πŸ’œ

πŸ“¦ where this page comes from