ubi_sgl_init(9)
okay so bestie, welcome to ubi_sgl_init(9) β yes, thatβs the page title β straight outta the Kernel API Manual π
this one is short, but it still matters, so letβs get into it π«Ά
π NAME π
ubi_sgl_init β initialize an UBI scatter gather list data structure. periodt β¨
β¨ SYNOPSIS β¨
void ubi_sgl_init (struct ubi_sgl *usgl );
π ARGUMENTS π
usglβ the UBI scatter gather struct itself, no cap π¦
π¦ DESCRIPTION π¦
Please note, fr fr: you still have to use sg_init_table or any adequate function to initialize the underlying struct scatterlist. this function is not gonna do that part for you, bestie π
so likeβ¦ yes, initialize the UBI scatter-gather struct. no, do not skip initializing the underlyingstruct scatterlistwithsg_init_tableor any adequate function. both things, okay? π
π SEE ALSO π
- Kernel file
./include/linux/mtd/ubi.h struct ubi_volume_info(9)struct ubi_sgl(9)struct ubi_device_info(9)
mwah π thatβs the whole page β source/version is ./include/linux/mtd, date is October 2026, and the page is ubi_sgl_init(9) πβ¨
π¦ 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