Home
last modified time | relevance | path

Searched refs:next_bit (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/
Damd_gart_64.c91 static unsigned long next_bit; /* protected by iommu_bitmap_lock */ variable
107 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()
/arch/s390/pci/
Dpci_dma.c237 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()
/arch/s390/include/asm/
Dpci.h103 unsigned int next_bit; member