Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/xen/
Dswiotlb-xen.c59 static unsigned long xen_io_tlb_nslabs; variable
176 xen_io_tlb_nslabs = (64 * 1024 * 1024 >> IO_TLB_SHIFT); in xen_set_nslabs()
177 xen_io_tlb_nslabs = ALIGN(xen_io_tlb_nslabs, IO_TLB_SEGSIZE); in xen_set_nslabs()
179 xen_io_tlb_nslabs = nr_tbl; in xen_set_nslabs()
181 return xen_io_tlb_nslabs << IO_TLB_SHIFT; in xen_set_nslabs()
212 xen_io_tlb_nslabs = swiotlb_nr_tbl(); in xen_swiotlb_init()
214 bytes = xen_set_nslabs(xen_io_tlb_nslabs); in xen_swiotlb_init()
215 order = get_order(xen_io_tlb_nslabs << IO_TLB_SHIFT); in xen_swiotlb_init()
233 xen_io_tlb_nslabs = SLABS_PER_PAGE << order; in xen_swiotlb_init()
234 bytes = xen_io_tlb_nslabs << IO_TLB_SHIFT; in xen_swiotlb_init()
[all …]