Lines Matching refs:granule
69 u64 granule = kvm_granule_size(level); in kvm_block_mapping_supported() local
74 if (granule > (end - addr)) in kvm_block_mapping_supported()
77 if (kvm_phys_is_valid(phys) && !IS_ALIGNED(phys, granule)) in kvm_block_mapping_supported()
80 return IS_ALIGNED(addr, granule); in kvm_block_mapping_supported()
390 u64 granule = kvm_granule_size(level), phys = data->phys; in hyp_map_walker_try_leaf() local
395 data->phys += granule; in hyp_map_walker_try_leaf()
463 u64 granule = kvm_granule_size(level); in hyp_unmap_walker() local
480 if (end - addr < granule) in hyp_unmap_walker()
486 data->unmapped += granule; in hyp_unmap_walker()
725 u64 granule = kvm_granule_size(level), phys = data->phys; in stage2_map_walker_try_leaf() local
753 granule); in stage2_map_walker_try_leaf()
756 mm_ops->icache_inval_pou(kvm_pte_follow(new, mm_ops), granule); in stage2_map_walker_try_leaf()
762 data->phys += granule; in stage2_map_walker_try_leaf()