dma_sb_unmap_area(9)
π dma_sb_unmap_area(9) β the Kernel API Manual, bestie edition π
okay so picture this: you're deep in the Kernel API Manual, section 9, and the star of the show is dma_sb_unmap_area β literally the function that unmaps an area of memory from a device dma region. yes queen, cleanup era. π§Ήβ¨
β¨ NAME β¨
dma_sb_unmap_area β Unmap an area of memory from a device dma region.
like it does exactly what it says on the tin, no cap. π«Ά
πΈ SYNOPSIS πΈ
int dma_sb_unmap_area (struct ps3_dma_region *r , dma_addr_t bus_addr ,
unsigned long len );
look at her. returns an int, takes three lil arguments, absolute icon behavior. π
π¦ ARGUMENTS π¦
rβ Pointer to astruct ps3_dma_region. this is the region bestie, the whole vibe, the main character of the operation πbus_addrβ The starting ioc bus address of the area to unmap. it's giving "where the unmapping begins" energy β¨lenβ Length in bytes of the area to unmap. how much are we unmapping? this many bytes, fr fr π
π DESCRIPTION π
This is the common dma unmap routine.
that's it. that's the description. she's short, she's sweet, she's the standard go-to unmap routine and we respect her for it. π
ngl this one's a supporting character in the ps3 dma saga, but every main character needs a bestie, iykyk. π«Ά
π SEE ALSO π
okay so here's the whole friend group, and yes you should absolutely go read all of them:
- 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_region_create_linear(9)dma_sb_region_free_linear(9)dma_sb_map_area_linear(9)ps3_mm_init(9)ps3_mm_shutdown(9)
like, the whole crew showed up. obsessed. πΈ
and that's the page babes π β brought to you by ./arch/powerpc/platforms/ps3, dated October 2026, in the 9 section of the Kernel API Manual. go unmap something responsibly, mwah πβ¨π₯
π¦ 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