Searched refs:unmap_idx_start (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/iommu/ |
H A D | io-pgtable-dart.c | 298 int i = 0, num_entries, max_entries, unmap_idx_start; in dart_unmap_pages() local 310 unmap_idx_start = dart_get_l2_index(data, iova); in dart_unmap_pages() 311 ptep += unmap_idx_start; in dart_unmap_pages() 313 max_entries = DART_PTES_PER_TABLE(data) - unmap_idx_start; in dart_unmap_pages()
|
H A D | io-pgtable-arm.c | 584 int i, unmap_idx_start = -1, num_entries = 0, max_entries; in arm_lpae_split_blk_unmap() local 594 unmap_idx_start = ARM_LPAE_LVL_IDX(iova, lvl, data); in arm_lpae_split_blk_unmap() 595 max_entries = ptes_per_table - unmap_idx_start; in arm_lpae_split_blk_unmap() 604 if (i >= unmap_idx_start && i < (unmap_idx_start + num_entries)) in arm_lpae_split_blk_unmap() 622 } else if (unmap_idx_start >= 0) { in arm_lpae_split_blk_unmap() 639 int i = 0, num_entries, max_entries, unmap_idx_start; in __arm_lpae_unmap() local 645 unmap_idx_start = ARM_LPAE_LVL_IDX(iova, lvl, data); in __arm_lpae_unmap() 646 ptep += unmap_idx_start; in __arm_lpae_unmap() 653 max_entries = ARM_LPAE_PTES_PER_TABLE(data) - unmap_idx_start; in __arm_lpae_unmap()
|