Searched refs:nslots (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | swiotlb.c | 432 unsigned int nslots, stride, index, wrap; in swiotlb_tbl_map_single() local 458 nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; in swiotlb_tbl_map_single() 464 BUG_ON(!nslots); in swiotlb_tbl_map_single() 477 while (iommu_is_span_boundary(index, nslots, offset_slots, in swiotlb_tbl_map_single() 491 if (io_tlb_list[index] >= nslots) { in swiotlb_tbl_map_single() 494 for (i = index; i < (int) (index + nslots); i++) in swiotlb_tbl_map_single() 504 io_tlb_index = ((index + nslots) < io_tlb_nslabs in swiotlb_tbl_map_single() 505 ? (index + nslots) : 0); in swiotlb_tbl_map_single() 527 for (i = 0; i < nslots; i++) in swiotlb_tbl_map_single() 555 int i, count, nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; in swiotlb_tbl_unmap_single() local [all …]
|