Searched refs:unmap_idx_start (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/iommu/ |
D | io-pgtable-arm.c | 557 int i, unmap_idx_start = -1, num_entries = 0, max_entries; in arm_lpae_split_blk_unmap() local 567 unmap_idx_start = ARM_LPAE_LVL_IDX(iova, lvl, data); in arm_lpae_split_blk_unmap() 568 max_entries = ptes_per_table - unmap_idx_start; in arm_lpae_split_blk_unmap() 577 if (i >= unmap_idx_start && i < (unmap_idx_start + num_entries)) in arm_lpae_split_blk_unmap() 595 } else if (unmap_idx_start >= 0) { in arm_lpae_split_blk_unmap() 612 int i = 0, num_entries, max_entries, unmap_idx_start; in __arm_lpae_unmap() local 618 unmap_idx_start = ARM_LPAE_LVL_IDX(iova, lvl, data); in __arm_lpae_unmap() 619 ptep += unmap_idx_start; in __arm_lpae_unmap() 626 max_entries = ARM_LPAE_PTES_PER_TABLE(data) - unmap_idx_start; in __arm_lpae_unmap()
|
D | io-pgtable-dart.c | 304 int i = 0, num_entries, max_entries, unmap_idx_start; in dart_unmap_pages() local 316 unmap_idx_start = dart_get_l2_index(data, iova); in dart_unmap_pages() 317 ptep += unmap_idx_start; in dart_unmap_pages() 319 max_entries = DART_PTES_PER_TABLE(data) - unmap_idx_start; in dart_unmap_pages()
|