Home
last modified time | relevance | path

Searched refs:use_2m_update (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/kvm/svm/
H A Dsev.c4889 bool use_2m_update = false; in sev_gmem_invalidate() local
4897 use_2m_update = IS_ALIGNED(pfn, PTRS_PER_PMD) && in sev_gmem_invalidate()
4906 if (!use_2m_update && rmp_level > PG_LEVEL_4K) { in sev_gmem_invalidate()
4917 rc = rmp_make_shared(pfn, use_2m_update ? PG_LEVEL_2M : PG_LEVEL_4K); in sev_gmem_invalidate()
4935 use_2m_update ? PMD_SIZE : PAGE_SIZE); in sev_gmem_invalidate()
4937 pfn += use_2m_update ? PTRS_PER_PMD : 1; in sev_gmem_invalidate()