Searched refs:nobjs (Results 1 – 2 of 2) sorted by relevance
94 int nobjs; member
396 if (mc->nobjs >= min) in __kvm_mmu_topup_memory_cache()414 while (mc->nobjs < mc->capacity) { in __kvm_mmu_topup_memory_cache()417 return mc->nobjs >= min ? 0 : -ENOMEM; in __kvm_mmu_topup_memory_cache()418 mc->objects[mc->nobjs++] = obj; in __kvm_mmu_topup_memory_cache()430 return mc->nobjs; in kvm_mmu_memory_cache_nr_free_objects()435 while (mc->nobjs) { in kvm_mmu_free_memory_cache()437 kmem_cache_free(mc->kmem_cache, mc->objects[--mc->nobjs]); in kvm_mmu_free_memory_cache()439 free_page((unsigned long)mc->objects[--mc->nobjs]); in kvm_mmu_free_memory_cache()452 if (WARN_ON(!mc->nobjs)) in kvm_mmu_memory_cache_alloc()455 p = mc->objects[--mc->nobjs]; in kvm_mmu_memory_cache_alloc()
Completed in 13 milliseconds