Home
last modified time | relevance | path

Searched refs:io_tlb_nslabs (Results 1 – 1 of 1) sorted by relevance

/lib/
Dswiotlb.c66 static unsigned long io_tlb_nslabs; variable
99 io_tlb_nslabs = simple_strtoul(str, &str, 0); in setup_io_tlb_npages()
101 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); in setup_io_tlb_npages()
115 return io_tlb_nslabs; in swiotlb_nr_tbl()
125 size = io_tlb_nslabs << IO_TLB_SHIFT; in swiotlb_size_or_default()
141 unsigned long bytes = io_tlb_nslabs << IO_TLB_SHIFT; in swiotlb_print_info()
165 io_tlb_nslabs = nslabs; in swiotlb_init_with_tbl()
184 io_tlb_list = alloc_bootmem_pages(PAGE_ALIGN(io_tlb_nslabs * sizeof(int))); in swiotlb_init_with_tbl()
185 for (i = 0; i < io_tlb_nslabs; i++) in swiotlb_init_with_tbl()
188 io_tlb_orig_addr = alloc_bootmem_pages(PAGE_ALIGN(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_init_with_tbl()
[all …]