Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/kvm/
Dmmu.c34 if (cache->nobjs >= min) in mmu_topup_memory_cache()
36 while (cache->nobjs < max) { in mmu_topup_memory_cache()
40 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache()
47 while (mc->nobjs) in mmu_free_memory_cache()
48 free_page((unsigned long)mc->objects[--mc->nobjs]); in mmu_free_memory_cache()
55 BUG_ON(!mc || !mc->nobjs); in mmu_memory_cache_alloc()
56 p = mc->objects[--mc->nobjs]; in mmu_memory_cache_alloc()
/Linux-v4.19/virt/kvm/arm/
Dmmu.c125 if (cache->nobjs >= min) in mmu_topup_memory_cache()
127 while (cache->nobjs < max) { in mmu_topup_memory_cache()
131 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache()
138 while (mc->nobjs) in mmu_free_memory_cache()
139 free_page((unsigned long)mc->objects[--mc->nobjs]); in mmu_free_memory_cache()
146 BUG_ON(!mc || !mc->nobjs); in mmu_memory_cache_alloc()
147 p = mc->objects[--mc->nobjs]; in mmu_memory_cache_alloc()
/Linux-v4.19/arch/arm/include/asm/
Dkvm_host.h93 int nobjs; member
/Linux-v4.19/arch/x86/kvm/
Dmmu.c930 if (cache->nobjs >= min) in mmu_topup_memory_cache()
932 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache()
936 cache->objects[cache->nobjs++] = obj; in mmu_topup_memory_cache()
943 return cache->nobjs; in mmu_memory_cache_free_objects()
949 while (mc->nobjs) in mmu_free_memory_cache()
950 kmem_cache_free(cache, mc->objects[--mc->nobjs]); in mmu_free_memory_cache()
958 if (cache->nobjs >= min) in mmu_topup_memory_cache_page()
960 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache_page()
964 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache_page()
971 while (mc->nobjs) in mmu_free_memory_cache_page()
[all …]
/Linux-v4.19/arch/arm64/include/asm/
Dkvm_host.h90 int nobjs; member
/Linux-v4.19/arch/mips/include/asm/
Dkvm_host.h303 int nobjs; member
/Linux-v4.19/arch/x86/include/asm/
Dkvm_host.h237 int nobjs; member