Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/kvm/
De500_mmu_host.c335 unsigned long tsize_pages = 0; in kvmppc_e500_shadow_map() local
407 tsize_pages = 1UL << (tsize - 2); in kvmppc_e500_shadow_map()
409 gfn_start = gfn & ~(tsize_pages - 1); in kvmppc_e500_shadow_map()
410 gfn_end = gfn_start + tsize_pages; in kvmppc_e500_shadow_map()
416 if ((gfn & (tsize_pages - 1)) != in kvmppc_e500_shadow_map()
417 (pfn & (tsize_pages - 1))) in kvmppc_e500_shadow_map()
420 gvaddr &= ~((tsize_pages << PAGE_SHIFT) - 1); in kvmppc_e500_shadow_map()
421 pfn &= ~(tsize_pages - 1); in kvmppc_e500_shadow_map()
448 tsize_pages = 1UL << (tsize + 10 - PAGE_SHIFT); in kvmppc_e500_shadow_map()
458 pfn &= ~(tsize_pages - 1); in kvmppc_e500_shadow_map()
[all …]