Home
last modified time | relevance | path

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

/arch/arm/kvm/
Dmmu.c121 if (cache->nobjs >= min) in mmu_topup_memory_cache()
123 while (cache->nobjs < max) { in mmu_topup_memory_cache()
127 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache()
134 while (mc->nobjs) in mmu_free_memory_cache()
135 free_page((unsigned long)mc->objects[--mc->nobjs]); in mmu_free_memory_cache()
142 BUG_ON(!mc || !mc->nobjs); in mmu_memory_cache_alloc()
143 p = mc->objects[--mc->nobjs]; in mmu_memory_cache_alloc()
/arch/arm/include/asm/
Dkvm_host.h90 int nobjs; member
/arch/arm64/include/asm/
Dkvm_host.h85 int nobjs; member
/arch/x86/kvm/
Dmmu.c670 if (cache->nobjs >= min) in mmu_topup_memory_cache()
672 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache()
676 cache->objects[cache->nobjs++] = obj; in mmu_topup_memory_cache()
683 return cache->nobjs; in mmu_memory_cache_free_objects()
689 while (mc->nobjs) in mmu_free_memory_cache()
690 kmem_cache_free(cache, mc->objects[--mc->nobjs]); in mmu_free_memory_cache()
698 if (cache->nobjs >= min) in mmu_topup_memory_cache_page()
700 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache_page()
704 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache_page()
711 while (mc->nobjs) in mmu_free_memory_cache_page()
[all …]
/arch/x86/include/asm/
Dkvm_host.h219 int nobjs; member