Lines Matching defs:cache
94 * @cache: MMU page cache to allocate new page tables from, or NULL.
98 * from the MMU cache if @cache is not NULL.
101 * NULL if a page table doesn't exist for @addr and !@cache.
104 static pte_t *kvm_mips_walk_pgd(pgd_t *pgd, struct kvm_mmu_memory_cache *cache,
122 if (!cache)
124 new_pmd = kvm_mmu_memory_cache_alloc(cache);
132 if (!cache)
134 new_pte = kvm_mmu_memory_cache_alloc(cache);
143 struct kvm_mmu_memory_cache *cache,
146 return kvm_mips_walk_pgd(kvm->arch.gpa_mm.pgd, cache, addr);