/Linux-v4.19/include/linux/ |
D | iova.h | 75 unsigned long granule; /* pfn granularity for this domain */ member 108 return __ffs(iovad->granule); in iova_shift() 113 return iovad->granule - 1; in iova_mask() 123 return ALIGN(size, iovad->granule); in iova_align() 157 void init_iova_domain(struct iova_domain *iovad, unsigned long granule, 234 unsigned long granule, in init_iova_domain() argument
|
/Linux-v4.19/drivers/iommu/ |
D | io-pgtable.h | 32 void (*tlb_add_flush)(unsigned long iova, size_t size, size_t granule, 180 unsigned long iova, size_t size, size_t granule, bool leaf) in io_pgtable_tlb_add_flush() argument 182 iop->cfg.tlb->tlb_add_flush(iova, size, granule, leaf, iop->cookie); in io_pgtable_tlb_add_flush()
|
D | io-pgtable-arm.c | 683 unsigned long granule, page_sizes; in arm_lpae_restrict_pgsizes() local 694 granule = PAGE_SIZE; in arm_lpae_restrict_pgsizes() 696 granule = 1UL << __fls(cfg->pgsize_bitmap & ~PAGE_MASK); in arm_lpae_restrict_pgsizes() 698 granule = 1UL << __ffs(cfg->pgsize_bitmap & PAGE_MASK); in arm_lpae_restrict_pgsizes() 700 granule = 0; in arm_lpae_restrict_pgsizes() 702 switch (granule) { in arm_lpae_restrict_pgsizes() 1020 size_t granule, bool leaf, void *cookie) in dummy_tlb_add_flush() argument
|
D | iova.c | 42 init_iova_domain(struct iova_domain *iovad, unsigned long granule, in init_iova_domain() argument 50 BUG_ON((granule > PAGE_SIZE) || !is_power_of_2(granule)); in init_iova_domain() 56 iovad->granule = granule; in init_iova_domain()
|
D | dma-iommu.c | 63 return cookie->iovad.granule; in cookie_msi_granule() 152 if (cookie->type == IOMMU_DMA_IOVA_COOKIE && cookie->iovad.granule) in iommu_put_dma_cookie() 202 start += iovad->granule; in cookie_init_hw_msi_region() 301 if (1UL << order != iovad->granule || in iommu_dma_init_domain()
|
D | arm-smmu.c | 465 size_t granule, bool leaf, void *cookie) in arm_smmu_tlb_inv_range_nosync() argument 480 iova += granule; in arm_smmu_tlb_inv_range_nosync() 481 } while (size -= granule); in arm_smmu_tlb_inv_range_nosync() 487 iova += granule >> 12; in arm_smmu_tlb_inv_range_nosync() 488 } while (size -= granule); in arm_smmu_tlb_inv_range_nosync() 496 iova += granule >> 12; in arm_smmu_tlb_inv_range_nosync() 497 } while (size -= granule); in arm_smmu_tlb_inv_range_nosync() 508 size_t granule, bool leaf, void *cookie) in arm_smmu_tlb_inv_vmid_nosync() argument
|
D | qcom_iommu.c | 158 size_t granule, bool leaf, void *cookie) in qcom_iommu_tlb_inv_range_nosync() argument 173 iova += granule; in qcom_iommu_tlb_inv_range_nosync() 174 } while (s -= granule); in qcom_iommu_tlb_inv_range_nosync()
|
D | msm_iommu.c | 151 size_t granule, bool leaf, void *cookie) in __flush_iotlb_range() argument 171 iova += granule; in __flush_iotlb_range() 172 } while (temp_size -= granule); in __flush_iotlb_range()
|
D | mtk_iommu.c | 157 size_t granule, bool leaf, in mtk_iommu_tlb_add_flush_nosync() argument
|
D | arm-smmu-v3.c | 1406 size_t granule, bool leaf, void *cookie) in arm_smmu_tlb_inv_range_nosync() argument 1427 cmd.tlbi.addr += granule; in arm_smmu_tlb_inv_range_nosync() 1428 } while (size -= granule); in arm_smmu_tlb_inv_range_nosync()
|
D | ipmmu-vmsa.c | 359 size_t granule, bool leaf, void *cookie) in ipmmu_tlb_add_flush() argument
|
D | io-pgtable-arm-v7s.c | 803 size_t granule, bool leaf, void *cookie) in dummy_tlb_add_flush() argument
|
/Linux-v4.19/Documentation/ia64/ |
D | aliasing.txt | 65 identity mapping only when the entire granule supports cacheable 68 Therefore, kern_memmap contains only full granule-sized regions that 148 If the EFI memory map reports that the entire granule supports 152 If the granule contains non-WB memory, but we can cover the 180 which uses a granule-sized UC mapping. This granule will cover some 212 at 0xA0000 prevents use of a WB granule. The UC mapping causes
|
/Linux-v4.19/arch/ia64/ |
D | Kconfig.debug | 12 Select "16MB" for a small granule size. 13 Select "64MB" for a large granule size. This is the current default.
|
/Linux-v4.19/Documentation/ |
D | nommu-mmap.txt | 118 granule but will only discard the excess if appropriately configured as
|
/Linux-v4.19/arch/arm64/ |
D | Kconfig | 607 Page size (translation granule) configuration.
|