sg_init_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

sg_init_table β€” Initialize SG table

okay bestie, welcome to sg_init_table(9) from the Kernel API Manual ✨ this is the page where we initialize an SG table, and it’s giving kernel-core main character energy, no cap πŸ’…


🌸 SYNOPSIS 🌸

void sg_init_table (struct scatterlist *sgl , unsigned int nents );

πŸ’– ARGUMENTS πŸ’–

  • sgl β€” The SG table. literally the table itself, bestie 🫢
  • nents β€” Number of entries in table. yes ma’am, the count of entries, fr fr ✨

🚨 NOTES 🚨

okay important note, bestie: If this is part of a chained sg table, sg_mark_end should be used only on the last table part. so like… only the last table part gets that treatment, periodt πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./lib/scatterlist.c β€” that’s the spot, iykyk πŸ¦‹


mwah πŸ’‹ this lil page lives in ./lib, dated October 2026, and it’s literally sg_init_table(9), okurrr? 🫢✨

πŸ“¦ where this page comes from