Home
last modified time | relevance | path

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

/arch/arm/include/asm/
Dkvm_host.h80 int nobjs; member
/arch/arm/kvm/
Dmmu.c131 if (cache->nobjs >= min) in mmu_topup_memory_cache()
133 while (cache->nobjs < max) { in mmu_topup_memory_cache()
137 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache()
144 while (mc->nobjs) in mmu_free_memory_cache()
145 free_page((unsigned long)mc->objects[--mc->nobjs]); in mmu_free_memory_cache()
152 BUG_ON(!mc || !mc->nobjs); in mmu_memory_cache_alloc()
153 p = mc->objects[--mc->nobjs]; in mmu_memory_cache_alloc()
/arch/arm64/include/asm/
Dkvm_host.h78 int nobjs; member
/arch/x86/kvm/
Dmmu.c664 if (cache->nobjs >= min) in mmu_topup_memory_cache()
666 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache()
670 cache->objects[cache->nobjs++] = obj; in mmu_topup_memory_cache()
677 return cache->nobjs; in mmu_memory_cache_free_objects()
683 while (mc->nobjs) in mmu_free_memory_cache()
684 kmem_cache_free(cache, mc->objects[--mc->nobjs]); in mmu_free_memory_cache()
692 if (cache->nobjs >= min) in mmu_topup_memory_cache_page()
694 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache_page()
698 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache_page()
705 while (mc->nobjs) in mmu_free_memory_cache_page()
[all …]
/arch/x86/include/asm/
Dkvm_host.h187 int nobjs; member