Searched refs:nslabs (Results 1 – 4 of 4) sorted by relevance
233 if (!mem->nslabs) { in swiotlb_print_info()239 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()263 if (!mem->nslabs || mem->late_alloc) in swiotlb_update_mem_attributes()265 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes()270 unsigned long nslabs, bool late_alloc, unsigned int nareas) in swiotlb_init_io_tlb_pool() argument273 unsigned long bytes = nslabs << IO_TLB_SHIFT, i; in swiotlb_init_io_tlb_pool()275 mem->nslabs = nslabs; in swiotlb_init_io_tlb_pool()280 mem->area_nslabs = nslabs / mem->nareas; in swiotlb_init_io_tlb_pool()288 for (i = 0; i < mem->nslabs; i++) { in swiotlb_init_io_tlb_pool()290 mem->nslabs - i); in swiotlb_init_io_tlb_pool()[all …]
40 int (*remap)(void *tlb, unsigned long nslabs));42 int (*remap)(void *tlb, unsigned long nslabs));74 unsigned long nslabs; member110 unsigned long nslabs; member
5 int xen_swiotlb_fixup(void *buf, unsigned long nslabs);
114 int xen_swiotlb_fixup(void *buf, unsigned long nslabs) in xen_swiotlb_fixup() argument123 BUG_ON(nslabs % IO_TLB_SEGSIZE); in xen_swiotlb_fixup()136 } while (i < nslabs); in xen_swiotlb_fixup()