Searched refs:nslabs (Results 1 – 6 of 6) sorted by relevance
161 if (!io_tlb_default_mem.nslabs) in swiotlb_max_segment()163 return rounddown(io_tlb_default_mem.nslabs << IO_TLB_SHIFT, PAGE_SIZE); in swiotlb_max_segment()193 if (!mem->nslabs) { in swiotlb_print_info()199 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()252 if (!mem->nslabs || mem->late_alloc) in swiotlb_update_mem_attributes()255 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes()264 unsigned long nslabs, unsigned int flags, in swiotlb_init_io_tlb_mem() argument268 unsigned long bytes = nslabs << IO_TLB_SHIFT, i; in swiotlb_init_io_tlb_mem()270 mem->nslabs = nslabs; in swiotlb_init_io_tlb_mem()275 mem->area_nslabs = nslabs / mem->nareas; in swiotlb_init_io_tlb_mem()[all …]
39 int (*remap)(void *tlb, unsigned long nslabs));41 int (*remap)(void *tlb, unsigned long nslabs));95 unsigned long nslabs; member
11 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()
128 if (!io_tlb_default_mem.nslabs) { in xen_mm_init()
93 if (!io_tlb_default_mem.nslabs) { in pci_xen_swiotlb_init_late()