Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/xen/
Dswiotlb-xen.c50 static unsigned long xen_io_tlb_nslabs; variable
149 xen_io_tlb_nslabs = (64 * 1024 * 1024 >> IO_TLB_SHIFT); in xen_set_nslabs()
150 xen_io_tlb_nslabs = ALIGN(xen_io_tlb_nslabs, IO_TLB_SEGSIZE); in xen_set_nslabs()
152 xen_io_tlb_nslabs = nr_tbl; in xen_set_nslabs()
154 return xen_io_tlb_nslabs << IO_TLB_SHIFT; in xen_set_nslabs()
185 xen_io_tlb_nslabs = swiotlb_nr_tbl(); in xen_swiotlb_init()
187 bytes = xen_set_nslabs(xen_io_tlb_nslabs); in xen_swiotlb_init()
188 order = get_order(xen_io_tlb_nslabs << IO_TLB_SHIFT); in xen_swiotlb_init()
219 xen_io_tlb_nslabs = SLABS_PER_PAGE << order; in xen_swiotlb_init()
220 bytes = xen_io_tlb_nslabs << IO_TLB_SHIFT; in xen_swiotlb_init()
[all …]