ccio_clear_io_tlb(9)
π ccio_clear_io_tlb(9) β like, the whole kernel API manual moment
okay so bestie, buckle up, we're in the kernel API manual and this one is specifically about ccio_clear_io_tlb π
β¨ NAME β¨
ccio_clear_io_tlb β literally just removes stale entries from the I/O TLB. that's it. that's the whole job. no cap π
π¦ SYNOPSIS π¦
void ccio_clear_io_tlb (struct ioc *ioc , dma_addr_t iovp , size_t
byte_cnt );
return type is void, so likeβ¦ she doesn't return anything, she just does, and honestly? main character energy π₯
πΈ ARGUMENTS πΈ
iocβ The I/O Controller. the whole controller, the big one, the icon πiovpβ The I/O Virtual Page. yes queen, the virtual page herself β¨byte_cntβ The requested number of bytes to be freed from the I/O Pdir. so how many bytes we're freeing, exactly, requested, no guessing π
π DESCRIPTION π
Purge invalid I/O PDIR entries from the I/O TLB. simple, clean, iconic β she's clearing out the invalid ones and keeping the vibe check passing β¨
FIXME: Can we change thebyte_cnttopages_mapped? π like, the kernel devs literally left this note in here, so we're passing it along verbatim, fr fr. we don't know, we're just the messenger π
π SEE ALSO π
Kernel file ./drivers/parisc/ccio-dma.c β go read it, iykyk π«Ά
and like, the whole friend group of functions, all of them, present and accounted for:
ccio_alloc_range(9)ccio_free_range(9)ccio_io_pdir_entry(9)ccio_mark_invalid(9)ccio_dma_supported(9)ccio_map_single(9)ccio_unmap_phys(9)ccio_alloc(9)ccio_free(9)ccio_map_sg(9)ccio_unmap_sg(9)ccio_find_ioc(9)ccio_get_iommu(9)ccio_ioc_init(9)ccio_probe(9)ccio_init(9)
okay so that's the whole page! π this little gem lives in ./drivers/parisc and is dated October 2026 β slay, mark your calendars, 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