arm_iommu_sync_sg_for_cpu(9)
π NAME π
Bestie, welcome to the arm_iommu_sync_sg_for_cpu(9) page from the Kernel API Manual β¨. The NAME section is arm_iommu_sync_sg_for_cpu β and the description after the dash is literally blank. No extra lore here, periodt π«Ά.
πΈ SYNOPSIS πΈ
void arm_iommu_sync_sg_for_cpu (struct device *dev , struct scatterlist
*sg , int nents , enum dma_data_direction dir );
The synopsis says void, so no return value is showing up here, bestie π
.
π ARGUMENTS π
devβ a validstruct devicepointer. Valid device pointer energy only π¦.sgβ list of buffers. It's giving scatterlist buffet, no cap π.nentsβ number of buffers to map (returned fromdma_map_sg). Keep that parenthetical, iykyk π.dirβ DMA transfer direction (same as was passed todma_map_sg). Same direction, no plot twist π .
π SEE ALSO π
The kernel file in question is ./arch/arm/mm/dma-mapping.c, and these are the linked besties:
arm_iommu_map_sg(9)arm_iommu_unmap_sg(9)arm_iommu_sync_sg_for_device(9)arm_iommu_map_phys(9)arm_iommu_create_mapping(9)arm_iommu_attach_device(9)arm_iommu_detach_device(9)
Cute little sign-off, bestie: source/version is ./arch/arm/mm, date is October 2026 ππ. That's the footer, and we ate πβ¨.
π¦ 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