Searched refs:next_bit (Results 1 – 3 of 3) sorted by relevance
91 static unsigned long next_bit; /* protected by iommu_bitmap_lock */ variable107 offset = iommu_area_alloc(iommu_gart_bitmap, iommu_pages, next_bit, in alloc_iommu()116 next_bit = offset+size; in alloc_iommu()117 if (next_bit >= iommu_pages) { in alloc_iommu()118 next_bit = 0; in alloc_iommu()135 if (offset >= next_bit) in free_iommu()136 next_bit = offset + size; in free_iommu()
237 offset = __dma_alloc_iommu(zdev, zdev->next_bit, size); in dma_alloc_iommu()245 zdev->next_bit = offset + size; in dma_alloc_iommu()266 if (!s390_iommu_strict && offset >= zdev->next_bit) in dma_free_iommu()267 zdev->next_bit = offset + size; in dma_free_iommu()511 zdev->next_bit = 0; in zpci_dma_exit_device()
103 unsigned int next_bit; member