default_swiotlb_limit(9)
π default_swiotlb_limit(9) π
okay so this page is from the Kernel API Manual, and the function in question is default_swiotlb_limit. She's lowkey tiny, but she's here to spill one very specific address tea. π
π NAME π
default_swiotlb_limit β get the address limit of the default SWIOTLB.
β¨ SYNOPSIS β¨
phys_addr_t default_swiotlb_limit (void );
It returns a phys_addr_t, bestie. That's the type. π«Ά
π ARGUMENTS π
voidβ no arguments. literally none. not a single one. π
πΈ DESCRIPTION πΈ
So here's the vibe: this function gets the highest physical address used by the default software IO TLB pool. That's it. That's the whole errand. β¨
No extra lore, no plot twist β just the highest physical address of the default software IO TLB pool, served fresh. π
π SEE ALSO π
if you're in your research era, go peek at these:
- Kernel file
./kernel/dma/swiotlb.c struct io_tlb_slot(9)struct io_tlb_area(9)swiotlb_adjust_nareas(9)limit_nareas(9)add_mem_pool(9)alloc_dma_pages(9)swiotlb_alloc_tlb(9)swiotlb_free_tlb(9)swiotlb_alloc_pool(9)swiotlb_dyn_alloc(9)__swiotlb_find_pool(9)swiotlb_del_pool(9)swiotlb_dev_init(9)swiotlb_align_offset(9)swiotlb_search_pool_area(9)swiotlb_search_area(9)swiotlb_find_slots(9)mem_pool_used(9)mem_used(9)swiotlb_tbl_map_single(9)swiotlb_del_transient(9)is_swiotlb_allocated(9)default_swiotlb_base(9)
mwah π β source/version was ./kernel/dma, dated October 2026, and this whole cute little page is default_swiotlb_limit(9). periodt. π¦
π¦ 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