Searched refs:nobjs (Results 1 – 5 of 5) sorted by relevance
80 int nobjs; member
131 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()
78 int nobjs; member
664 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 …]
187 int nobjs; member