arm_iommu_sync_sg_for_cpu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 valid struct device pointer. Valid device pointer energy only πŸ¦‹.
  • sg β€” list of buffers. It's giving scatterlist buffet, no cap 😭.
  • nents β€” number of buffers to map (returned from dma_map_sg). Keep that parenthetical, iykyk πŸ’–.
  • dir β€” DMA transfer direction (same as was passed to dma_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:


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