sg_dma_unmark_bus_address(9)
π sg_dma_unmark_bus_address β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual entry for sg_dma_unmark_bus_address, and honestly? she's a tiny little legend. short page, big "i just cleared a flag" energy. let's get into it β¨
πΈ NAME πΈ
sg_dma_unmark_bus_address β unmark the scatterlist entry as a bus address π
like, you're undoing the marking. the un-marking. the take-it-back. we love a reversible queen.
β¨ SYNOPSIS β¨
void sg_dma_unmark_bus_address (struct scatterlist *sg );
that's it. that's the whole call. void return, so no "did it work?" drama β she simply does the thing and dips π¦
π«Ά ARGUMENTS π«Ά
sgβ SG entry. that's the scatterlist entry you're operating on, bestie. the one and only thing you hand her π
π₯ DESCRIPTION π₯
Clears the bus address mark. π
that's the whole bit, no cap. no extra steps, no secret second meaning, no hidden side quest β the bus address mark gets cleared, and that's the moment. iconic behaviour honestly. β
lowkey important vibe check: this is the counterpart to marking it in the first place β you're wiping the mark off, not doing anything else. don't go reading extra features into it π
π SEE ALSO π
Kernel file ./include/linux/scatterlist.h β go say hi, she's the source of truth π
the full scatterlist friend group, all present and accounted for, no one left out of the group chat:
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_is_swiotlb(9), sg_dma_mark_swiotlb(9), sg_phys(9), sg_virt(9), sg_init_marker(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 squad. truly a friend group that shows up for each other π§π
and that's the page!! sign-off time: this little beauty lives at ./include/linux, from October 2026, and she's part of the Kernel API Manual β so if you ever forget what she does, just remember: she clears the bus address mark. that's the whole personality and we're obsessed ππ
π¦ 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