dma_sb_map_area(9)
π NAME π
dma_sb_map_area β Map an area of memory into a device dma region. This is the dma_sb_map_area(9) page from the Kernel API Manual, bestie β welcome to the chat β¨.
β¨ SYNOPSIS β¨
int dma_sb_map_area (struct ps3_dma_region *r , unsigned long virt_addr
, unsigned long len , dma_addr_t *bus_addr , u64 iopte_flag );
π ARGUMENTS π
rβ Pointer to astruct ps3_dma_region.virt_addrβ Starting virtual address of the area to map.lenβ Length in bytes of the area to map.bus_addrβ A pointer to return the starting ioc bus address of the area to map.iopte_flagβ-- undescribed --π thatβs literally what the page says, so no invented lore here.
π¦ DESCRIPTION π¦
okay so bestie, this is the common dma mapping routine. Thatβs the whole description the page gives us β short, sweet, and iconic π .
π SEE ALSO π
Kernel file ./arch/powerpc/platforms/ps3/mm.c and all these friends π:
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_unmap_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)
π cute little sign-off: this pageβs source/version is./arch/powerpc/platforms/ps3, and itβs datedOctober 2026. byeee bestie, go map that area πβ¨
π¦ 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