Loading include/linux/iommu-helper.h +10 −0 Original line number Diff line number Diff line static inline unsigned long iommu_device_max_index(unsigned long size, unsigned long offset, u64 dma_mask) { if (size + offset > dma_mask) return dma_mask - offset + 1; else return size; } extern int iommu_is_span_boundary(unsigned int index, unsigned int nr, unsigned long shift, unsigned long boundary_size); Loading Loading
include/linux/iommu-helper.h +10 −0 Original line number Diff line number Diff line static inline unsigned long iommu_device_max_index(unsigned long size, unsigned long offset, u64 dma_mask) { if (size + offset > dma_mask) return dma_mask - offset + 1; else return size; } extern int iommu_is_span_boundary(unsigned int index, unsigned int nr, unsigned long shift, unsigned long boundary_size); Loading