Lines Matching refs:pg_count
848 iommu_reserve(struct pci_iommu_arena *arena, long pg_count, long align_mask) in iommu_reserve() argument
860 p = iommu_arena_find_pages(NULL, arena, pg_count, align_mask); in iommu_reserve()
869 for (i = 0; i < pg_count; ++i) in iommu_reserve()
872 arena->next_entry = p + pg_count; in iommu_reserve()
879 iommu_release(struct pci_iommu_arena *arena, long pg_start, long pg_count) in iommu_release() argument
889 for(i = pg_start; i < pg_start + pg_count; i++) in iommu_release()
893 iommu_arena_free(arena, pg_start, pg_count); in iommu_release()
898 iommu_bind(struct pci_iommu_arena *arena, long pg_start, long pg_count, in iommu_bind() argument
911 for(j = pg_start; j < pg_start + pg_count; j++) { in iommu_bind()
918 for(i = 0, j = pg_start; i < pg_count; i++, j++) in iommu_bind()
927 iommu_unbind(struct pci_iommu_arena *arena, long pg_start, long pg_count) in iommu_unbind() argument
935 for(i = 0; i < pg_count; i++) in iommu_unbind()