Searched refs:nslabs (Results 1 – 4 of 4) sorted by relevance
230 if (!mem->nslabs) { in swiotlb_print_info()236 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()260 if (!mem->nslabs || mem->late_alloc) in swiotlb_update_mem_attributes()262 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes()267 unsigned long nslabs, bool late_alloc, unsigned int nareas) in swiotlb_init_io_tlb_pool() argument270 unsigned long bytes = nslabs << IO_TLB_SHIFT, i; in swiotlb_init_io_tlb_pool()272 mem->nslabs = nslabs; in swiotlb_init_io_tlb_pool()277 mem->area_nslabs = nslabs / mem->nareas; in swiotlb_init_io_tlb_pool()285 for (i = 0; i < mem->nslabs; i++) { in swiotlb_init_io_tlb_pool()287 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));92 unsigned long nslabs; member126 unsigned long nslabs; member
5 int xen_swiotlb_fixup(void *buf, unsigned long nslabs);
107 int xen_swiotlb_fixup(void *buf, unsigned long nslabs) in xen_swiotlb_fixup() argument116 BUG_ON(nslabs % IO_TLB_SEGSIZE); in xen_swiotlb_fixup()129 } while (i < nslabs); in xen_swiotlb_fixup()