Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/pseries/
A Dsvm.c48 unsigned long bytes, io_tlb_nslabs; in svm_swiotlb_init() local
50 io_tlb_nslabs = (swiotlb_size_or_default() >> IO_TLB_SHIFT); in svm_swiotlb_init()
51 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); in svm_swiotlb_init()
53 bytes = io_tlb_nslabs << IO_TLB_SHIFT; in svm_swiotlb_init()
56 if (vstart && !swiotlb_init_with_tbl(vstart, io_tlb_nslabs, false)) in svm_swiotlb_init()
60 memblock_free(vstart, PAGE_ALIGN(io_tlb_nslabs << IO_TLB_SHIFT)); in svm_swiotlb_init()

Completed in 2 milliseconds