Lines Matching refs:nobjs
270 if (cache->nobjs >= min) in mmu_topup_memory_cache()
272 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache()
276 cache->objects[cache->nobjs++] = obj; in mmu_topup_memory_cache()
283 while (mc->nobjs) in mmu_free_memory_cache()
284 kfree(mc->objects[--mc->nobjs]); in mmu_free_memory_cache()
292 if (cache->nobjs >= min) in mmu_topup_memory_cache_page()
294 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache_page()
299 cache->objects[cache->nobjs++] = page_address(page); in mmu_topup_memory_cache_page()
306 while (mc->nobjs) in mmu_free_memory_cache_page()
307 free_page((unsigned long)mc->objects[--mc->nobjs]); in mmu_free_memory_cache_page()
344 BUG_ON(!mc->nobjs); in mmu_memory_cache_alloc()
345 p = mc->objects[--mc->nobjs]; in mmu_memory_cache_alloc()