sg_dma_unmark_bus_address(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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