Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/xen/ !
Dswiotlb-xen.c50 static unsigned long xen_io_tlb_nslabs; variable
158 xen_io_tlb_nslabs = nr_tbl; in xen_swiotlb_init()
160 xen_io_tlb_nslabs = (64 * 1024 * 1024 >> IO_TLB_SHIFT); in xen_swiotlb_init()
161 xen_io_tlb_nslabs = ALIGN(xen_io_tlb_nslabs, IO_TLB_SEGSIZE); in xen_swiotlb_init()
164 bytes = xen_io_tlb_nslabs << IO_TLB_SHIFT; in xen_swiotlb_init()
180 xen_io_tlb_nslabs); in xen_swiotlb_init()
190 swiotlb_init_with_tbl(xen_io_tlb_start, xen_io_tlb_nslabs, verbose); in xen_swiotlb_init()
195 xen_io_tlb_nslabs = max(1024UL, /* Min is 2MB */ in xen_swiotlb_init()
196 (xen_io_tlb_nslabs >> 1)); in xen_swiotlb_init()
198 (xen_io_tlb_nslabs << IO_TLB_SHIFT) >> 20); in xen_swiotlb_init()