Searched refs:nslabs (Results 1 – 1 of 1) sorted by relevance
185 if (!io_tlb_default_mem.nslabs) in swiotlb_max_segment()187 return rounddown(io_tlb_default_mem.nslabs << IO_TLB_SHIFT, PAGE_SIZE); in swiotlb_max_segment()217 if (!mem->nslabs) { in swiotlb_print_info()223 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()276 if (!mem->nslabs || mem->late_alloc) in swiotlb_update_mem_attributes()279 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes()288 unsigned long nslabs, unsigned int flags, in swiotlb_init_io_tlb_mem() argument292 unsigned long bytes = nslabs << IO_TLB_SHIFT, i; in swiotlb_init_io_tlb_mem()294 mem->nslabs = nslabs; in swiotlb_init_io_tlb_mem()299 mem->area_nslabs = nslabs / mem->nareas; in swiotlb_init_io_tlb_mem()[all …]