dma_sb_map_pages(9)
π NAME π
dma_sb_map_pages(9) β this is the Kernel API Manual page, and its whole thing is: Maps dma pages into the io controller bus address space. okay so that's the vibe π«
β¨ SYNOPSIS β¨
int dma_sb_map_pages (struct ps3_dma_region *r , unsigned long phys_addr
, unsigned long len , struct dma_chunk **c_out , u64 iopte_flag );
π ARGUMENTS π
rβ Pointer to astruct ps3_dma_region. literally a pointer, bestie π«Άphys_addrβ Starting physical address of the area to map. starting point, got it β¨lenβ Length in bytes of the area to map. Also, the original page tucks this note right here:c_out: A pointer to receive an allocated struct dma_chunk for this area.yes, it's giving chaotic formatting, but we keep it exactly πc_outβ-- undescribed --π the page really says that, so I'm not inventing anythingiopte_flagβ-- undescribed --π same situation, no cap
π¦ DESCRIPTION π¦
Okay so this is the lowest level dma mapping routine, periodt. It's the one that will make the HV call to add the pages into the io controller address space. That's the description β iconic minimalism, fr fr. π
π SEE ALSO π
bestie, if you're going down the rabbit hole, the page points you at:
- 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_region_create(9)dma_sb_map_area(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)
mwah π
source/version ./arch/powerpc/platforms/ps3, date October 2026, page dma_sb_map_pages(9) β slay and goodbye, bestie π«Ά
π¦ 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