Searched refs:granule (Results 1 – 7 of 7) sorted by relevance
31 unsigned long granule; /* pfn granularity for this domain */ member43 return __ffs(iovad->granule); in iova_shift()48 return iovad->granule - 1; in iova_mask()58 return ALIGN(size, iovad->granule); in iova_align()84 void init_iova_domain(struct iova_domain *iovad, unsigned long granule,
58 init_iova_domain(struct iova_domain *iovad, unsigned long granule, in init_iova_domain() argument66 BUG_ON((granule > PAGE_SIZE) || !is_power_of_2(granule)); in init_iova_domain()71 iovad->granule = granule; in init_iova_domain()
519 unsigned long granule; in arm_lpae_restrict_pgsizes() local529 granule = PAGE_SIZE; in arm_lpae_restrict_pgsizes()531 granule = 1UL << __fls(cfg->pgsize_bitmap & ~PAGE_MASK); in arm_lpae_restrict_pgsizes()533 granule = 1UL << __ffs(cfg->pgsize_bitmap & PAGE_MASK); in arm_lpae_restrict_pgsizes()535 granule = 0; in arm_lpae_restrict_pgsizes()537 switch (granule) { in arm_lpae_restrict_pgsizes()
65 identity mapping only when the entire granule supports cacheable68 Therefore, kern_memmap contains only full granule-sized regions that148 If the EFI memory map reports that the entire granule supports152 If the granule contains non-WB memory, but we can cover the180 which uses a granule-sized UC mapping. This granule will cover some212 at 0xA0000 prevents use of a WB granule. The UC mapping causes
14 Select "16MB" for a small granule size.15 Select "64MB" for a large granule size. This is the current default.
119 granule but will only discard the excess if appropriately configured as
439 Page size (translation granule) configuration.