ccio_map_sg(9)
π¦ ccio_map_sg(9) π¦
okay bestie, welcome to the Kernel API Manual page for ccio_map_sg(9) β manual name folded in right here at the top like a little name tag, periodt π
β¨
πΈ NAME πΈ
ccio_map_sg β Map the scatter/gather list into the IOMMU. Thatβs the name and the one-liner, iconic behavior only π
π SYNOPSIS π
int ccio_map_sg (struct device *dev , struct scatterlist *sglist , int
nents , enum dma_data_direction direction , unsigned long attrs );
look at that signature β itβs giving full parameter-list main character energy, no cap π
π ARGUMENTS π
devβ The PCI device, aka the main character here πsglistβ The scatter/gather list to be mapped in the IOMMU, fr fr π¦nentsβ The number of entries in the scatter/gather list β¨directionβ The direction of the DMA transaction (to/from device) π₯attrsβ attributes. Thatβs literally all it says, bestie π
π DESCRIPTION π
This function implements the pci_map_sg function. Thatβs the whole description β short, iconic, and lowkey doing its job π
π₯ SEE ALSO π₯
Kernel file ./drivers/parisc/ccio-dma.c is the home base β and the whole squad is linked here:
ccio_alloc_range(9)ccio_free_range(9)ccio_io_pdir_entry(9)ccio_clear_io_tlb(9)ccio_mark_invalid(9)ccio_dma_supported(9)ccio_map_single(9)ccio_unmap_phys(9)ccio_alloc(9)ccio_free(9)ccio_unmap_sg(9)ccio_find_ioc(9)ccio_get_iommu(9)ccio_ioc_init(9)ccio_probe(9)ccio_init(9)
signing off from ./drivers/parisc, October 2026, on the ccio_map_sg(9) page β stay slay, bye 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