dma_sb_region_free_linear(9)
π dma_sb_region_free_linear (9) β from the Kernel API Manual, bestie
Okay so real talk, this one lives in the Kernel API Manual, section 9, and the whole vibe is "cleanup era." It's giving closing the tab on a whole DMA mapping. π§Ήβ¨
πΈ NAME πΈ
dma_sb_region_free_linear β bestie, this is the one that frees a linear dma mapping for a device. That's it, that's the whole job. π
π¦ SYNOPSIS π¦
int dma_sb_region_free_linear (struct ps3_dma_region *r );
Returns an int, takes one pointer, slays. π
β¨ ARGUMENTS β¨
rβ a pointer to astruct ps3_dma_region. Just the pointer, nothing else, no extras, no add-ons. π«Ά
π₯ DESCRIPTION π₯
Picture this: this routine unmaps all mapped areas and then frees the HV dma region. That's the whole glow-up β everything gets unhooked, then the region itself gets let go. No cap. π
Like, it's the "okay we're done here, everyone out of the pool" of functions. π
π SEE ALSO π
Glow-ups that live in the same kernel file, ./arch/powerpc/platforms/ps3/mm.c:
struct mem_region(9)struct map(9)ps3_mm_phys_to_lpar(9)ps3_mm_vas_create(9)ps3_mm_vas_destroy(9)ps3_mm_region_create(9)ps3_mm_region_destroy(9)dma_sb_lpar_to_bus(9)dma_sb_map_pages(9)dma_sb_region_create(9)dma_sb_map_area(9)dma_sb_unmap_area(9)dma_sb_region_create_linear(9)dma_sb_map_area_linear(9)ps3_mm_init(9)ps3_mm_shutdown(9)
π Also worth knowing: this page comes from ./arch/powerpc/platforms/ps3, and it's dated October 2026.
And that's the whole page, bestie β thanks for reading, mwah, go free some mappings responsibly. π§ππ
π¦ 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