sba_free_range(9)
π sba_free_range(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β todayβs main character is sba_free_range, and she is literally here to unmark bits. No cap. π¦
πΈ NAME πΈ
<pink>sba_free_range</pink> β unmark bits in IO PDIR resource bitmap. Thatβs the assignment, and she ate. π
β¨ SYNOPSIS β¨
void sba_free_range (struct ioc *ioc , dma_addr_t iova , size_t size );
Itβs void, so no return value is coming back to you β just vibes and cleared bits. π«Ά
π ARGUMENTS π
iocβ the IO MMU structure which owns the pdir we are interested in. Like, this is the struct with main character energy here π.iovaβ the IO virtual address which was previously allocated. It already had its moment; now itβs in this functionβs contacts π .sizeβ the number of bytes to create a mapping for. Yes bestie, that is exactly what the page says β Iβm just relaying the lore fr fr π.
π DESCRIPTION π
Okay so the description is short and iconic: this function clears bits in the iocβs resource map. Thatβs the whole assignment. Clear bits, be gorgeous, leave. β¨
The way that this is just one tiny line of description and still manages to serve is honestly obsessed behavior. No extra plot twists are listed here β itβs giving minimal, itβs giving bitmap cleanup, itβs giving iykyk. π
π SEE ALSO π
The whole squad, the ensemble cast, the link party β every single one, exactly as listed:
- Kernel file
./drivers/parisc/sba_iommu.c sba_dump_ranges(9)sba_dump_tlb(9)sba_dump_pdir_entry(9)sba_check_pdir(9)sba_dump_sg(9)sba_search_bitmap(9)sba_alloc_range(9)sba_io_pdir_entry(9)sba_mark_invalid(9)sba_dma_supported(9)sba_map_single(9)sba_unmap_phys(9)sba_alloc(9)sba_free(9)sba_map_sg(9)sba_unmap_sg(9)sba_get_iommu(9)sba_directed_lmmio(9)sba_distributed_lmmio(9)
xoxo, your fave kernel bestie π β source/version: ./drivers/parisc, dated October 2026. Slay and read your man pages. π
π¦ 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