sg_init_marker(9)
π NAME π
okay so bestie, this page is about sg_init_marker β it initializes markers in an sg table β¨ that's the whole vibe.
(this is from the Kernel API Manual, section 9, and yes it's gonna be iconic π )
πΈ SYNOPSIS πΈ
void sg_init_marker (struct scatterlist *sgl , unsigned int nents );
like, that's literally it. no cap π«Ά
β¨ ARGUMENTS β¨
sglβ the SG table π that's the one you're marking upnentsβ the number of entries in that table π₯ count 'em
π¦ SEE ALSO π¦
okay this is the part where i list literally every sibling function so nothing gets left out, because we don't do gatekeeping here π
first up, the kernel file itself: ./include/linux/scatterlist.h β
then the whole squad, in order:
sg_next(9)sg_assign_page(9)sg_set_page(9)sg_set_folio(9)sg_set_buf(9)sg_chain(9)sg_mark_end(9)sg_unmark_end(9)sg_dma_is_bus_address(9)sg_dma_mark_bus_address(9)sg_dma_unmark_bus_address(9)sg_dma_is_swiotlb(9)sg_dma_mark_swiotlb(9)sg_phys(9)sg_virt(9)sg_alloc_table_from_pages(9)sg_page_iter_page(9)sg_page_iter_dma_address(9)for_each_sg_page(9)for_each_sg_dma_page(9)for_each_sgtable_page(9)for_each_sgtable_dma_page(9)
likeβ¦ the whole friend group fr fr π
reminder bestie: this manual lives under ./include/linux and it's dated October 2026 β screenshot it, cite it, love it π
k byeeee, go mark some markers πβ¨π
π¦ 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