swiotlb_adjust_nareas(9)
π swiotlb_adjust_nareas(9) π
okay so this is a page from the Kernel API Manual, bestie β sit down, hydrate, and let's talk about tweaking the vibes of your memory pool π§
β¨ NAME β¨
swiotlb_adjust_nareas β adjust the number of areas and slots π
πΈ SYNOPSIS πΈ
void swiotlb_adjust_nareas (unsigned int nareas );
π ARGUMENTS π
nareasβ the desired number of areas, queen. and listen: zero is treated as 1. so don't come in here with a 0 and expect 0 areas, that's not the timeline we're on π
π¦ DESCRIPTION π¦
So this function adjusts the default number of areas in a memory pool. that's the whole main-character move π«
and because the universe loves consequences: the default size of the memory pool may also change to meet minimum area size requirements. so it's giving "we're adjusting one thing but the pool might shift too" β no cap, that's literally in the spec π
π₯ SEE ALSO π₯
- Kernel file
./kernel/dma/swiotlb.c struct io_tlb_slot(9)struct io_tlb_area(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)default_swiotlb_limit(9)
okay that's the whole scroll π«Ά and for the sign-off: this one lives in the source directory ./kernel/dma, version vibe October 2026, and it's filed under swiotlb_adjust_nareas(9) β stan. 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