rpmsg_sg_init(9)
π 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 π₯
- Kernel file
./drivers/rpmsg/virtio_rpmsg_bus.c struct virtproc_info(9)struct rpmsg_hdr(9)struct virtio_rpmsg_channel(9)__ept_release(9)__rpmsg_destroy_ept(9)rpmsg_send_offchannel_raw(9)
source/version: ./drivers/rpmsg Β· date: October 2026 β byeee bestie, go fill those scatterlists responsibly π«Άβ¨π
π¦ 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