Lines Matching defs:nslots
375 unsigned int nslots, stride, index, wrap;
398 nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT;
404 BUG_ON(!nslots);
417 while (iommu_is_span_boundary(index, nslots, offset_slots,
427 * If we find a slot that indicates we have 'nslots' number of
431 if (io_tlb_list[index] >= nslots) {
434 for (i = index; i < (int) (index + nslots); i++)
444 io_tlb_index = ((index + nslots) < io_tlb_nslabs
445 ? (index + nslots) : 0);
465 for (i = 0; i < nslots; i++)
495 int i, count, nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT;
513 count = ((index + nslots) < ALIGN(index + 1, IO_TLB_SEGSIZE) ?
514 io_tlb_list[index + nslots] : 0);
519 for (i = index + nslots - 1; i >= index; i--)